public interface CallEventHandler
Modifier and Type | Method and Description |
---|---|
void |
async(Object id,
Continuation cont,
AsyncTask task)
Callback triggered by a request by the call with the identifier
id to be
resumed after the task task has been completed. |
void |
failed(Object id,
Throwable error)
Callback triggered by an abnormal (error) termination of the main function of
the call with the identifier
id . |
void |
paused(Object id,
Continuation cont)
Callback triggered when the execution of the call with the identifier
id
is paused. |
void |
returned(Object id,
Object[] result)
Callback triggered by the normal termination of the main function of the call
with the identifier
id . |
void returned(Object id, Object[] result)
id
.id
- the call identifier, must not be null
result
- the return values, must not be null
void failed(Object id, Throwable error)
id
.id
- the call identifier, must not be null
error
- the error that caused the abnormal termination, must not be null
void paused(Object id, Continuation cont)
id
is paused.id
- the call identifier, must not be null
cont
- the call continuation, must not be null
void async(Object id, Continuation cont, AsyncTask task)
id
to be
resumed after the task task
has been completed.id
- the call identifier, must not be null
cont
- the call continuation, must not be null
task
- the task, must not be null
Copyright © 2016. All rights reserved.