TcHmiSrvSessionListener Class

Provides a listener to observe the connections of the TwinCAT HMI server.

Inheritance Hierarchy

System.Object
  TcHmiSrv.TcHmiSrvListener
    TcHmiSrv.TcHmiSrvSessionListenerBase
      TcHmiSrv.TcHmiSrvSessionListener
Namespace:  TcHmiSrv
Assembly:  TcHmiSrvExtNet (in TcHmiSrvExtNet.dll) Version: 3.0.0.0

Syntax

C#

public class TcHmiSrvSessionListener : TcHmiSrvSessionListenerBase, 
    IExternalCaller<string>

The TcHmiSrvSessionListener type exposes the following members.

Constructors

 

Name

Description

TcHmiSrvSessionListener Class 1:

TcHmiSrvSessionListener

Initializes a new instance of the TcHmiSrvSessionListener class

Properties

 

Name

Description

TcHmiSrvSessionListener Class 2:

Type

(Inherited from TcHmiSrvListener.)

Methods

 

Name

Description

TcHmiSrvSessionListener Class 3:

Dispose.

(Inherited from TcHmiSrvListener.)

TcHmiSrvSessionListener Class 4:

Dispose(Boolean)

(Inherited from TcHmiSrvSessionListenerBase.)

TcHmiSrvSessionListener Class 5:

Equals

Determines whether the specified object is equal to the current object. (Inherited from Object.)

TcHmiSrvSessionListener Class 6:

Finalize

Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)

TcHmiSrvSessionListener Class 7:

GetHashCode

Serves as the default hash function. (Inherited from Object.)

TcHmiSrvSessionListener Class 8:

GetType

Gets the Type of the current instance. (Inherited from Object.)

TcHmiSrvSessionListener Class 9:

MemberwiseClone

Creates a shallow copy of the current Object. (Inherited from Object.)

TcHmiSrvSessionListener Class 10:

ToString

Returns a string that represents the current object. (Inherited from Object.)

Events

 

Name

Description

TcHmiSrvSessionListener Class 11:

OnCloseWebsocket

Called when an existing WebSocket connection is closed.

TcHmiSrvSessionListener Class 12:

OnCreateWebsocket

Called when a new WebSocket connection is created.

TcHmiSrvSessionListener Class 13:

OnLogin

Called when a user is logged in.

TcHmiSrvSessionListener Class 14:

OnLogout

Called when a user is logged out.

Reference

TcHmiSrv Namespace