Top Fields Constructors Methods
org.apache.sshd.common.session

public abstract Class AbstractConnectionServiceFactory

extends AbstractLoggingBean
implements PortForwardingEventListenerManager
Class Inheritance
All Implemented Interfaces
org.apache.sshd.common.forward.PortForwardingEventListenerManager
Known Direct Subclasses
org.apache.sshd.server.session.ServerConnectionServiceFactory, org.apache.sshd.client.session.ClientConnectionServiceFactory
Imports
java.util.Collection, .Objects, java.util.concurrent.CopyOnWriteArraySet, org.apache.sshd.common.forward.PortForwardingEventListener, .PortForwardingEventListenerManager, org.apache.sshd.common.util.EventListenerUtils, org.apache.sshd.common.util.logging.AbstractLoggingBean

Author
Apache MINA SSHD Project

Field Summary

Modifier and TypeField and Description
private final PortForwardingEventListener
private final Collection<PortForwardingEventListener>
Inherited from org.apache.sshd.common.util.logging.AbstractLoggingBean:
log

Constructor Summary

AccessConstructor and Description
protected

Method Summary

Modifier and TypeMethod and Description
public void
public PortForwardingEventListener
public void
Inherited from org.apache.sshd.common.util.logging.AbstractLoggingBean:
debugdebugdebugdebugdebugerrorerrorerrorerrorerrorgetSimplifiedLoggerinfoinfowarnwarnwarnwarnwarnwarnwarnwarn

Field Detail

listenerProxyback to summary
private final PortForwardingEventListener listenerProxy
listenersback to summary
private final Collection<PortForwardingEventListener> listeners

Constructor Detail

AbstractConnectionServiceFactoryback to summary
protected AbstractConnectionServiceFactory()

Method Detail

addPortForwardingEventListenerback to summary
public void addPortForwardingEventListener(PortForwardingEventListener listener)

Implements org.apache.sshd.common.forward.PortForwardingEventListenerManager.addPortForwardingEventListener.

Doc from org.apache.sshd.common.forward.PortForwardingEventListenerManager.addPortForwardingEventListener.

Add a port forwarding listener

Parameters
listener:PortForwardingEventListener

The PortForwardingEventListener to add - never null

Annotations
@Override
getPortForwardingEventListenerProxyback to summary
public PortForwardingEventListener getPortForwardingEventListenerProxy()

Implements org.apache.sshd.common.forward.PortForwardingEventListenerManager.getPortForwardingEventListenerProxy.

Returns:PortForwardingEventListener

Doc from org.apache.sshd.common.forward.PortForwardingEventListenerManager.getPortForwardingEventListenerProxy.

A proxy listener representing all the currently registered listener through this manager

Annotations
@Override
removePortForwardingEventListenerback to summary
public void removePortForwardingEventListener(PortForwardingEventListener listener)

Implements org.apache.sshd.common.forward.PortForwardingEventListenerManager.removePortForwardingEventListener.

Doc from org.apache.sshd.common.forward.PortForwardingEventListenerManager.removePortForwardingEventListener.

Remove a port forwarding listener

Parameters
listener:PortForwardingEventListener

The PortForwardingEventListener to remove - ignored if null

Annotations
@Override