| Modifier and Type | Interface and Description |
|---|---|
interface |
AsynchronousCallback
A callback which gets executed asynchronously.
|
interface |
SynchronousCallback
A callback which execution is synchronized.
|
| Modifier and Type | Interface and Description |
|---|---|
interface |
ClusterDiscoveryCallback
This callback is meant to regularly discover the addresses of all available HiveMQ cluster nodes.
|
| Modifier and Type | Interface and Description |
|---|---|
interface |
BeforePublishSendCallback
Gets called just before a
PUBLISH message is sent to a client. |
interface |
OnConnectCallback
This callback is called when a CONNECT MQTT message arrives.
|
interface |
OnDisconnectCallback
This callback gets called when a client disconnects gracefully with a
DISCONNECT message or when disconnects
abruptly by closing the TCP connection . |
interface |
OnPublishReceivedCallback
Gets called when a
PUBLISH MQTT message arrives. |
interface |
OnPublishSend
Gets called when an outgoing PUBLISH message event occurs.
|
interface |
OnSessionReadyCallback
This callback gets called once the MQTT Session is ready for a client.
|
interface |
OnSubscribeCallback
Gets called when a
SUBSCRIBE message arrives
When a subscription was invalid it's possible to throw a
InvalidSubscriptionException. |
interface |
OnTopicSubscriptionCallback
|
interface |
OnUnsubscribeCallback
A callback which gets called when an UNSUBSCRIBE MQTT message arrives.
|
| Modifier and Type | Interface and Description |
|---|---|
interface |
OnBrokerReady
*This callback gets called once the broker is started, after network interfaces are bound
and after a possible cluster join was executed.
|
interface |
OnBrokerStart
This callback gets called when the broker starts but before network interfaces are bound
and before other bootstrapping actions take place.
|
interface |
OnBrokerStop
This callback gets executed when the broker shuts down.
|
| Modifier and Type | Interface and Description |
|---|---|
interface |
OnConnackSend
The OnConnackSend Callback gets called when the broker sent
a CONNACK message to a client
|
interface |
OnPingCallback
The OnPingCallback which gets called after a client sent a PINGREQ message
|
interface |
OnPubackReceived
This callback gets called after a PUBACK message was received from a client
|
interface |
OnPubackSend
The OnPubackSend callback gets called after HiveMQ sent a PUBACK message to a client
|
interface |
OnPubcompReceived
The OnPubcompReceived Callback gets called after HiveMQ receives a PUBCOMP
message from a client.
|
interface |
OnPubcompSend
The OnPubcompSend callback gets executed after a PUBCOMP message was sent by HiveMQ
to a client.
|
interface |
OnPubrecReceived
The OnPubrecReceived Callback gets called after HiveMQ receives a PUBREC
message from a client.
|
interface |
OnPubrecSend
The OnPubrecSend callback gets executed after a PUBREC message was sent by HiveMQ
to a client.
|
interface |
OnPubrelReceived
The OnPubrelReceived Callback gets called after HiveMQ receives a PUBREL
message from a client.
|
interface |
OnPubrelSend
The OnPubrelSend callback gets executed after a PUBREL message was sent by HiveMQ
to a client.
|
interface |
OnSubackSend
The OnSubackSend callback gets called after HiveMQ sends a SUBACK message to a client.
|
interface |
OnUnsubackSend
The OnUnsubackSend callback gets called after HiveMQ sends a UNSUBACK message to a client.
|
| Modifier and Type | Method and Description |
|---|---|
<T extends Callback> |
CallbackRegistry.getCallbacks(Class<T> callbackClass)
Returns a list of all available callbacks for a specific callback class.
|
<T extends Callback> |
CallbackRegistry.isCallbackAvailable(Class<T> callbackClass)
Returns true if a callbacks for the specific callback class is registered, false otherwise.
|
| Modifier and Type | Method and Description |
|---|---|
Set<Callback> |
CallbackRegistry.getAllCallbacks()
Returns a set of all available callbacks in the Callback Registry
|
Set<Class<? extends Callback>> |
CallbackRegistry.getAllRegisteredCallbackClasses()
Returns a set of all callback interfaces for which callbacks are available.
|
| Modifier and Type | Method and Description |
|---|---|
void |
CallbackRegistry.addCallback(Callback callback)
Makes a callback available to HiveMQ.
|
void |
CallbackRegistry.addCallbacks(Callback... callbacks)
Makes one or more callbacks available to HiveMQ.
|
void |
CallbackRegistry.removeCallback(Callback callback)
Removes a callback from the Callback Registry
|
| Modifier and Type | Method and Description |
|---|---|
void |
CallbackRegistry.removeAllCallbacks(Class<? extends Callback> callbackClass)
Remove all callbacks for a specific callback class
|
| Modifier and Type | Interface and Description |
|---|---|
interface |
ScheduledCallback
This callback gets called periodically based on the value provided in the
ScheduledCallback.cronExpression() method. |
| Modifier and Type | Interface and Description |
|---|---|
interface |
AfterLoginCallback
The methods of this callback get called when a login attempt was made.
|
interface |
OnAuthenticationCallback
This callback gets called when a CONNECT message arrives and is meant to
perform the authentication of a client.
|
interface |
OnAuthorizationCallback
This callback returns a list of
MqttTopicPermissions. |
interface |
OnInsufficientPermissionDisconnect
This callback gets executed after a client was disconnected due to insufficient permissions.
|
interface |
RestrictionsAfterLoginCallback
This callback gets executed after a CONNECT message arrived and
the client was authenticated successfully.
|
| Modifier and Type | Interface and Description |
|---|---|
interface |
WebUIAuthenticationCallback
This callback is called, when a web ui user is trying to log in.
|
Copyright © 2013-2018 dc-square GmbH. All Rights Reserved.