org.abstracthorizon.danube.proxy.socket
Class Proxy.ProxyPort

java.lang.Object
  extended by 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


Constructor Summary
Proxy.ProxyPort(Selector selector, InetSocketAddress socketAddress)
           
 
Method Summary
 void addDestination(InetSocketAddress destination)
           
 void closeConnection()
           
 boolean isEmpty()
           
 void newConnection(ServerSocketChannel channel)
           
 InetSocketAddress nextDestination()
           
 void removeDestination(InetSocketAddress destination)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Proxy.ProxyPort

public Proxy.ProxyPort(Selector selector,
                       InetSocketAddress socketAddress)
Method Detail

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.