org.apache.http.impl.nio.reactor
Class DefaultConnectingIOReactor
java.lang.Object
org.apache.http.impl.nio.reactor.AbstractMultiworkerIOReactor
org.apache.http.impl.nio.reactor.DefaultConnectingIOReactor
- All Implemented Interfaces:
- ConnectingIOReactor, IOReactor
public class DefaultConnectingIOReactor
- extends AbstractMultiworkerIOReactor
- implements ConnectingIOReactor
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DefaultConnectingIOReactor
public DefaultConnectingIOReactor(int workerCount,
ThreadFactory threadFactory,
HttpParams params)
throws IOReactorException
- Throws:
IOReactorException
DefaultConnectingIOReactor
public DefaultConnectingIOReactor(int workerCount,
HttpParams params)
throws IOReactorException
- Throws:
IOReactorException
execute
public void execute(IOEventDispatch eventDispatch)
throws java.io.InterruptedIOException,
IOReactorException
- Specified by:
execute
in interface IOReactor
- Throws:
java.io.InterruptedIOException
IOReactorException
prepareSocket
protected void prepareSocket(java.net.Socket socket)
throws java.io.IOException
- Throws:
java.io.IOException
connect
public SessionRequest connect(java.net.SocketAddress remoteAddress,
java.net.SocketAddress localAddress,
java.lang.Object attachment,
SessionRequestCallback callback)
- Specified by:
connect
in interface ConnectingIOReactor
shutdown
public void shutdown()
throws java.io.IOException
- Specified by:
shutdown
in interface IOReactor
- Throws:
java.io.IOException
Copyright © 2005-2009 Apache Software Foundation. All Rights Reserved.