SSH_MSG_IGNORE and SSH_MSG_DEBUG messages that are received
by a session, as well as proprietary and/or extension messages and behavior.
| Modifier and Type | Method and Description |
|---|---|
| public default void | handleDebugMessage(Session
The session, Buffer Session through which the message was receivedThe buffer)Buffer containing the dataInvoked when an |
| public default void | handleIgnoreMessage(Session
The session, Buffer Session through which the message was receivedThe buffer)Buffer containing the dataInvoked when an |
| public default boolean | Returns: true if message handled internally, false if should return a
SSH_MSG_UNIMPLEMENTED reply (default behavior)The session, int Session through which the message was receivedThe received (un-implemented) command cmd, Buffer The buffer)Buffer containing the data - positioned just beyond the commandInvoked when a packet with an un-implemented message is received - including |
| public default IoWriteFuture | Returns: AIoWriteFuture that can be used to wait for the data to be sent successfully. If
null then the session will send the identification, otherwise it is assumed that the
handler has sent it.The session, String Session through which the version is exchange is being managedThe version line that was resolved - Note: since this string is part of the KEX and is
cached in the calling session, any changes to it require updating the session's cached
value. version, List<String> Extra lines to be sent - valid only for server sessions. Note:/B> the handler may modify
these lines and return extraLines)null thus signaling the session to proceed with sending the
identificationSend the initial version exchange identification in and independent manner |
| public default IoWriteFuture | sendKexInitRequest(Session
The session, Map<KexProposalOption, String> Session through which the key exchange is being managedThe KEX proposal that was used to build the packet proposal, Buffer The packet containing the fully encoded message - Caveat: this packet later serves as
part of the key generation, so care must be taken if manipulating it. packet)Invoked before sending the |
| public default boolean | Returns: true whether heartbeat actually sent - Note: used mainly for debugging purposes.The service)ConnectionService through which the heartbeat is being executed.Invoked if the user configured usage of a proprietary heartbeat mechanism Note by default throws
|
| handleDebugMessage | back to summary |
|---|---|
| public default void handleDebugMessage(Session session, Buffer buffer) throws Exception Invoked when an
| |
| handleIgnoreMessage | back to summary |
|---|---|
| public default void handleIgnoreMessage(Session session, Buffer buffer) throws Exception Invoked when an
| |
| handleUnimplementedMessage | back to summary |
|---|---|
| public default boolean handleUnimplementedMessage(Session session, int cmd, Buffer buffer) throws Exception Invoked when a packet with an un-implemented message is received - including
| |
| sendIdentification | back to summary |
|---|---|
| public default IoWriteFuture sendIdentification(Session session, String version, List<String> extraLines) throws Exception Send the initial version exchange identification in and independent manner
| |
| sendKexInitRequest | back to summary |
|---|---|
| public default IoWriteFuture sendKexInitRequest(Session session, Map<KexProposalOption, String> proposal, Buffer packet) throws Exception Invoked before sending the
| |
| sendReservedHeartbeat | back to summary |
|---|---|
| public default boolean sendReservedHeartbeat(ConnectionService service) throws Exception Invoked if the user configured usage of a proprietary heartbeat mechanism Note by default throws
| |