Package | Description |
---|---|
com.pushtechnology.diffusion.client.features.control.clients |
Unified API - Client Control Features.
|
Modifier and Type | Class and Description |
---|---|
static class |
ClientControl.ClientCallback.Default
Default implementation of
ClientControl.ClientCallback . |
Modifier and Type | Method and Description |
---|---|
void |
ClientControl.close(SessionId sessionId,
ClientControl.ClientCallback callback)
Close a client session.
|
void |
ClientControl.close(SessionId sessionId,
String reason,
ClientControl.ClientCallback callback)
Deprecated.
since 5.5. The reason parameter is not passed to the client
session being closed. Prefer
ClientControl.close(SessionId sessionId, ClientCallback callback)
instead.
If you want to notify the client being closed of the reason
for its closure, use the MessagingControl feature to send a
message to the client. To ensure that this message is
received before closing the client session, wait for the
callback to return before calling
ClientControl.close(SessionId sessionId, ClientCallback callback) |
void |
ClientControl.setConflated(SessionId sessionId,
boolean conflate,
ClientControl.ClientCallback callback)
Control client queue conflation.
|
void |
ClientControl.setThrottled(SessionId sessionId,
MessageQueuePolicy.ThrottlerType throttlerType,
int throttlingLimit,
ClientControl.ClientCallback callback)
Instruct a client session to conflate its message queue, and to throttle
the queue according to the provided parameters.
|
Copyright © 2016 Push Technology Ltd. All Rights Reserved.