org.apache.sshd.common.forward
Class DefaultForwardingAcceptorFactory

java.lang.Object
  extended by org.apache.sshd.common.forward.DefaultForwardingAcceptorFactory
All Implemented Interfaces:
ForwardingAcceptorFactory

public class DefaultForwardingAcceptorFactory
extends java.lang.Object
implements ForwardingAcceptorFactory

A Default factory for creating NioSocketAcceptors for Port & X11 Forwarding


Constructor Summary
DefaultForwardingAcceptorFactory()
           
 
Method Summary
 org.apache.mina.transport.socket.nio.NioSocketAcceptor createNioSocketAcceptor(Session s)
          Creates the NioSocketAcceptor to be used for forwards for this ServerSession.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultForwardingAcceptorFactory

public DefaultForwardingAcceptorFactory()
Method Detail

createNioSocketAcceptor

public org.apache.mina.transport.socket.nio.NioSocketAcceptor createNioSocketAcceptor(Session s)
Description copied from interface: ForwardingAcceptorFactory
Creates the NioSocketAcceptor to be used for forwards for this ServerSession.

Specified by:
createNioSocketAcceptor in interface ForwardingAcceptorFactory
Parameters:
s - the Session the connections are forwarded through
Returns:
the NioSocketAcceptor that will listen for connections


Copyright © 2008-2012 The Apache Software Foundation. All Rights Reserved.