Java org.apache.http.nio.reactor ListeningIOReactor fields, constructors, methods, implement or subclass

Example usage for Java org.apache.http.nio.reactor ListeningIOReactor fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for org.apache.http.nio.reactor ListeningIOReactor.

The text is from its open source code.

Method

voidexecute(IOEventDispatch eventDispatch)
Starts the reactor and initiates the dispatch of I/O event notifications to the given IOEventDispatch .
SetgetEndpoints()
Returns a set of endpoints for this I/O reactor.
ListenerEndpointlisten(SocketAddress address)
Opens a new listener endpoint with the given socket address.
voidpause()
Suspends the I/O reactor preventing it from accepting new connections on all active endpoints.
voidresume()
Resumes the I/O reactor restoring its ability to accept incoming connections on all active endpoints.
voidshutdown(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.
voidshutdown()
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.