Package org.apache.sshd.common.session
Class AbstractConnectionServiceFactory
java.lang.Object
org.apache.sshd.common.util.logging.AbstractLoggingBean
org.apache.sshd.common.session.AbstractConnectionServiceFactory
- All Implemented Interfaces:
PortForwardingEventListenerManager
- Direct Known Subclasses:
ClientConnectionServiceFactory
,ServerConnectionServiceFactory
public abstract class AbstractConnectionServiceFactory
extends AbstractLoggingBean
implements PortForwardingEventListenerManager
- Author:
- Apache MINA SSHD Project
-
Field Summary
Fields inherited from class org.apache.sshd.common.util.logging.AbstractLoggingBean
log
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
Add a port forwarding listenervoid
Remove a port forwarding listener
-
Constructor Details
-
AbstractConnectionServiceFactory
protected AbstractConnectionServiceFactory()
-
-
Method Details
-
getPortForwardingEventListenerProxy
- Specified by:
getPortForwardingEventListenerProxy
in interfacePortForwardingEventListenerManager
- Returns:
- A proxy listener representing all the currently registered listener through this manager
-
addPortForwardingEventListener
Description copied from interface:PortForwardingEventListenerManager
Add a port forwarding listener- Specified by:
addPortForwardingEventListener
in interfacePortForwardingEventListenerManager
- Parameters:
listener
- ThePortForwardingEventListener
to add - nevernull
-
removePortForwardingEventListener
Description copied from interface:PortForwardingEventListenerManager
Remove a port forwarding listener- Specified by:
removePortForwardingEventListener
in interfacePortForwardingEventListenerManager
- Parameters:
listener
- ThePortForwardingEventListener
to remove - ignored ifnull
-