Package com.sshtools.common.publickey
Class PublicKeySubsystemServer
java.lang.Object
com.sshtools.common.ssh.Subsystem
com.sshtools.common.publickey.PublicKeySubsystemServer
-
Field Summary
FieldsFields inherited from class com.sshtools.common.ssh.Subsystem
context, session, SUBSYSTEM_INCOMING, SUBSYSTEM_OUTGOING -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidprotected voidonMessageReceived(byte[] msg) Called when a subsystem message has been extracted from the incoming data stream.protected voidThe subsystem has been closed and all resources should be freed.Methods inherited from class com.sshtools.common.ssh.Subsystem
cleanup, executeOperation, free, getConnection, getContext, getSession, init, onFreeMessage, parseMessage, processMessage, sendMessage
-
Field Details
-
SUBSYSTEM_NAME
- See Also:
-
-
Constructor Details
-
PublicKeySubsystemServer
public PublicKeySubsystemServer()
-
-
Method Details
-
onSubsystemFree
protected void onSubsystemFree()Description copied from class:SubsystemThe subsystem has been closed and all resources should be freed.- Specified by:
onSubsystemFreein classSubsystem
-
onMessageReceived
Description copied from class:SubsystemCalled when a subsystem message has been extracted from the incoming data stream.- Specified by:
onMessageReceivedin classSubsystem- Throws:
IOException
-
cleanupSubsystem
protected void cleanupSubsystem()- Specified by:
cleanupSubsystemin classSubsystem
-