Click or drag to resize

SubscriberHub Methods

The SubscriberHub type exposes the following members.

Methods
  Name Description
Public method Connect Initiates the subscriber connection.
Public method Disconnect Disconnects from the publisher.
Public method Dispose
(Inherited from HubBase)
Protected method Dispose(Boolean)
(Inherited from HubBase)
Public method Dispose(String) Closes the connection and releases all resources retained by the subscriber with this ID.
Public method Equals Determines whether the specified object is equal to the current object.
(Inherited from Object)
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
Public method GetHashCode Serves as the default hash function.
(Inherited from Object)
Public method GetMetadata Filters metadata and returns the result.
Public method GetType Gets the Type of the current instance.
(Inherited from Object)
Protected method MemberwiseClone Creates a shallow copy of the current Object.
(Inherited from Object)
Public method OnConnected Called when the connection connects to this hub instance.
(Inherited from HubBase)
Public method OnDisconnected Handles when a client disconnects from the hub.
(Overrides HubBase.OnDisconnected(Boolean))
Public method OnReconnected Called when the connection reconnects to this hub instance.
(Inherited from HubBase)
Public method SendCommand Sends a command to the publisher.
Public method SetMeasurementFormat Defines a string format to apply for a given measurement.
Public method SetMeasurementFormats Defines string formats to apply for the collection of format records.
Public method Subscribe Subscribes to the internal data publisher.
Public method ToString Returns a string that represents the current object.
(Inherited from Object)
Public method Unsubscribe Unsubscribes from the publisher.
Top
Extension Methods
  Name Description
Public Extension Method GetEnumValueOrDefault Gets the enumeration constant for value, if defined in the enumeration, or a default value.
(Defined by EnumExtensions)
Public Extension Method GetEnumValueOrDefaultT Gets the enumeration constant for this value, if defined in the enumeration, or a default value.
(Defined by EnumExtensions)
Top
See Also