| Constructor and Description |
|---|
ProxyServer() |
ProxyServer(String targetHost,
int targetPort,
int listenPort) |
| Modifier and Type | Method and Description |
|---|---|
int |
getListenPort() |
String |
getTargetHost() |
int |
getTargetPort() |
void |
go() |
protected void |
gotconn(Socket sconn) |
boolean |
isDebug() |
static void |
main(String[] args) |
void |
run() |
void |
setDebug(boolean debug) |
void |
setListenPort(int listenPort) |
void |
setTargetHost(String targetHost) |
void |
setTargetPort(int targetPort) |
void |
start() |
void |
stop() |
protected Thread thread
public ProxyServer()
public ProxyServer(String targetHost, int targetPort, int listenPort)
public void go()
public static void main(String[] args)
public boolean isDebug()
public void setDebug(boolean debug)
debug - the debug to setpublic int getTargetPort()
public void setTargetPort(int targetPort)
targetPort - the targetPort to setpublic int getListenPort()
public void setListenPort(int listenPort)
listenPort - the listenPort to setpublic String getTargetHost()
public void setTargetHost(String targetHost)
targetHost - the targetHost to setCopyright © 2021 McEvoy Software Ltd. All rights reserved.