| Prev Class | Next Class | Frames | No Frames |
| Summary: Nested | Field | Method | Constr | Detail: Nested | Field | Method | Constr |
java.lang.Objectcom.sshtools.j2ssh.transport.Servicecom.sshtools.j2ssh.transport.AsyncServicecom.sshtools.daemon.authentication.AuthenticationProtocolServerpublic class AuthenticationProtocolServerextends AsyncServiceField Summary |
Fields inherited from class com.sshtools.j2ssh.transport.AsyncService | |
thread | |
Fields inherited from class com.sshtools.j2ssh.transport.Service | |
ACCEPTING_SERVICE, REQUESTING_SERVICE, messageStore, startMode, state, transport | |
Constructor Summary | |
| |
Method Summary | |
void |
|
protected int[] | |
TransportProtocolState | |
byte[] | |
protected void | |
protected void | |
protected void |
|
protected void | |
protected void |
|
SshMessage | |
void |
|
void |
|
Methods inherited from class com.sshtools.j2ssh.transport.AsyncService | |
getAsyncMessageFilter, onMessageReceived, onStart, onStop, run | |
Methods inherited from class com.sshtools.j2ssh.transport.Service | |
getServiceName, getState, init, onServiceAccept, onServiceInit, onServiceRequest, onStart, sendServiceAccept, start, stop | |
public AuthenticationProtocolServer()
Creates a new AuthenticationProtocolServer object.
protected int[] getAsyncMessageFilter()
- Overrides:
- getAsyncMessageFilter in interface AsyncService
- Returns:
public byte[] getSessionIdentifier()
- Returns:
protected void onMessageReceived(SshMessage msg) throws java.io.IOException
- Overrides:
- onMessageReceived in interface AsyncService
- Parameters:
msg-
protected void onServiceAccept()
throws java.io.IOException
- Overrides:
- onServiceAccept in interface Service
protected void onServiceInit(int startMode)
throws java.io.IOException
- Overrides:
- onServiceInit in interface Service
- Parameters:
startMode-
protected void onServiceRequest()
throws java.io.IOException
- Overrides:
- onServiceRequest in interface Service
public void registerMessage(int messageId,
Class cls)
- Parameters:
messageId-cls-