public abstract class SubsystemChannel extends Channel
| Modifier and Type | Field and Description |
|---|---|
protected SubsystemMessageStore |
messageStore |
connection, localChannelId, localPacketSize, localWindow, remoteChannelId, remotePacketSize, remoteWindow, state| Constructor and Description |
|---|
SubsystemChannel(java.lang.String name) |
SubsystemChannel(java.lang.String name,
SubsystemMessageStore messageStore) |
| Modifier and Type | Method and Description |
|---|---|
byte[] |
getChannelConfirmationData() |
byte[] |
getChannelOpenData() |
java.lang.String |
getChannelType() |
protected void |
onChannelClose() |
protected void |
onChannelData(SshMsgChannelData msg) |
protected void |
onChannelEOF() |
protected void |
onChannelExtData(SshMsgChannelExtendedData msg) |
protected void |
onChannelOpen() |
protected void |
onChannelRequest(java.lang.String requestType,
boolean wantReply,
byte[] requestData) |
protected void |
sendMessage(SubsystemMessage msg) |
boolean |
startSubsystem() |
addEventListener, close, finalizeClose, getLocalChannelId, getLocalPacketSize, getLocalWindow, getMaximumPacketSize, getMaximumWindowSpace, getMinimumWindowSpace, getName, getRemoteChannelId, getRemotePacketSize, getRemoteWindow, getState, init, init, isClosed, isLocalEOF, isOpen, isRemoteEOF, open, processChannelData, processChannelData, remoteClose, sendChannelData, sendChannelExtData, setLocalEOF, setName, setRemoteEOFprotected SubsystemMessageStore messageStore
public SubsystemChannel(java.lang.String name)
public SubsystemChannel(java.lang.String name,
SubsystemMessageStore messageStore)
public java.lang.String getChannelType()
getChannelType in class Channelprotected void sendMessage(SubsystemMessage msg) throws InvalidMessageException, java.io.IOException
InvalidMessageExceptionjava.io.IOExceptionprotected void onChannelRequest(java.lang.String requestType,
boolean wantReply,
byte[] requestData)
throws java.io.IOException
onChannelRequest in class Channeljava.io.IOExceptionprotected void onChannelExtData(SshMsgChannelExtendedData msg) throws java.io.IOException
onChannelExtData in class Channeljava.io.IOExceptionprotected void onChannelData(SshMsgChannelData msg) throws java.io.IOException
onChannelData in class Channeljava.io.IOExceptionprotected void onChannelEOF()
throws java.io.IOException
onChannelEOF in class Channeljava.io.IOExceptionprotected void onChannelClose()
throws java.io.IOException
onChannelClose in class Channeljava.io.IOExceptionpublic byte[] getChannelOpenData()
getChannelOpenData in class Channelprotected void onChannelOpen()
throws java.io.IOException
onChannelOpen in class Channeljava.io.IOExceptionpublic boolean startSubsystem()
throws java.io.IOException
java.io.IOExceptionpublic byte[] getChannelConfirmationData()
getChannelConfirmationData in class ChannelCopyright © 2002-2003 Lee David Painter & Contributors. All Rights Reserved.