EventListener Class

Provides a listener to interact with the event system of the TwinCAT HMI server.

Inheritance Hierarchy

System.Object
  Listener
    TcHmiSrv.Core.Listeners.EventListener
Namespace:  TcHmiSrv.Core.Listeners
Assembly:  TcHmiSrvExtNet.Core (in TcHmiSrvExtNet.Core.dll) Version: 1.3.0.0

Syntax

C#

public sealed class EventListener : Listener, 
    IExternalCaller<string, ErrorValue>

The EventListener type exposes the following members.

Constructors

 

Name

Description

EventListener Class 1:

EventListener

Initializes a new instance of the EventListener class.

Properties

 

Name

Description

EventListener Class 2:

Type

Gets the type of the EventListener. (Overrides Listener.Type.)

Methods

 

Name

Description

EventListener Class 3:

Equals

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

EventListener Class 4:

GetHashCode

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

EventListener Class 5:

GetType

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

EventListener Class 6:

ToString

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

Events

 

Name

Description

EventListener Class 7:

OnChange

Called when an Event is changed.

EventListener Class 8:

OnListEvents

Called when the Events are listed.

EventListener Class 9:

OnReceive

Called when an extension is loaded and it's initial list of Events is fetched.

EventListener Class 10:

OnRemoveEvent

Called when an Event is deleted.

Reference

TcHmiSrv.Core.Listeners Namespace