Enumeration SessionEventType
Enumeration members
DISCONNECTED
DISCONNECTED: = 3
Defined in features/client-control.ts:72
FAILED_OVER
FAILED_OVER: = 2
Defined in features/client-control.ts:67
RECONNECTED
RECONNECTED: = 1
Defined in features/client-control.ts:62
UPDATED
UPDATED: = 0
Defined in features/client-control.ts:57
Legend
Module
Object literal
Variable
Function
Function with type parameter
Index signature
Type alias
Enumeration
Enumeration member
Property
Method
Interface
Interface with type parameter
Constructor
Property
Method
Index signature
Class
Class with type parameter
Constructor
Property
Method
Accessor
Index signature
Inherited constructor
Inherited property
Inherited method
Inherited accessor
Protected property
Protected method
Protected accessor
Private property
Private method
Private accessor
Static property
Static method
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.