RequestListener Class

Represents a listener to invoke read-write requests and subscriptions. This class cannot be inherited.

Inheritance Hierarchy

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

Syntax

C#

public sealed class RequestListener : Listener, 
    IExternalCaller<string>

The RequestListener type exposes the following members.

Constructors

 

Name

Description

RequestListener Class 1:

RequestListener

Initializes a new instance of the RequestListener class.

Properties

 

Name

Description

RequestListener Class 2:

Type

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

Methods

 

Name

Description

RequestListener Class 3:

Equals

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

RequestListener Class 4:

GetHashCode

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

RequestListener Class 5:

GetType

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

RequestListener Class 6:

ToString

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

Events

 

Name

Description

RequestListener Class 7:

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 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.Core.Listeners Namespace