|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.abstracthorizon.danube.proxy.socket.Proxy
public class Proxy
Nested Class Summary | |
---|---|
static interface |
Proxy.Connection
|
protected static class |
Proxy.ControlConnection
|
protected static class |
Proxy.ControlPort
|
protected static interface |
Proxy.PortProcessor
|
static class |
Proxy.ProxyConnection
|
protected static class |
Proxy.ProxyPort
|
Constructor Summary | |
---|---|
Proxy()
Constructor. |
|
Proxy(InetSocketAddress controlPortAddress)
Constructor. |
|
Proxy(int port)
|
|
Proxy(String host,
int port)
|
Method Summary | |
---|---|
void |
deregisterInetAddress(InetSocketAddress sourceSocketAddress,
InetSocketAddress destinationSocketAddress)
|
InetSocketAddress |
getControlPortAddress()
|
Executor |
getExecutor()
|
static void |
main(String[] args)
|
void |
registerInetAddress(InetSocketAddress sourceSocketAddress,
InetSocketAddress destinationSocketAddress)
|
void |
run()
Main method. |
void |
setControlPortAddress(InetSocketAddress controlPortAddress)
|
void |
setExecutor(Executor executor)
|
void |
start()
Starts the service. |
void |
stop()
Stops the service. |
static InetSocketAddress |
stringToInetSocketAddress(String socketAddress)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Proxy()
public Proxy(InetSocketAddress controlPortAddress)
controlPortAddress
- control port addresspublic Proxy(int port)
public Proxy(String host, int port)
Method Detail |
---|
public void setControlPortAddress(InetSocketAddress controlPortAddress)
public InetSocketAddress getControlPortAddress()
public void setExecutor(Executor executor)
public Executor getExecutor()
public void start() throws IOException
IOException
public void stop()
public void registerInetAddress(InetSocketAddress sourceSocketAddress, InetSocketAddress destinationSocketAddress) throws IOException
IOException
public void deregisterInetAddress(InetSocketAddress sourceSocketAddress, InetSocketAddress destinationSocketAddress) throws IOException
IOException
public static InetSocketAddress stringToInetSocketAddress(String socketAddress)
public void run()
run
in interface Runnable
public static void main(String[] args) throws Exception
Exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |