TcHmiSrvSubscriptionListener Class
Provides a listener to get notified when a
client opens or closes a subscription.
If this listener is not registered at the TwinCAT HMI server,
subscriptions will just call the OnRequest
event.
Inheritance Hierarchy
System.Object
TcHmiSrv.TcHmiSrvListener
TcHmiSrv.TcHmiSrvSubscriptionListenerBase
TcHmiSrv.TcHmiSrvSubscriptionListener
Namespace: TcHmiSrv
Assembly: TcHmiSrvExtNet (in
TcHmiSrvExtNet.dll) Version: 3.0.0.0
Syntax
C#
public class TcHmiSrvSubscriptionListener : TcHmiSrvSubscriptionListenerBase,
IExternalCaller<string>
The TcHmiSrvSubscriptionListener type exposes the following members.
Constructors
|
Name |
Description |
---|---|---|
|
Initializes a new instance of the TcHmiSrvSubscriptionListener class |
Methods
|
Name |
Description |
---|---|---|
|
(Inherited from TcHmiSrvListener.) | |
|
(Inherited from TcHmiSrvSubscriptionListenerBase.) | |
|
Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
|
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
|
Serves as the default hash function. (Inherited from Object.) | |
|
Gets the Type of the current instance. (Inherited from Object.) | |
|
Creates a shallow copy of the current Object. (Inherited from Object.) | |
|
Returns a string that represents the current object. (Inherited from Object.) |
Events
|
Name |
Description |
---|---|---|
|
Called when a client opens a new
subscription. | |
|
Called when a client closes a subscription. |