org.apache.http.nio
Interface IOControl

All Known Subinterfaces:
NHttpClientConnection, NHttpConnection, NHttpServerConnection
All Known Implementing Classes:
DefaultNHttpClientConnection, DefaultNHttpServerConnection, NHttpConnectionBase

public interface IOControl

Connection input/output control interface. It can be used to request or temporarily suspend event notifications that are triggered when the underlying channel is ready for input / output operations.

Author:
Oleg Kalnichevski

Method Summary
 void requestInput()
          Requests event notifications to be triggered when the underlying channel is ready for input oprtations.
 void requestOutput()
          Requests event notifications to be triggered when the underlying channel is ready for output oprtations.
 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.
 

Method Detail

requestInput

public void requestInput()
Requests event notifications to be triggered when the underlying channel is ready for input oprtations.


suspendInput

public void suspendInput()
Suspends event notifications about the underlying channel being ready for input operations.


requestOutput

public void requestOutput()
Requests event notifications to be triggered when the underlying channel is ready for output oprtations.


suspendOutput

public void suspendOutput()
Suspends event notifications about the underlying channel being ready for output operations.



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