proactor.server
Class SimpleCompletionDispatcher

java.lang.Object
  extended by proactor.server.SimpleCompletionDispatcher
All Implemented Interfaces:
CompletionDispatcher

public class SimpleCompletionDispatcher
extends java.lang.Object
implements CompletionDispatcher


Constructor Summary
SimpleCompletionDispatcher()
           
 
Method Summary
 void dispatch(java.lang.Object result, CompletionHandler handler)
          Dispatch the Data.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SimpleCompletionDispatcher

public SimpleCompletionDispatcher()
Method Detail

dispatch

public void dispatch(java.lang.Object result,
                     CompletionHandler handler)
Dispatch the Data. Here, we only have one kind of data, so this Dispatcher does not do that much.

Specified by:
dispatch in interface CompletionDispatcher
Parameters:
result - The result of the Mock-Async-Operation
handler - A Completion Handler