java.lang.Objectcom.sshtools.j2ssh.transport.Service
com.sshtools.j2ssh.transport.AsyncService
All Implemented Interfaces:
Runnable
Direct Known Subclasses:
ConnectionProtocol, AuthenticationProtocolServer
Extends the simple Service class to provide an asyncronous
messaging service for the transport protocol.
Lee - David Painter$ - Revision: 1.28 $0.2.0 - | Field Summary | ||
|---|---|---|
| protected SshThread | thread | |
| Fields inherited from com.sshtools.j2ssh.transport.Service: |
|---|
| REQUESTING_SERVICE, ACCEPTING_SERVICE, messageStore, transport, startMode, state |
| Constructor: |
|---|
Constructs an asyncronous service.
|
| Method from com.sshtools.j2ssh.transport.AsyncService Summary: |
|---|
| getAsyncMessageFilter, onMessageReceived, onStart, onStop, run |
| Methods from com.sshtools.j2ssh.transport.Service: |
|---|
| getServiceName, getState, init, onServiceAccept, onServiceInit, onServiceRequest, onStart, sendServiceAccept, start, stop |
| Methods from java.lang.Object: |
|---|
| equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method from com.sshtools.j2ssh.transport.AsyncService Detail: |
|---|
Implement this method by returning the message ids of the asyncrounous messages your implementation wants to receive. |
Called by the service thread when an asyncronous message is received. |
Implements the abstract |
The service thread calls this method when the thread is exiting. |
Implements the asyncronous services message loop. |