kaos.core.service.ontology.request
Interface ResultCallback

All Superinterfaces:
CallbackTransportInfo, java.io.Serializable
All Known Implementing Classes:
ResultCallbackImpl

public interface ResultCallback
extends CallbackTransportInfo

Defines the operations on the callback object to send the result of the requested action back to the requestor.


Method Summary
 void receiveResult(java.lang.Object result)
          Send the action result to the requestor.
 
Methods inherited from interface kaos.core.service.util.CallbackTransportInfo
setTransportInfo
 

Method Detail

receiveResult

void receiveResult(java.lang.Object result)
Send the action result to the requestor.

Parameters:
Result - Object containing result of the requested action. If the action fails due to an Exception, the result will contain the Exception.