Event types used within SessionPropertiesListener.onSessionEvent.
Example:
session.clients.setSessionPropertiesListener(props, { // ... onSessionEvent : function(sessionID, event, properties, previous) { switch (event) { case session.clients.SessionEventType.DISCONNECTED : console.log(sessionID + " has disconnected"); break; case session.clients.SessionEventType.RECONNECTED : console.log(sessionID + " has reconnected"); break; } } // ... });
since 6.11
This type is required for the deprecated SessionPropertiesListener which is used with the deprecated ClientControl.setSessionPropertiesListener.
Use the new ClientControl.addSessionEventListener, which provides greater functionality and reports sessions at all cluster members. This interface will be removed in a future release.
A session has disconnected.
A session has failed over from one server to another in a cluster.
A session has reconnected.
One or more relevant session properties have been updated.
Copyright © 2025 DiffusionData Ltd. All Rights Reserved.
Event types used within SessionPropertiesListener.onSessionEvent.
Example:
session.clients.setSessionPropertiesListener(props, { // ... onSessionEvent : function(sessionID, event, properties, previous) { switch (event) { case session.clients.SessionEventType.DISCONNECTED : console.log(sessionID + " has disconnected"); break; case session.clients.SessionEventType.RECONNECTED : console.log(sessionID + " has reconnected"); break; } } // ... });since 6.11
This type is required for the deprecated SessionPropertiesListener which is used with the deprecated ClientControl.setSessionPropertiesListener.
Use the new ClientControl.addSessionEventListener, which provides greater functionality and reports sessions at all cluster members. This interface will be removed in a future release.