C
- context object typepublic static interface Messaging.SendContextCallback<C> extends ContextCallback<C>
Use this alternative to Messaging.SendCallback
to associate some arbitrary
context object with each call.
Modifier and Type | Interface and Description |
---|---|
static class |
Messaging.SendContextCallback.Default<C>
Default implementation of
Messaging.SendContextCallback . |
Modifier and Type | Method and Description |
---|---|
void |
onComplete(C context)
Called to indicate that the sent message has been received by the
server, with a registered handler on the topic path.
|
onDiscard
void onComplete(C context)
onDiscard
will be called
and an error will be dispatched to the session error handler.context
- the context object supplied when making the call. May
be null
.Copyright © 2016 Push Technology Ltd. All Rights Reserved.