| com.rift.coad.daemon.messageservice.AsyncCallbackHandler
AsyncCallbackHandler | public interface AsyncCallbackHandler extends Remote(Code) | | The interface that must be implemented by any daemon dealing with async RPC
results.
author: Brett Chaldecott |
Method Summary | |
public void | onFailure(String messageId, String correllationId, Throwable caught) This method will be called to deal with an exception that gets thrown
when dealing with a RPC acync method. | public void | onSuccess(String messageId, String correllationId, Object result) This method will be called to deal with a successfull result. |
onFailure | public void onFailure(String messageId, String correllationId, Throwable caught) throws RemoteException(Code) | | This method will be called to deal with an exception that gets thrown
when dealing with a RPC acync method.
Parameters: messageId - The id of the message. Parameters: correllationId - The correllation id. Parameters: caught - The exception that got caught. |
onSuccess | public void onSuccess(String messageId, String correllationId, Object result) throws RemoteException(Code) | | This method will be called to deal with a successfull result.
Parameters: messageId - The id of the message. Parameters: correllationId - The correllation id. Parameters: result - The object containing the result of the processing. |
|
|