public class SocketProxyServer
extends java.lang.Object
implements net.e6tech.elements.common.resources.Startable, java.lang.Runnable
| Constructor and Description |
|---|
SocketProxyServer() |
| Modifier and Type | Method and Description |
|---|---|
int |
getLocalPort() |
java.lang.String |
getRemoteHost() |
int |
getRemotePort() |
java.util.concurrent.ExecutorService |
getThreadPool() |
void |
run() |
void |
setLocalPort(int localPort) |
void |
setRemoteHost(java.lang.String remoteHost) |
void |
setRemotePort(int remotePort) |
void |
setThreadPool(java.util.concurrent.ExecutorService threadPool) |
void |
start() |
void |
stop() |
public java.lang.String getRemoteHost()
public void setRemoteHost(java.lang.String remoteHost)
public int getRemotePort()
public void setRemotePort(int remotePort)
public int getLocalPort()
public void setLocalPort(int localPort)
public java.util.concurrent.ExecutorService getThreadPool()
public void setThreadPool(java.util.concurrent.ExecutorService threadPool)
public void start()
start in interface net.e6tech.elements.common.resources.Startablepublic void stop()
public void run()
run in interface java.lang.Runnable