|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.maverick.nio.ClientAcceptor
com.maverick.sshd.RemoteForwardingFactoryImpl
public class RemoteForwardingFactoryImpl
This class implements the standard socket based forwarding for the SSHD.
| Constructor Summary | |
|---|---|
RemoteForwardingFactoryImpl()
|
|
| Method Summary | |
|---|---|
boolean |
belongsTo(ConnectionProtocol connection)
Does this factory belong to the connection provided? |
void |
bindInterface(String addressToBind,
int portToBind,
ConnectionProtocol connection)
A client has requested that the server start listening and forward any subsequent connections to the client. |
boolean |
finishAccept(SelectionKey key,
ProtocolContextFactory protocolContextFactory)
|
int |
getPort()
Get the port the that is bound |
void |
stopAccepting()
|
void |
stopListening(boolean dropActiveTunnels)
Stop listening on active interfaces. |
| Methods inherited from class com.maverick.nio.ClientAcceptor |
|---|
finishAccept |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public RemoteForwardingFactoryImpl()
| Method Detail |
|---|
public boolean belongsTo(ConnectionProtocol connection)
RemoteForwardingFactory
belongsTo in interface RemoteForwardingFactoryconnection - ConnectionProtocol
public void bindInterface(String addressToBind,
int portToBind,
ConnectionProtocol connection)
throws IOException
RemoteForwardingFactory
bindInterface in interface RemoteForwardingFactoryaddressToBind - StringportToBind - intconnection - ConnectionProtocol
IOException
public boolean finishAccept(SelectionKey key,
ProtocolContextFactory protocolContextFactory)
finishAccept in class ClientAcceptorpublic void stopListening(boolean dropActiveTunnels)
RemoteForwardingFactory
stopListening in interface RemoteForwardingFactorydropActiveTunnels - booleanpublic void stopAccepting()
stopAccepting in class ClientAcceptorpublic int getPort()
RemoteForwardingFactory
getPort in interface RemoteForwardingFactory
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||