| java.lang.Object com.sshtools.j2ssh.connection.Channel
All known Subclasses: com.sshtools.j2ssh.subsystem.SubsystemChannel, com.sshtools.j2ssh.connection.SocketChannel, com.sshtools.j2ssh.connection.IOChannel, com.sshtools.j2ssh.connection.BindingChannel,
Channel | abstract public class Channel (Code) | | author: $author$ version: $Revision: 1.74 $ |
Constructor Summary | |
public | Channel() Creates a new Channel object. |
Method Summary | |
public void | addEventListener(ChannelEventListener eventListener) | public void | close() | protected void | finalizeClose() | abstract public byte[] | getChannelConfirmationData() | abstract public byte[] | getChannelOpenData() | abstract public String | getChannelType() | public long | getLocalChannelId() | public long | getLocalPacketSize() | public ChannelDataWindow | getLocalWindow() | abstract protected int | getMaximumPacketSize() | abstract protected int | getMaximumWindowSpace() | abstract protected int | getMinimumWindowSpace() | public String | getName() | public long | getRemoteChannelId() | public long | getRemotePacketSize() | public ChannelDataWindow | getRemoteWindow() | public ChannelState | getState() | protected void | init(ConnectionProtocol connection, long localChannelId, long senderChannelId, long initialWindowSize, long maximumPacketSize) | protected void | init(ConnectionProtocol connection, long localChannelId, long senderChannelId, long initialWindowSize, long maximumPacketSize, ChannelEventListener eventListener) | public boolean | isClosed() | public boolean | isLocalEOF() | public boolean | isOpen() | public boolean | isRemoteEOF() | abstract protected void | onChannelClose() | abstract protected void | onChannelData(SshMsgChannelData msg) | abstract protected void | onChannelEOF() | abstract protected void | onChannelExtData(SshMsgChannelExtendedData msg) | abstract protected void | onChannelOpen() | abstract protected void | onChannelRequest(String requestType, boolean wantReply, byte[] requestData) | protected void | open() | protected void | processChannelData(SshMsgChannelData msg) | protected void | processChannelData(SshMsgChannelExtendedData msg) | protected void | remoteClose() | protected void | sendChannelData(byte[] data) | protected void | sendChannelExtData(int type, byte[] data) | public void | setLocalEOF() | public void | setName(String name) | protected void | setRemoteEOF() |
localChannelId | protected long localChannelId(Code) | | |
localPacketSize | protected long localPacketSize(Code) | | |
remoteChannelId | protected long remoteChannelId(Code) | | |
remotePacketSize | protected long remotePacketSize(Code) | | |
Channel | public Channel()(Code) | | Creates a new Channel object.
|
getChannelConfirmationData | abstract public byte[] getChannelConfirmationData()(Code) | | |
getChannelOpenData | abstract public byte[] getChannelOpenData()(Code) | | |
getLocalChannelId | public long getLocalChannelId()(Code) | | |
getLocalPacketSize | public long getLocalPacketSize()(Code) | | |
getMaximumPacketSize | abstract protected int getMaximumPacketSize()(Code) | | |
getMaximumWindowSpace | abstract protected int getMaximumWindowSpace()(Code) | | |
getMinimumWindowSpace | abstract protected int getMinimumWindowSpace()(Code) | | |
getRemoteChannelId | public long getRemoteChannelId()(Code) | | |
getRemotePacketSize | public long getRemotePacketSize()(Code) | | |
init | protected void init(ConnectionProtocol connection, long localChannelId, long senderChannelId, long initialWindowSize, long maximumPacketSize) throws IOException(Code) | | Parameters: connection - Parameters: localChannelId - Parameters: senderChannelId - Parameters: initialWindowSize - Parameters: maximumPacketSize - throws: IOException - |
init | protected void init(ConnectionProtocol connection, long localChannelId, long senderChannelId, long initialWindowSize, long maximumPacketSize, ChannelEventListener eventListener) throws IOException(Code) | | Parameters: connection - Parameters: localChannelId - Parameters: senderChannelId - Parameters: initialWindowSize - Parameters: maximumPacketSize - Parameters: eventListener - throws: IOException - |
isClosed | public boolean isClosed()(Code) | | |
isLocalEOF | public boolean isLocalEOF()(Code) | | |
isOpen | public boolean isOpen()(Code) | | |
isRemoteEOF | public boolean isRemoteEOF()(Code) | | |
onChannelRequest | abstract protected void onChannelRequest(String requestType, boolean wantReply, byte[] requestData) throws IOException(Code) | | Parameters: requestType - Parameters: wantReply - Parameters: requestData - throws: IOException - |
sendChannelExtData | protected void sendChannelExtData(int type, byte[] data) throws IOException(Code) | | Parameters: type - Parameters: data - throws: IOException - |
setName | public void setName(String name)(Code) | | Parameters: name - |
|
|