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
,KeyExchanger
,LocalPortForwarder.ForwardedChannel
,RemotePortForwarder.ForwardedTCPIPChannel
,SessionChannel
,TransportImpl
,TransportImpl.NullService
,UserAuthImpl
,X11Forwarder.X11Channel
public interface SSHPacketHandler
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
.-
Method Summary
-
Method Details
-
handle
Delegate handling of some SSH packet to this object.- Parameters:
msg
- the SSHmessage identifier
buf
-SSHPacket
containing rest of the request- Throws:
SSHException
- if there is a non-recoverable error
-