proactor.server
Class MockAsynchronousOperationProcessor

java.lang.Object
  extended by proactor.server.MockAsynchronousOperationProcessor
All Implemented Interfaces:
AsynchronousOperationProcessor

public class MockAsynchronousOperationProcessor
extends java.lang.Object
implements AsynchronousOperationProcessor


Constructor Summary
MockAsynchronousOperationProcessor()
           
 
Method Summary
 void register(AsynchronousOperation operation, CompletionHandler handler, CompletionDispatcher dispatcher)
          Registers a new (Mock) Asynchronous Operation, an appropriate Handler and a Dispatcher.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MockAsynchronousOperationProcessor

public MockAsynchronousOperationProcessor()
Method Detail

register

public void register(AsynchronousOperation operation,
                     CompletionHandler handler,
                     CompletionDispatcher dispatcher)
Registers a new (Mock) Asynchronous Operation, an appropriate Handler and a Dispatcher.

Specified by:
register in interface AsynchronousOperationProcessor
Parameters:
operation - The async operation
handler - The completion handler
dispatcher - A dispatcher