SubscriptionListener Class
Represents 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.
This class cannot be inherited.
Inheritance Hierarchy
SystemObject
Listener
TcHmiSrv.Core.ListenersSubscriptionListener
Namespace: TcHmiSrv.Core.Listeners
Assembly: TcHmiSrvExtNet.Core (in
TcHmiSrvExtNet.Core.dll) Version:
3.1.7447.0+85f9b473a1dd11b8f3e5c9a182fd1901975e46f9
Syntax
C#
public sealed class SubscriptionListener : Listener,
IExternalCaller<string>, IAsyncExternalCaller<string>The SubscriptionListener type exposes the following members.
Constructors
|
|
Name |
Description |
|---|---|---|
|
|
Initializes a new instance of the SubscriptionListener class. |
Properties
|
|
Name |
Description |
|---|---|---|
|
|
Gets the type of the SubscriptionListener. |
Methods
|
|
Name |
Description |
|---|---|---|
|
|
Determines whether the specified object is equal to the current
object. | |
|
|
Serves as the default hash function. | |
|
|
Gets the Type of the current
instance. | |
|
|
Returns a string that represents the current object. |
Events
|
|
Name |
Description |
|---|---|---|
|
|
Called when a client opens a new subscription. | |
|
|
Called when a client opens a new subscription. | |
|
|
Called when a client closes a subscription. | |
|
|
Called when a client closes a subscription. |
Version Information
Supported in: 3.1.7447.0, 2.3.7447.0, 1.10.7447.0