Package net.schmizz.sshj.common
Interface SSHPacketHandler
-
- All Known Subinterfaces:
AuthMethod,Channel,Channel.Direct,Channel.Forwarded,Service,Session,Session.Command,Session.Shell,Session.Subsystem,Transport
- All Known Implementing Classes:
AbstractAuthMethod,AbstractChannel,AbstractDirectChannel,AbstractForwardedChannel,AbstractService,AuthGssApiWithMic,AuthHostbased,AuthKeyboardInteractive,AuthNone,AuthPassword,AuthPublickey,ConnectionImpl,DirectConnection,DirectTCPIPChannel,KeyedAuthMethod,LocalPortForwarder.ForwardedChannel,RemotePortForwarder.ForwardedTCPIPChannel,SessionChannel,TransportImpl,UserAuthImpl,X11Forwarder.X11Channel
public interface SSHPacketHandlerAn 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.
-
-
Method Detail
-
handle
void handle(Message msg, SSHPacket buf) throws SSHException
Delegate handling of some SSH packet to this object.- Parameters:
msg- the SSHmessage identifierbuf-SSHPacketcontaining rest of the request- Throws:
SSHException- if there is a non-recoverable error
-
-