| java.lang.Object | |
| ↳ | net.schmizz.sshj.AbstractService |
Known Direct Subclasses
|
An abstract class for Service that implements common or default functionality.
| Fields | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| log | Logger | ||||||||||
| name | Assigned name of this service | ||||||||||
| timeout | Timeout for blocking operations | ||||||||||
| trans | Transport layer | ||||||||||
| Public Constructors | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Delegate handling of some SSH packet to this object.
| |||||||||||
Notifies this object of an
error. | |||||||||||
Notifies this service that a
SSH_MSG_UNIMPLEMENTED was received for packet with given sequence number. | |||||||||||
Request and install this service with the associated transport.
| |||||||||||
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
| |||||||||||
From interface
net.schmizz.sshj.Service
| |||||||||||
From interface
net.schmizz.sshj.common.ErrorNotifiable
| |||||||||||
From interface
net.schmizz.sshj.common.SSHPacketHandler
| |||||||||||
Logger
Assigned name of this service
Timeout for blocking operations
Delegate handling of some SSH packet to this object.
| msg | The SSH message identifier |
|---|---|
| buf | SSHPacket containing rest of the request |
| SSHException |
|---|
Notifies this service that a SSH_MSG_UNIMPLEMENTED was received for packet with given sequence number.
Meant to be invoked as a callback by the transport layer.
| seqNum | Sequence number of the packet which the server claims is unimplemented |
|---|
| SSHException |
|---|
Request and install this service with the associated transport. Implementations should aim to make this method
idempotent by first checking the getService() currently active
service}.
| TransportException |
|---|
| timeout |
|---|