SessionListener Class
Represents a listener to observe the connections of the TwinCAT HMI server. This class cannot be inherited.
Inheritance Hierarchy
SystemObject
Listener
TcHmiSrv.Core.ListenersSessionListener
Namespace: TcHmiSrv.Core.Listeners
Assembly: TcHmiSrvExtNet.Core (in
TcHmiSrvExtNet.Core.dll) Version:
3.1.7447.0+85f9b473a1dd11b8f3e5c9a182fd1901975e46f9
Syntax
C#
public sealed class SessionListener : Listener,
IExternalCaller<string>, IAsyncExternalCaller<string>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. | |
|
|
Serves as the default hash function. | |
|
|
Gets the Type of the current
instance. | |
|
|
Returns a string that represents the current object. |
Events
|
|
Name |
Description |
|---|---|---|
|
|
Called when a session is closed. | |
|
|
Called when a session is closed. | |
|
|
Called when an existing WebSocket connection is closed. | |
|
|
Called when an existing WebSocket connection is closed. | |
|
|
Called when a new session is created. | |
|
|
Called when a new session is created. | |
|
|
Called when a new WebSocket connection is created. | |
|
|
Called when a new WebSocket connection is created. | |
|
|
Called when a user is logged in. | |
|
|
Called when a user is logged in. | |
|
|
Called when a user is logged out. | |
|
|
Called when a user is logged out. |
Version Information
Supported in: 3.1.7447.0, 2.3.7447.0, 1.10.7447.0