Uses of Interface
com.pushtechnology.diffusion.client.session.SessionId
Packages that use SessionId
Package
Description
Client API.
Client API : Standard Features.
Client API : Client Control Features.
Client API : Topic Control Features.
Client API : Sessions.
-
Uses of SessionId in com.pushtechnology.diffusion.client
Methods in com.pushtechnology.diffusion.client that return SessionIdModifier and TypeMethodDescriptionDiffusion.Implementation.sessionIdFromString
(String sessionIdAsString) Parses a session id from a string.static SessionId
Diffusion.sessionIdFromString
(String sessionIdAsString) Parse aSessionId
from a string. -
Uses of SessionId in com.pushtechnology.diffusion.client.features
Methods in com.pushtechnology.diffusion.client.features that return SessionIdModifier and TypeMethodDescriptionMessaging.RequestHandler.RequestContext.getSessionId()
SessionId of the session that sent the request.Methods in com.pushtechnology.diffusion.client.features with parameters of type SessionIdModifier and TypeMethodDescriptionvoid
Messaging.FilteredRequestCallback.Default.onResponse
(SessionId sessionId, R response) void
Messaging.FilteredRequestCallback.onResponse
(SessionId sessionId, R response) Called when a response has been received.void
Messaging.FilteredRequestCallback.Default.onResponseError
(SessionId sessionId, Throwable throwable) void
Messaging.FilteredRequestCallback.onResponseError
(SessionId sessionId, Throwable throwable) Called when a response from a session results in an error.<T,
R> CompletableFuture<R> Messaging.sendRequest
(SessionId sessionId, String path, T request, Class<T> requestType, Class<R> responseType) Send a request to a session. -
Uses of SessionId in com.pushtechnology.diffusion.client.features.control.clients
Methods in com.pushtechnology.diffusion.client.features.control.clients that return SessionIdModifier and TypeMethodDescriptionClientControl.SessionEventStream.Event.sessionId()
Provides the session identifier of the client session that the event relates to.ClientControl.SessionLockDetails.sessionId()
Returns the session identifier of the session that holds the lock.Methods in com.pushtechnology.diffusion.client.features.control.clients with parameters of type SessionIdModifier and TypeMethodDescriptionChanges the assigned roles of another session.Close a client session.ClientControl.getSessionProperties
(SessionId sessionId, Collection<String> requiredProperties) Query the server for property values of a specified client session.void
ClientControl.QueueEventStream.Default.onLowerThresholdCrossed
(SessionId sessionId, MessageQueuePolicy policy) void
ClientControl.QueueEventStream.onLowerThresholdCrossed
(SessionId sessionId, MessageQueuePolicy policy) The configured lower threshold for a client's queue has been reached.void
ClientControl.SessionPropertiesStream.Default.onSessionClose
(SessionId sessionId, Map<String, String> properties, ClientControl.CloseReason closeReason) void
ClientControl.SessionPropertiesStream.onSessionClose
(SessionId sessionId, Map<String, String> properties, ClientControl.CloseReason closeReason) Deprecated.Notification that a client session has closed.void
ClientControl.SessionPropertiesStream.Default.onSessionEvent
(SessionId sessionId, ClientControl.SessionPropertiesStream.EventType eventType, Map<String, String> properties, Map<String, String> previousValues) void
ClientControl.SessionPropertiesStream.onSessionEvent
(SessionId sessionId, ClientControl.SessionPropertiesStream.EventType eventType, Map<String, String> properties, Map<String, String> previousValues) Deprecated.Notification of a session event that can result in a change of properties.void
ClientControl.SessionPropertiesStream.Default.onSessionOpen
(SessionId sessionId, Map<String, String> properties) void
ClientControl.SessionPropertiesStream.onSessionOpen
(SessionId sessionId, Map<String, String> properties) Deprecated.Notification that a new client session has been opened.void
ClientControl.QueueEventStream.Default.onUpperThresholdCrossed
(SessionId sessionId, MessageQueuePolicy policy) void
ClientControl.QueueEventStream.onUpperThresholdCrossed
(SessionId sessionId, MessageQueuePolicy policy) The configured upper threshold for a client's queue has been reached.AuthenticationControl.revokeAuthentication
(SessionId sessionId) Revokes a session's authentication.ClientControl.setConflated
(SessionId sessionId, boolean conflate) Control client queue conflation.ClientControl.setSessionProperties
(SessionId sessionId, Map<String, String> properties) Send a request to the server to change the user-defined session properties for a session. -
Uses of SessionId in com.pushtechnology.diffusion.client.features.control.topics
Methods in com.pushtechnology.diffusion.client.features.control.topics that return SessionIdModifier and TypeMethodDescriptiondefault SessionId
TopicControl.MissingTopicNotification.getSessionId()
Returns the identity of the session that made the request.Methods in com.pushtechnology.diffusion.client.features.control.topics with parameters of type SessionIdModifier and TypeMethodDescriptionSubscriptionControl.getTopicSelections
(SessionId sessionId) Returns a map of the current topic selection state for a specified session, keyed on topic selection scope.default CompletableFuture<?>
SubscriptionControl.subscribe
(SessionId sessionId, TopicSelector topics) Subscribe another session to topics.SubscriptionControl.subscribe
(SessionId sessionId, TopicSelector topics, String scope) Subscribe another session to topics.default CompletableFuture<?>
Subscribe another session to topics.Subscribe another session to topics.default CompletableFuture<?>
SubscriptionControl.unsubscribe
(SessionId sessionId, TopicSelector topics) Unsubscribe another session from topics.SubscriptionControl.unsubscribe
(SessionId sessionId, TopicSelector topics, String scope) Unsubscribe another session from topics.default CompletableFuture<?>
SubscriptionControl.unsubscribe
(SessionId sessionId, String topics) Unsubscribe another session from topics.SubscriptionControl.unsubscribe
(SessionId sessionId, String topics, String scope) Unsubscribe another session from topics.SubscriptionControl.unsubscribeAllScopes
(SessionId sessionId, TopicSelector topics) Unsubscribe topics from all topic selection scopes.SubscriptionControl.unsubscribeAllScopes
(SessionId sessionId, String topics) Unsubscribe another session from topics for all topic selection scopes. -
Uses of SessionId in com.pushtechnology.diffusion.client.session
Methods in com.pushtechnology.diffusion.client.session that return SessionIdModifier and TypeMethodDescriptionSession.getSessionId()
Returns the unique identifier for the session as assigned by the (first) server it connects to.