public interface Service extends SSHPacketHandler, ErrorNotifiable
ErrorNotifiable.Util| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getName() |
void |
notifyUnimplemented(long seqNum)
Notifies this service that a
SSH_MSG_UNIMPLEMENTED was received for packet with given sequence number. |
void |
request()
Request and install this service with the associated transport.
|
handlenotifyErrorjava.lang.String getName()
void notifyUnimplemented(long seqNum)
throws SSHException
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 unimplementedSSHException - if the packet is unexpected and may represent a disruptionvoid request()
throws TransportException
Transport.getService() currently active
service}.TransportException - if there is an error sending the service request