public class AgentSocketChannel extends SocketChannel
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
AGENT_FORWARDING_CHANNEL |
socketconnection, localChannelId, localPacketSize, localWindow, remoteChannelId, remotePacketSize, remoteWindow, state| Constructor and Description |
|---|
AgentSocketChannel(boolean isForwarding)
Creates a new AgentSocketChannel object.
|
| Modifier and Type | Method and Description |
|---|---|
byte[] |
getChannelConfirmationData() |
byte[] |
getChannelOpenData() |
java.lang.String |
getChannelType() |
protected int |
getMaximumPacketSize() |
protected int |
getMaximumWindowSpace() |
protected int |
getMinimumWindowSpace() |
protected void |
onChannelOpen() |
protected void |
onChannelRequest(java.lang.String requestType,
boolean wantReply,
byte[] requestData) |
bindSocket, onChannelClose, onChannelData, onChannelEOF, onChannelExtDataaddEventListener, close, finalizeClose, getLocalChannelId, getLocalPacketSize, getLocalWindow, getName, getRemoteChannelId, getRemotePacketSize, getRemoteWindow, getState, init, init, isClosed, isLocalEOF, isOpen, isRemoteEOF, open, processChannelData, processChannelData, remoteClose, sendChannelData, sendChannelExtData, setLocalEOF, setName, setRemoteEOFpublic static final java.lang.String AGENT_FORWARDING_CHANNEL
public AgentSocketChannel(boolean isForwarding)
isForwarding - public java.lang.String getChannelType()
getChannelType in class Channelprotected void onChannelRequest(java.lang.String requestType,
boolean wantReply,
byte[] requestData)
throws java.io.IOException
onChannelRequest in class Channeljava.io.IOExceptionprotected int getMaximumPacketSize()
getMaximumPacketSize in class Channelpublic byte[] getChannelOpenData()
getChannelOpenData in class Channelprotected int getMinimumWindowSpace()
getMinimumWindowSpace in class Channelprotected void onChannelOpen()
throws InvalidChannelException
onChannelOpen in class SocketChannelInvalidChannelException - DOCUMENT
ME!InvalidChannelExceptionprotected int getMaximumWindowSpace()
getMaximumWindowSpace in class Channelpublic byte[] getChannelConfirmationData()
getChannelConfirmationData in class ChannelCopyright © 2002-2003 Lee David Painter & Contributors. All Rights Reserved.