|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object kaos.robots.util.ActionStatusCallbackImpl
public class ActionStatusCallbackImpl
Constructor Summary | |
---|---|
ActionStatusCallbackImpl(java.lang.String action)
|
Method Summary | |
---|---|
java.lang.String |
getCompletionStatus()
|
java.lang.Object |
getResult()
|
void |
onAborted(java.util.Calendar time,
java.lang.Object r)
This method is invoked when the requested action is aborted. |
void |
onAccepted(java.util.Calendar time,
java.lang.Object acceptInfo)
This method is invoked when the request is accepted by the receiver. |
void |
onCompleted(java.util.Calendar time,
java.lang.Object result)
This method is invoked upon completion of the request. |
void |
onRefused(java.util.Calendar time,
java.lang.Object r)
This method is invoked when the request is refused by the receiver. |
void |
onStarted(java.util.Calendar time,
java.lang.Object startInfo)
This method is invoked when the requested action starts. |
void |
reset()
Reset callback settings. |
void |
setResult(java.lang.Object result)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ActionStatusCallbackImpl(java.lang.String action)
Method Detail |
---|
public void onAccepted(java.util.Calendar time, java.lang.Object acceptInfo)
onAccepted
in interface InfoStatusCallback
time
- Calendar time of acceptance.acceptInfo
- Object containing additional (optional) info about the acceptance.public void onRefused(java.util.Calendar time, java.lang.Object r)
onRefused
in interface InfoStatusCallback
time
- Calendar time of refusal.reason
- Object containing the reason for refusing the request.public void onStarted(java.util.Calendar time, java.lang.Object startInfo)
onStarted
in interface ActionStatusCallback
time
- Calendar time of starting an action.startInfo
- Object containing additional (optional) info about the start of the action.public void onCompleted(java.util.Calendar time, java.lang.Object result)
onCompleted
in interface InfoStatusCallback
time
- Calendar time of information/action completion.result
- Object containing the result of the requested action.public void onAborted(java.util.Calendar time, java.lang.Object r)
onAborted
in interface ActionStatusCallback
time
- Calendar time of aborting an action.reason
- Object containing the reason for aborting an action.public void setResult(java.lang.Object result)
public java.lang.Object getResult()
public java.lang.String getCompletionStatus()
public void reset()
InfoStatusCallback
reset
in interface InfoStatusCallback
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |