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.net.ServerSocket |
getServerSocket() |
java.util.concurrent.ExecutorService |
getThreadPool() |
void |
run() |
void |
setLocalPort(int localPort) |
void |
setRemoteHost(java.lang.String remoteHost) |
void |
setRemotePort(int remotePort) |
void |
setServerSocket(java.net.ServerSocket serverSocket) |
void |
setThreadPool(java.util.concurrent.ExecutorService threadPool) |
void |
start() |
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.net.ServerSocket getServerSocket()
public void setServerSocket(java.net.ServerSocket serverSocket)
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 run()
run in interface java.lang.Runnable