com.maverick.sshd
Class PublicKeySubsystem

java.lang.Object
  extended by com.maverick.sshd.Subsystem
      extended by com.maverick.sshd.PublicKeySubsystem

public class PublicKeySubsystem
extends Subsystem


Field Summary
 
Fields inherited from class com.maverick.sshd.Subsystem
context, session
 
Constructor Summary
PublicKeySubsystem()
           
 
Method Summary
protected  void init(SessionChannel session, SshContext context)
          Initialize the subsystem with the current session and configuration.
protected  void onMessageReceived(byte[] msg)
          Called when a subsystem message has been extracted from the incoming data stream.
protected  void onSubsystemFree()
          Called to free the subsystem and its resources.
 
Methods inherited from class com.maverick.sshd.Subsystem
processMessage, sendMessage
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PublicKeySubsystem

public PublicKeySubsystem()
Method Detail

init

protected void init(SessionChannel session,
                    SshContext context)
             throws IOException
Description copied from class: Subsystem
Initialize the subsystem with the current session and configuration.

Overrides:
init in class Subsystem
Throws:
IOException

onSubsystemFree

protected void onSubsystemFree()
Called to free the subsystem and its resources.

Specified by:
onSubsystemFree in class Subsystem

onMessageReceived

protected void onMessageReceived(byte[] msg)
                          throws IOException
Description copied from class: Subsystem
Called when a subsystem message has been extracted from the incoming data stream.

Specified by:
onMessageReceived in class Subsystem
Throws:
IOException


Copyright © 2012. All Rights Reserved.