public static class Messaging.SendCallback.Default extends Callback.Default implements Messaging.SendCallback
Messaging.SendCallback
.
This simply logs onComplete calls at 'debug' level. This method may be overridden to perform more specific processing.
Messaging.SendCallback.Default
Constructor and Description |
---|
Messaging.SendCallback.Default() |
Modifier and Type | Method and Description |
---|---|
void |
onComplete()
Called to indicate that the sent message has been received by the
server, with a registered handler on the topic path.
|
onDiscard
public void onComplete()
Messaging.SendCallback
onDiscard
will be called and an error will
be dispatched to the session error handler.onComplete
in interface Messaging.SendCallback
Copyright © 2016 Push Technology Ltd. All Rights Reserved.