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

java.lang.Object
  extended by org.abstracthorizon.danube.proxy.socket.Proxy.ProxyConnection
All Implemented Interfaces:
Proxy.Connection
Enclosing class:
Proxy

public static class Proxy.ProxyConnection
extends Object
implements Proxy.Connection


Constructor Summary
Proxy.ProxyConnection(SocketChannel in, SocketChannel out, boolean inbound)
           
 
Method Summary
 void close(SelectionKey key)
           
 void read(SelectionKey key)
           
 String toString()
           
 void write(SelectionKey key)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Proxy.ProxyConnection

public Proxy.ProxyConnection(SocketChannel in,
                             SocketChannel out,
                             boolean inbound)
Method Detail

read

public void read(SelectionKey key)
          throws IOException
Specified by:
read in interface Proxy.Connection
Throws:
IOException

write

public void write(SelectionKey key)
           throws IOException
Specified by:
write in interface Proxy.Connection
Throws:
IOException

close

public void close(SelectionKey key)
           throws IOException
Specified by:
close in interface Proxy.Connection
Throws:
IOException

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2005-2009 Abstract Horizon. All Rights Reserved.