EventListener Class

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

Inheritance Hierarchy

SystemObject
  Listener
    TcHmiSrv.Core.ListenersEventListener

Namespace: TcHmiSrv.Core.Listeners
Assembly: TcHmiSrvExtNet.Core (in TcHmiSrvExtNet.Core.dll) Version: 3.1.7447.0+85f9b473a1dd11b8f3e5c9a182fd1901975e46f9

Syntax

C#

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

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:

OnChangeAsync

Called when an Event is changed.

EventListener Class 9:

OnListEvents

Called when the Events are listed.

EventListener Class 10:

OnListEventsAsync

Called when the Events are listed.

EventListener Class 11:

OnReceive

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

EventListener Class 12:

OnReceiveAsync

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

EventListener Class 13:

OnRemoveEvent

Called when an Event is deleted.

EventListener Class 14:

OnRemoveEventAsync

Called when an Event is deleted.

Version Information

Supported in: 3.1.7447.0, 2.3.7447.0, 1.10.7447.0

Reference

TcHmiSrv.Core.Listeners Namespace

Copyright © Beckhoff Automation GmbH & Co. KG