TcHmiSrvRequestListener Class

Provides a listener to invoke read-write requests and subscriptions.

Inheritance Hierarchy

System.Object
  TcHmiSrv.TcHmiSrvListener
    TcHmiSrv.TcHmiSrvRequestListenerBase
      TcHmiSrv.TcHmiSrvRequestListener
Namespace:  TcHmiSrv
Assembly:  TcHmiSrvExtNet (in TcHmiSrvExtNet.dll) Version: 3.0.0.0

Syntax

C#

public class TcHmiSrvRequestListener : TcHmiSrvRequestListenerBase, 
    IExternalCaller<string>

The TcHmiSrvRequestListener type exposes the following members.

Constructors

 

Name

Description

TcHmiSrvRequestListener Class 1:

TcHmiSrvRequestListener

Initializes a new instance of the TcHmiSrvRequestListener class

Properties

 

Name

Description

TcHmiSrvRequestListener Class 2:

Type

(Inherited from TcHmiSrvListener.)

Methods

 

Name

Description

TcHmiSrvRequestListener Class 3:

Dispose.

(Inherited from TcHmiSrvListener.)

TcHmiSrvRequestListener Class 4:

Dispose(Boolean)

(Inherited from TcHmiSrvRequestListenerBase.)

TcHmiSrvRequestListener Class 5:

Equals

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

TcHmiSrvRequestListener 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.)

TcHmiSrvRequestListener Class 7:

GetHashCode

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

TcHmiSrvRequestListener Class 8:

GetType

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

TcHmiSrvRequestListener Class 9:

MemberwiseClone

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

TcHmiSrvRequestListener Class 10:

ToString

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

Events

 

Name

Description

TcHmiSrvRequestListener Class 11:

OnRequest

Called when a client requests a symbol from the domain of the TwinCAT HMI server extension.
This event will be called multiple times if RequestType equals RequestType_Subscription.
In a subscription the returned data will only be sent to clients if either the read value or the return codes changed.

Reference

TcHmiSrv Namespace