Click or drag to resize

SubscriberHub Class

SignalR hub that exposes server-side functions for the subscriber API.
Inheritance Hierarchy
SystemObject
  HubBase
    Hub
      GSF.Web.SharedSubscriberHub

Namespace: GSF.Web.Shared
Assembly: GSF.Web (in GSF.Web.dll) Version: 2.4.181-beta
Syntax
[AuthorizeHubRoleAttribute]
public class SubscriberHub : Hub
View Source

The SubscriberHub type exposes the following members.

Constructors
 NameDescription
Public methodSubscriberHubInitializes a new instance of the SubscriberHub class
Top
Properties
 NameDescription
Public propertyClients
(Inherited from Hub)
Public propertyContext Provides information about the calling client.
(Inherited from HubBase)
Public propertyGroups The group manager for this hub instance.
(Inherited from HubBase)
Top
Methods
 NameDescription
Public methodConnect Initiates the subscriber connection.
Public methodDisconnect Disconnects from the publisher.
Public methodDispose
(Inherited from HubBase)
Protected methodDispose(Boolean)
(Inherited from HubBase)
Public methodDispose(String) Closes the connection and releases all resources retained by the subscriber with this ID.
Public methodEqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
Public methodGetHashCodeServes as the default hash function.
(Inherited from Object)
Public methodGetMetadata Filters metadata and returns the result.
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Protected methodMemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
Public methodOnConnected Called when the connection connects to this hub instance.
(Inherited from HubBase)
Public methodOnDisconnected Handles when a client disconnects from the hub.
(Overrides HubBase.OnDisconnected(Boolean))
Public methodOnReconnected Called when the connection reconnects to this hub instance.
(Inherited from HubBase)
Public methodSendCommand Sends a command to the publisher.
Public methodSetMeasurementFormat Defines a string format to apply for a given measurement.
Public methodSetMeasurementFormats Defines string formats to apply for the collection of format records.
Public methodSubscribe Subscribes to the internal data publisher.
Public methodToStringReturns a string that represents the current object.
(Inherited from Object)
Public methodUnsubscribe Unsubscribes from the publisher.
Top
Extension Methods
 NameDescription
Public Extension MethodGetEnumValueOrDefault Gets the enumeration constant for value, if defined in the enumeration, or a default value.
(Defined by EnumExtensions)
Public Extension MethodGetEnumValueOrDefaultT Gets the enumeration constant for this value, if defined in the enumeration, or a default value.
(Defined by EnumExtensions)
Top
See Also