Click or drag to resize
IHub Interface
The IHub interface defines characteristics of a Hub.

Namespace: OpenIIoT.SDK.Service.WebAPI
Assembly: OpenIIoT.SDK (in OpenIIoT.SDK.dll) Version: 0.5.0.39086
Syntax
public interface IHub

The IHub type exposes the following members.

Methods
  NameDescription
Public methodRead
Called from the HubManager event proxy; called when a subscribed Item's value changes.
Public methodSubscribe
Subscribes the calling client to the item matching the provided FQN.
Public methodUnsubscribe
Unsubscribes the calling client from the item matching the provided FQN.
Public methodWrite
Invoked by clients to update the value of an Item.
Public methodWriteToSource
Invoked by clients to update the value of the SourceItem(s) for an Item. Recursively writes the value all the way down to the origin.
Top
See Also