org.apache.sshd.client.session
Class TcpipForwardSupport.ChannelForwardedTcpip
java.lang.Object
org.apache.sshd.common.channel.AbstractChannel
org.apache.sshd.client.channel.AbstractClientChannel
org.apache.sshd.client.session.TcpipForwardSupport.ChannelForwardedTcpip
- All Implemented Interfaces:
- ClientChannel, Channel
- Enclosing class:
- TcpipForwardSupport
public static class TcpipForwardSupport.ChannelForwardedTcpip
- extends AbstractClientChannel
| Fields inherited from class org.apache.sshd.common.channel.AbstractChannel |
closeFuture, closing, DEFAULT_PACKET_SIZE, DEFAULT_WINDOW_SIZE, eof, id, localWindow, lock, log, recipient, remoteWindow, session |
| Fields inherited from interface org.apache.sshd.ClientChannel |
CHANNEL_EXEC, CHANNEL_SHELL, CHANNEL_SUBSYSTEM, CLOSED, EOF, EXIT_SIGNAL, EXIT_STATUS, OPENED, STDERR_DATA, STDOUT_DATA, TIMEOUT |
| Methods inherited from class org.apache.sshd.client.channel.AbstractClientChannel |
close, doWriteExtendedData, getErr, getExitStatus, getIn, getOut, handleOpenFailure, handleOpenSuccess, handleRequest, internalOpen, open, setErr, setIn, setOut, waitFor |
| Methods inherited from class org.apache.sshd.common.channel.AbstractChannel |
configureWindow, getId, getLocalWindow, getRecipient, getSession, handleClose, handleData, handleExtendedData, handleFailure, handleWindowAdjust, init, sendEof, sendWindowAdjust |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TcpipForwardSupport.ChannelForwardedTcpip
public TcpipForwardSupport.ChannelForwardedTcpip(org.apache.mina.core.session.IoSession serverSession,
SshdSocketAddress remote)
getOpenFuture
public OpenFuture getOpenFuture()
open
public OpenFuture open()
throws java.lang.Exception
- Throws:
java.lang.Exception
doOpen
protected void doOpen()
throws java.lang.Exception
- Specified by:
doOpen in class AbstractClientChannel
- Throws:
java.lang.Exception
doClose
protected void doClose()
- Overrides:
doClose in class AbstractClientChannel
doWriteData
protected void doWriteData(byte[] data,
int off,
int len)
throws java.io.IOException
- Overrides:
doWriteData in class AbstractClientChannel
- Throws:
java.io.IOException
handleEof
public void handleEof()
throws java.io.IOException
- Specified by:
handleEof in interface Channel- Overrides:
handleEof in class AbstractChannel
- Throws:
java.io.IOException
Copyright © 2008-2012 The Apache Software Foundation. All Rights Reserved.