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 SessionIdDiffusion.sessionIdFromString(String sessionIdAsString) Parse aSessionIdfrom 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 TypeMethodDescriptionvoidMessaging.FilteredRequestCallback.Default.onResponse(SessionId sessionId, R response) voidMessaging.FilteredRequestCallback.onResponse(SessionId sessionId, R response) Called when a response has been received.voidMessaging.FilteredRequestCallback.Default.onResponseError(SessionId sessionId, Throwable throwable) voidMessaging.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.voidClientControl.QueueEventStream.Default.onLowerThresholdCrossed(SessionId sessionId, MessageQueuePolicy policy) voidClientControl.QueueEventStream.onLowerThresholdCrossed(SessionId sessionId, MessageQueuePolicy policy) The configured lower threshold for a client's queue has been reached.voidClientControl.SessionPropertiesStream.Default.onSessionClose(SessionId sessionId, Map<String, String> properties, ClientControl.CloseReason closeReason) voidClientControl.SessionPropertiesStream.onSessionClose(SessionId sessionId, Map<String, String> properties, ClientControl.CloseReason closeReason) Deprecated.Notification that a client session has closed.voidClientControl.SessionPropertiesStream.Default.onSessionEvent(SessionId sessionId, ClientControl.SessionPropertiesStream.EventType eventType, Map<String, String> properties, Map<String, String> previousValues) voidClientControl.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.voidClientControl.SessionPropertiesStream.Default.onSessionOpen(SessionId sessionId, Map<String, String> properties) voidClientControl.SessionPropertiesStream.onSessionOpen(SessionId sessionId, Map<String, String> properties) Deprecated.Notification that a new client session has been opened.voidClientControl.QueueEventStream.Default.onUpperThresholdCrossed(SessionId sessionId, MessageQueuePolicy policy) voidClientControl.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 SessionIdTopicControl.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.