public class AgentSocketChannel extends SocketChannel
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
AGENT_FORWARDING_CHANNEL |
socket
connection, 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, onChannelExtData
addEventListener, close, finalizeClose, getLocalChannelId, getLocalPacketSize, getLocalWindow, getName, getRemoteChannelId, getRemotePacketSize, getRemoteWindow, getState, init, init, isClosed, isLocalEOF, isOpen, isRemoteEOF, open, processChannelData, processChannelData, remoteClose, sendChannelData, sendChannelExtData, setLocalEOF, setName, setRemoteEOF
public static final java.lang.String AGENT_FORWARDING_CHANNEL
public AgentSocketChannel(boolean isForwarding)
isForwarding
- public java.lang.String getChannelType()
getChannelType
in class Channel
protected void onChannelRequest(java.lang.String requestType, boolean wantReply, byte[] requestData) throws java.io.IOException
onChannelRequest
in class Channel
java.io.IOException
protected int getMaximumPacketSize()
getMaximumPacketSize
in class Channel
public byte[] getChannelOpenData()
getChannelOpenData
in class Channel
protected int getMinimumWindowSpace()
getMinimumWindowSpace
in class Channel
protected void onChannelOpen() throws InvalidChannelException
onChannelOpen
in class SocketChannel
InvalidChannelException
- DOCUMENT
ME!InvalidChannelException
protected int getMaximumWindowSpace()
getMaximumWindowSpace
in class Channel
public byte[] getChannelConfirmationData()
getChannelConfirmationData
in class Channel
Copyright © 2002-2003 Lee David Painter & Contributors. All Rights Reserved.