NHttpClientConnection, NHttpClientIOTarget, NHttpConnection, NHttpServerConnection, NHttpServerIOTargetDefaultNHttpClientConnection, DefaultNHttpServerConnection, NHttpConnectionBasepublic interface IOControl
Implementations of this interface are expected to be threading safe. Therefore it can be used to request / suspend I/O event notifications from any thread of execution.
| Modifier and Type | Method | Description |
|---|---|---|
void |
requestInput() |
Requests event notifications to be triggered when the underlying
channel is ready for input operations.
|
void |
requestOutput() |
Requests event notifications to be triggered when the underlying
channel is ready for output operations.
|
void |
shutdown() |
Shuts down the underlying channel.
|
void |
suspendInput() |
Suspends event notifications about the underlying channel being
ready for input operations.
|
void |
suspendOutput() |
Suspends event notifications about the underlying channel being
ready for output operations.
|
void requestInput()
void suspendInput()
void requestOutput()
void suspendOutput()
void shutdown()
throws java.io.IOException
java.io.IOException - in an error occurs