Click or drag to resize

HubClientBase Class

Represents a base class implementation for IHubClient implementations.
Inheritance Hierarchy
SystemObject
  GSF.Web.HubsHubClientBase
    GSF.Web.HubsDataContextHubClient

Namespace: GSF.Web.Hubs
Assembly: GSF.Web (in GSF.Web.dll) Version: 2.4.207-beta
Syntax
public abstract class HubClientBase : IHubClient, 
	IDisposable
View Source

The HubClientBase type exposes the following members.

Constructors
 NameDescription
Protected methodHubClientBaseInitializes a new instance of the HubClientBase class
Top
Properties
 NameDescription
Public propertyClientScript Gets reference to SignalR hub client browser DOM functionality.
Public propertyConnectionID Gets or sets the connection ID of the calling client.
Public propertyHubInstance Gets or sets reference to SignalR hub instance.
Public propertyLogExceptionFunction Gets or sets delegate to use to log exception messages.
Public propertyLogStatusMessageFunction Gets or sets delegate to use to log status messages.
Top
Methods
 NameDescription
Public methodDispose Releases all the resources used by the HubClientBase object.
Protected methodDispose(Boolean) Releases the unmanaged resources used by the HubClientBase object and optionally releases the managed resources.
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 methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Protected methodLogException Logs an exception to hub client and any provided log exception delegate.
Protected methodLogStatusMessage Logs a status message to hub client and any provided log status message delegate.
Protected methodMemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
Public methodToStringReturns a string that represents the current object.
(Inherited from Object)
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
Remarks
This base class is useful for defining classes that should persist per SignalR session.
See Also