kaos.core.service.ontology.request
Interface ActionStatusCallback

All Superinterfaces:
InfoStatusCallback
All Known Subinterfaces:
RemoteActionStatusCallback
All Known Implementing Classes:
ActionStatusCallbackImpl, RemoteActionCallbackImpl, RemoteActionStatusCallbackImpl

public interface ActionStatusCallback
extends InfoStatusCallback

Defines the operations on the callback object associated with a request for action. The callback may send a status indicating when the requested action started or when and why it aborted.


Method Summary
 void onAborted(java.util.Calendar time, java.lang.Object reason)
          This method is invoked when the requested action is aborted.
 void onStarted(java.util.Calendar time, java.lang.Object startedInfo)
          This method is invoked when the requested action starts.
 
Methods inherited from interface kaos.core.service.ontology.request.InfoStatusCallback
onAccepted, onCompleted, onRefused, reset
 

Method Detail

onStarted

void onStarted(java.util.Calendar time,
               java.lang.Object startedInfo)
This method is invoked when the requested action starts.

Parameters:
time - Calendar time of starting an action.
startedInfo - Object containing additional (optional) info about the start of the action.

onAborted

void onAborted(java.util.Calendar time,
               java.lang.Object reason)
This method is invoked when the requested action is aborted.

Parameters:
time - Calendar time of aborting an action.
reason - Object containing the reason for aborting an action.