org.abstracthorizon.danube.proxy.socket
Class Proxy.ProxyPort
java.lang.Object
org.abstracthorizon.danube.proxy.socket.Proxy.ProxyPort
- All Implemented Interfaces:
- Proxy.PortProcessor
- Enclosing class:
- Proxy
protected static class Proxy.ProxyPort
- extends Object
- implements Proxy.PortProcessor
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Proxy.ProxyPort
public Proxy.ProxyPort(Selector selector,
InetSocketAddress socketAddress)
addDestination
public void addDestination(InetSocketAddress destination)
throws IOException
- Throws:
IOException
removeDestination
public void removeDestination(InetSocketAddress destination)
throws IOException
- Throws:
IOException
isEmpty
public boolean isEmpty()
newConnection
public void newConnection(ServerSocketChannel channel)
throws IOException
- Specified by:
newConnection
in interface Proxy.PortProcessor
- Throws:
IOException
closeConnection
public void closeConnection()
nextDestination
public InetSocketAddress nextDestination()
Copyright © 2005-2009 Abstract Horizon. All Rights Reserved.