Click or drag to resize

SubscriberHub Methods

The SubscriberHub type exposes the following members.

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