| Package | Description |
|---|---|
| com.hivemq.spi.services |
| Modifier and Type | Method and Description |
|---|---|
void |
BlockingClientGroupService.addClientToGroup(String group,
ClientData clientData)
Adds a client to a group.
|
void |
BlockingClientGroupService.addClientToGroup(String group,
String clientIdentifier)
Adds a client to a group.
|
void |
BlockingSessionAttributeStore.clear(String clientId)
Clears all session attributes for the connected client.
|
com.google.common.base.Optional<byte[]> |
BlockingSessionAttributeStore.get(String clientId,
String key)
Retrieves the value of the session attribute with the given key for a persistent client.
|
com.google.common.base.Optional<com.google.common.collect.ImmutableMap<String,byte[]>> |
BlockingSessionAttributeStore.getAll(String clientId)
Retrieves all session attributes for a persistent client.
|
com.google.common.base.Optional<String> |
BlockingSessionAttributeStore.getAsString(String clientId,
String key)
Retrieves the value of the session attribute with the given key for a persistent client.
|
com.google.common.base.Optional<String> |
BlockingSessionAttributeStore.getAsString(String clientId,
String key,
Charset charset)
Retrieves the value of the session attribute with the given key for a persistent client.
|
int |
BlockingClientService.getTTL(String clientId)
Returns the time to live for a client session in seconds.
|
void |
BlockingClientService.invalidateSession(String clientId)
Invalidates the client session for the client with the given client identifier.
|
void |
BlockingSessionAttributeStore.put(String clientId,
String key,
byte[] value)
Sets the given session attribute for a persistent client.
|
void |
BlockingSessionAttributeStore.putAsString(String clientId,
String key,
String value)
Sets the given session attribute for a persistent client.
|
void |
BlockingSessionAttributeStore.putAsString(String clientId,
String key,
String value,
Charset charset)
Sets the given session attribute for a persistent client.
|
OptionalAttribute |
BlockingSessionAttributeStore.putIfNewer(String clientId,
String key,
byte[] value,
long timestamp)
Sets the given session attribute for a persistent client if the timestamp of the attribute is newer than the timestamp of the already stored attribute.
|
OptionalAttribute |
BlockingSessionAttributeStore.putIfNewerOrEquals(String clientId,
String key,
byte[] value,
long timestamp)
Sets the given session attribute for a persistent client if the timestamp of the attribute is newer than or equal to the timestamp of the already stored attribute.
|
com.google.common.base.Optional<byte[]> |
BlockingSessionAttributeStore.remove(String clientId,
String key)
Removes the session attribute with the given key for a persistent client.
|
void |
BlockingClientService.setTTL(String clientId,
int ttl)
Sets the time to live for the client session.
|
Copyright © 2013-2018 dc-square GmbH. All Rights Reserved.