Connectivity Software User's Guide and Reference
IEasySparkplugConsumer Interface Members
Methods 

OpcLabs.EasySparkplug Assembly > OpcLabs.EasySparkplug Namespace : IEasySparkplugConsumer Interface

The following tables list the members exposed by IEasySparkplugConsumer.

Public Methods
 NameDescription
 MethodPerforms application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. (Inherited from System.IDisposable)
 MethodGets the service object of the specified type. (Inherited from System.IServiceProvider)
 MethodPublishes the specified payload to the Sparkplug system.  
 MethodSubscribes to notifications for the specified metric on an edge node or device.  
 MethodSubscribes to payload notifications from an edge node or device.  
 MethodUnsubscribes from notifications for all metrics.  
 MethodUnsubscribes from notifications for all payloads.  
 MethodUnsubscribes from metric subscription specified by an integer handle.  
 MethodUnsubscribes from payload subscription specified by an integer handle.  
Top
Extension Methods
 NameDescription
Public Extension MethodOverloaded. Sends a rebirth request to the specified edge node.

If there is an error publishing the payload, this method throws OpcLabs.EasySparkplug.OperationModel.SparkplugException.

Public Extension MethodOverloaded. Publishes a payload with a single metric for a Sparkplug device.

In Sparkplug terms, this method effectively sends the DCMD message to the device.

If there is an error publishing the payload, this method throws OpcLabs.EasySparkplug.OperationModel.SparkplugException.

Public Extension MethodOverloaded. Publishes a payload for a Sparkplug device.

In Sparkplug terms, this method effectively sends the DCMD message to the device.

If there is an error publishing the payload, this method throws OpcLabs.EasySparkplug.OperationModel.SparkplugException.

Public Extension MethodOverloaded. Publishes a payload with a single metric for a Sparkplug edge node.

In Sparkplug terms, this method effectively sends the NCMD message to the edge node.

If there is an error publishing the payload, this method throws OpcLabs.EasySparkplug.OperationModel.SparkplugException.

Public Extension MethodOverloaded. Publishes a payload for a Sparkplug edge node.

In Sparkplug terms, this method effectively sends the NCMD message to the edge node.

If there is an error publishing the payload, this method throws OpcLabs.EasySparkplug.OperationModel.SparkplugException.

Public Extension MethodPublishes a payload with a single metric.
Public Extension MethodOverloaded. Subscribes to notifications for the specified metric on a device.
Public Extension MethodOverloaded. Subscribes to payload notifications from a device.
Public Extension MethodOverloaded. Subscribes to notifications for the specified metric on an edge node.
Public Extension MethodOverloaded. Subscribes to payload notifications from an edge node.
Public Extension MethodSubscribes to notifications for the specified metric on an edge node or device, specifying metric subscription arguments and callback.
Public Extension MethodSubscribes to payload notifications from an edge node or device, specifying payload subscription arguments and callback.
Public Extension MethodUnsubscribes from notifications for all metrics and payloads.
Top
See Also

Reference

IEasySparkplugConsumer Interface
OpcLabs.EasySparkplug Namespace