C
- context object typepublic static class Messaging.SendContextCallback.Default<C> extends ContextCallback.Default<C> implements Messaging.SendContextCallback<C>
Messaging.SendContextCallback
.
This simply logs onComplete calls at 'debug' level. This method may be overridden to perform more specific processing.
Messaging.SendContextCallback.Default<C>
Constructor and Description |
---|
Messaging.SendContextCallback.Default() |
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
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
onDiscard
public Messaging.SendContextCallback.Default()
public void onComplete(C context)
Messaging.SendContextCallback
onDiscard
will be called
and an error will be dispatched to the session error handler.onComplete
in interface Messaging.SendContextCallback<C>
context
- the context object supplied when making the call. May
be null
.Copyright © 2016 Push Technology Ltd. All Rights Reserved.