Reactor
interface is used to describe an object that is used to schedule asynchronous I/O operations. An operation is performed by handing it to the reactor, which will determine if an interested event has occurred. This allows the operation to perform the task in a manner that does not block. Implementing an Operation
object requires that the operation itself is aware of the I/O task it is performing. For example, if the operation is concerned with reading data from the underlying channel then the operation should perform the read, if there is more data required then that operation to register with the reactor again to receive further notifications.
@author Niall Gallagher
@see org.simpleframework.transport.reactor.Operation
|
|