|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.maverick.sshd.vtun.VTunRemoteForwardingInterface
public class VTunRemoteForwardingInterface
| Constructor Summary | |
|---|---|
VTunRemoteForwardingInterface()
|
|
| Method Summary | |
|---|---|
boolean |
belongsTo(Connection connection)
Does this factory belong to the connection provided? |
void |
bindInterface(String addressToBind,
int portToBind,
Connection connection)
A client has requested that the server start listening and forward any subsequent connections to the client. |
String |
getBindAddress()
|
Connection |
getConnection()
Return the connection that this interface belongs to |
int |
getPort()
|
void |
stopListening(boolean dropActiveTunnels)
Stop listening on active interfaces. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public VTunRemoteForwardingInterface()
| Method Detail |
|---|
public void bindInterface(String addressToBind,
int portToBind,
Connection connection)
throws IOException
RemoteForwardingInterface
bindInterface in interface RemoteForwardingInterfaceaddressToBind - StringportToBind - intconnection - ConnectionProtocol
IOExceptionpublic boolean belongsTo(Connection connection)
RemoteForwardingInterface
belongsTo in interface RemoteForwardingInterfaceconnection - ConnectionProtocol
public void stopListening(boolean dropActiveTunnels)
RemoteForwardingInterface
stopListening in interface RemoteForwardingInterfacedropActiveTunnels - booleanpublic Connection getConnection()
RemoteForwardingInterface
getConnection in interface RemoteForwardingInterfacepublic String getBindAddress()
getBindAddress in interface RemoteForwardingInterfacepublic int getPort()
getPort in interface RemoteForwardingInterface
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||