|
|||||||||
| 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(java.lang.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(java.nio.channels.SelectionKey key,
ProtocolContext protocolContext)
Complete the accept operation. |
void |
stopAccepting()
Stop accepting clients |
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(java.lang.String addressToBind,
int portToBind,
ConnectionProtocol connection)
throws java.io.IOException
RemoteForwardingFactory
bindInterface in interface RemoteForwardingFactoryaddressToBind - StringportToBind - intconnection - ConnectionProtocol
java.io.IOException
public boolean finishAccept(java.nio.channels.SelectionKey key,
ProtocolContext protocolContext)
ClientAcceptor
finishAccept in class ClientAcceptorkey - SelectionKeyprotocolContext - ProtocolContext
public void stopListening(boolean dropActiveTunnels)
RemoteForwardingFactory
stopListening in interface RemoteForwardingFactorydropActiveTunnels - booleanpublic void stopAccepting()
ClientAcceptor
stopAccepting in class ClientAcceptor
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||