Package org.apache.sshd.common.channel
Interface ChannelListenerManager
-
- All Known Subinterfaces:
Channel,ClientChannel,ClientFactoryManager,ClientSession,FactoryManager,ServerChannel,ServerFactoryManager,ServerSession,Session
- All Known Implementing Classes:
AbstractChannel,AbstractClientChannel,AbstractClientSession,AbstractFactoryManager,AbstractServerChannel,AbstractServerSession,AbstractSession,AgentForwardedChannel,AgentForwardedChannel,ChannelAgentForwarding,ChannelAgentForwarding,ChannelDirectTcpip,ChannelExec,ChannelForwardedX11,ChannelSession,ChannelSession,ChannelShell,ChannelSubsystem,ClientSessionImpl,PtyCapableChannelSession,ServerSessionImpl,SessionHelper,SshClient,SshServer,TcpipClientChannel,TcpipServerChannel
public interface ChannelListenerManager- Author:
- Apache MINA SSHD Project
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidaddChannelListener(ChannelListener listener)Add a channel listenerChannelListenergetChannelListenerProxy()voidremoveChannelListener(ChannelListener listener)Remove a channel listener
-
-
-
Method Detail
-
addChannelListener
void addChannelListener(ChannelListener listener)
Add a channel listener- Parameters:
listener- TheChannelListenerto add - notnull
-
removeChannelListener
void removeChannelListener(ChannelListener listener)
Remove a channel listener- Parameters:
listener- TheChannelListenerto remove
-
getChannelListenerProxy
ChannelListener getChannelListenerProxy()
- Returns:
- A (never
nullproxyChannelListenerthat represents all the currently registered listeners. Any method invocation on the proxy is replicated to the currently registered listeners
-
-