rabbit.proxy
Class ProxyConnectionAcceptor

java.lang.Object
  extended by rabbit.proxy.ProxyConnectionAcceptor
All Implemented Interfaces:
AcceptorListener

public class ProxyConnectionAcceptor
extends Object
implements AcceptorListener

An acceptor handler that creates proxy client connection

Author:
Robert Olofsson

Constructor Summary
ProxyConnectionAcceptor(int id, HttpProxy proxy)
          Create a new ProxyConnectionAcceptor.
 
Method Summary
 void connectionAccepted(SocketChannel sc)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ProxyConnectionAcceptor

public ProxyConnectionAcceptor(int id,
                               HttpProxy proxy)
Create a new ProxyConnectionAcceptor.

Parameters:
id - the connection group id
proxy - the HttpProxy to accept connections for
Method Detail

connectionAccepted

public void connectionAccepted(SocketChannel sc)
                        throws IOException
Specified by:
connectionAccepted in interface AcceptorListener
Throws:
IOException