Example usage for Java org.apache.http.nio.reactor ListeningIOReactor fields, constructors, methods, implement or subclass
The text is from its open source code.
void | execute(IOEventDispatch eventDispatch) Starts the reactor and initiates the dispatch of I/O event notifications to the given IOEventDispatch . |
Set | getEndpoints() Returns a set of endpoints for this I/O reactor. |
ListenerEndpoint | listen(SocketAddress address) Opens a new listener endpoint with the given socket address. |
void | pause() Suspends the I/O reactor preventing it from accepting new connections on all active endpoints. |
void | resume() Resumes the I/O reactor restoring its ability to accept incoming connections on all active endpoints. |
void | shutdown(long waitMs) Initiates shutdown of the reactor and blocks approximately for the given period of time in milliseconds waiting for the reactor to terminate all active connections, to shut down itself and to release system resources it currently holds. |
void | shutdown() Initiates shutdown of the reactor and blocks for a default period of time waiting for the reactor to terminate all active connections, to shut down itself and to release system resources it currently holds. |