SessionListener Class
Represents a listener to observe the connections of the TwinCAT HMI server. This class cannot be inherited.
Inheritance Hierarchy
System.Object
Listener
TcHmiSrv.Core.Listeners.SessionListener
Namespace: TcHmiSrv.Core.Listeners
Assembly: TcHmiSrvExtNet.Core (in
TcHmiSrvExtNet.Core.dll) Version: 1.3.0.0
Syntax
C#
public sealed class SessionListener : Listener,
IExternalCaller<string, ErrorValue>
The SessionListener type exposes the following members.
Constructors
|
Name |
Description |
---|---|---|
|
Initializes a new instance of the SessionListener class. |
Methods
|
Name |
Description |
---|---|---|
|
Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
|
Serves as the default hash function. (Inherited from Object.) | |
|
Gets the Type of the current instance. (Inherited from Object.) | |
|
Returns a string that represents the current object. (Inherited from Object.) |
Events
|
Name |
Description |
---|---|---|
|
Called when a session is closed. | |
|
Called when an existing WebSocket connection is closed. | |
|
Called when a new session is created. | |
|
Called when a new WebSocket connection is created. | |
|
Called when a user is logged in. | |
|
Called when a user is logged out. |