ProxyConnectionAcceptor (RabbIT/4)
Date: 2009-10-13

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## 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

Constructor Summary
`ProxyConnectionAcceptor(int id, HttpProxy proxy)`

Method Summary
`void` | `connectionAccepted(SocketChannel sc)` A conneciton has been accepted

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)

Method Detail

### connectionAccepted

    public void connectionAccepted(SocketChannel sc)
                            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 mode
  Throws:
    `IOException`

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD