C
- context object typepublic static class MessagingControl.SendContextCallback.Default<C> extends ContextCallback.Default<C> implements MessagingControl.SendContextCallback<C>
MessagingControl.SendContextCallback
.
This simply logs onComplete calls at 'debug' level. This method may be overridden to perform a more specific action.
MessagingControl.SendContextCallback.Default<C>
Constructor and Description |
---|
MessagingControl.SendContextCallback.Default() |
Modifier and Type | Method and Description |
---|---|
void |
onComplete(C context)
Called to indicate that the sent message has been received by the
target session - the receiving session must be connected and have a stream
that matches the topic path.
|
onDiscard
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
onDiscard
public MessagingControl.SendContextCallback.Default()
public void onComplete(C context)
MessagingControl.SendContextCallback
onDiscard
will be
called instead and an error will be dispatched to the session error handler.onComplete
in interface MessagingControl.SendContextCallback<C>
context
- the context object the application supplied when
making the call; may be null
Copyright © 2016 Push Technology Ltd. All Rights Reserved.