rabbit.proxy
Class ProxyConnectionAcceptor
java.lang.Object
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
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ProxyConnectionAcceptor
public ProxyConnectionAcceptor(int id,
HttpProxy proxy)
connectionAccepted
public void connectionAccepted(SocketChannel sc,
Selector selector)
throws IOException
- Description copied from interface:
AcceptorListener
- A conneciton has been accepted
- Specified by:
connectionAccepted
in interface AcceptorListener
- Parameters:
sc
- the new socket channel, will already be set to non blocking modeselector
- the selector that accepted the connection
- Throws:
IOException