Click or drag to resize

SubscriberHub Class

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

Namespace:  openPDC
Assembly:  GSF.Web (in GSF.Web.dll) Version: 2.3.33-beta
Syntax
[AuthorizeHubRoleAttribute]
public class SubscriberHub : Hub
Request Example View Source

The SubscriberHub type exposes the following members.

Constructors
  NameDescription
Public methodSubscriberHub
Initializes 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 methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetMetadata
Filters metadata and returns the result.
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates 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 methodSubscribe
Subscribes to the internal data publisher.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Public methodUnsubscribe
Unsubscribes from the publisher.
Top
Extension Methods
  NameDescription
Public Extension MethodGetEnumValueOrDefault(Type, Object)Overloaded.
Gets the enumeration constant for value, if defined in the enumeration, or a default value.
(Defined by EnumExtensions.)
Public Extension MethodGetEnumValueOrDefaultT(Object)Overloaded.
Gets the enumeration constant for this value, if defined in the enumeration, or a default value.
(Defined by EnumExtensions.)
Top
See Also