|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface InfoStatusCallback
Defines the operations on the callback object associated with a request for information/action. The callback may send a status indicating whether the request for information/action has been accepted, refused, or completed.
Method Summary | |
---|---|
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 reason)
This method is invoked when the request is refused by the receiver. |
void |
reset()
Reset callback settings. |
Method Detail |
---|
void onAccepted(java.util.Calendar time, java.lang.Object acceptInfo)
time
- Calendar time of acceptance.acceptInfo
- Object containing additional (optional) info about the acceptance.void onRefused(java.util.Calendar time, java.lang.Object reason)
time
- Calendar time of refusal.reason
- Object containing the reason for refusing the request.void onCompleted(java.util.Calendar time, java.lang.Object result)
time
- Calendar time of information/action completion.result
- Object containing the result of the requested action.void reset()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |