public interface

SSHPacketHandler

net.schmizz.sshj.common.SSHPacketHandler
Known Indirect Subclasses

Class Overview

An interface for classes to which packet handling may be delegated. Chains of such delegations may be used, e.g. packet decoder -> (SSHPacketHandler) transport layer -> (SSHPacketHandler) connection layer -> (SSHPacketHandler) channel.

Summary

Public Methods
abstract void handle(Message msg, SSHPacket buf)
Delegate handling of some SSH packet to this object.

Public Methods

public abstract void handle (Message msg, SSHPacket buf)

Delegate handling of some SSH packet to this object.

Parameters
msg The SSH message identifier
buf SSHPacket containing rest of the request
Throws
SSHException if there is a non-recoverable error