org.apache.http.nio.reactor
Interface IOReactor

All Known Subinterfaces:
ConnectingIOReactor, ListeningIOReactor
All Known Implementing Classes:
AbstractIOReactor, AbstractMultiworkerIOReactor, BaseIOReactor, DefaultConnectingIOReactor, DefaultListeningIOReactor

public interface IOReactor


Field Summary
static int ACTIVE
           
static int INACTIVE
           
static int SHUT_DOWN
           
static int SHUTTING_DOWN
           
 
Method Summary
 void execute(IOEventDispatch eventDispatch)
           
 int getStatus()
           
 void shutdown()
           
 void shutdown(long gracePeriod)
           
 

Field Detail

INACTIVE

static final int INACTIVE
See Also:
Constant Field Values

ACTIVE

static final int ACTIVE
See Also:
Constant Field Values

SHUTTING_DOWN

static final int SHUTTING_DOWN
See Also:
Constant Field Values

SHUT_DOWN

static final int SHUT_DOWN
See Also:
Constant Field Values
Method Detail

getStatus

int getStatus()

execute

void execute(IOEventDispatch eventDispatch)
             throws java.io.IOException
Throws:
java.io.IOException

shutdown

void shutdown(long gracePeriod)
              throws java.io.IOException
Throws:
java.io.IOException

shutdown

void shutdown()
              throws java.io.IOException
Throws:
java.io.IOException


Copyright © 2005-2007 Apache Software Foundation. All Rights Reserved.