org.apache.http.impl.nio
Class DefaultServerIOEventDispatch
java.lang.Object
org.apache.http.impl.nio.DefaultServerIOEventDispatch
- All Implemented Interfaces:
- IOEventDispatch
public class DefaultServerIOEventDispatch
- extends java.lang.Object
- implements IOEventDispatch
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
allocator
protected final ByteBufferAllocator allocator
handler
protected final NHttpServiceHandler handler
params
protected final org.apache.http.params.HttpParams params
DefaultServerIOEventDispatch
public DefaultServerIOEventDispatch(NHttpServiceHandler handler,
org.apache.http.params.HttpParams params)
createByteBufferAllocator
protected ByteBufferAllocator createByteBufferAllocator()
createHttpRequestFactory
protected org.apache.http.HttpRequestFactory createHttpRequestFactory()
createConnection
protected NHttpServerIOTarget createConnection(IOSession session)
connected
public void connected(IOSession session)
- Specified by:
connected
in interface IOEventDispatch
disconnected
public void disconnected(IOSession session)
- Specified by:
disconnected
in interface IOEventDispatch
inputReady
public void inputReady(IOSession session)
- Specified by:
inputReady
in interface IOEventDispatch
outputReady
public void outputReady(IOSession session)
- Specified by:
outputReady
in interface IOEventDispatch
timeout
public void timeout(IOSession session)
- Specified by:
timeout
in interface IOEventDispatch
Copyright © 2005-2008 Apache Software Foundation. All Rights Reserved.