protected class ForwardingClient.SocketListener extends Object implements Runnable
Constructor and Description |
---|
SocketListener(String addressToBind,
int portToBind,
String hostToConnect,
int portToConnect) |
Modifier and Type | Method and Description |
---|---|
String |
getHostToConnect() |
int |
getLocalPort() |
int |
getPortToConnect() |
boolean |
isListening() |
boolean |
isRunning() |
void |
run() |
void |
start() |
void |
stop() |
public int getLocalPort()
public boolean isListening()
public boolean isRunning()
public String getHostToConnect()
public int getPortToConnect()
public void start() throws SshException
SshException
public void stop()
Copyright © 2024. All rights reserved.