Click or drag to resize

RecordOperationsHubT Class

Defines a base class for implementing SignalR hubs that need record operations support.
Inheritance Hierarchy
SystemObject
  HubBase
    Hub
      GSF.Web.HubsRecordOperationsHubT
        GSF.Web.SecuritySecurityHub
        GSF.Web.SharedSharedHub

Namespace: GSF.Web.Hubs
Assembly: GSF.Web (in GSF.Web.dll) Version: 2.4.218-beta
Syntax
public abstract class RecordOperationsHub<T> : Hub, 
	IRecordOperationsHub, IDisposable
where T : class, IHub, IRecordOperationsHub
View Source

Type Parameters

T
Type of IRecordOperationsHub, typically inheritor.

The RecordOperationsHubT type exposes the following members.

Constructors
 NameDescription
Protected methodRecordOperationsHubT Creates a new RecordOperationsHubT.
Protected methodRecordOperationsHubT(ActionString, UpdateType, ActionException) Creates a new RecordOperationsHubT with the specified logging functions.
Protected methodRecordOperationsHubT(String, ActionString, UpdateType, ActionException) Creates a new RecordOperationsHubT with the specified DataContext and logging functions.
Top
Properties
 NameDescription
Public propertyClients
(Inherited from Hub)
Public propertyClientScript Gets reference to SignalR hub client browser DOM functionality.
Public propertyStatic memberConnectionCount Gets the hub connection count.
Public propertyConnectionID Gets active connection ID from current hub context or assigns one to use.
Public propertyContext Provides information about the calling client.
(Inherited from HubBase)
Public propertyDataContext Gets DataContext created for this RecordOperationsHubT instance.
Public propertyGroups The group manager for this hub instance.
(Inherited from HubBase)
Public propertyRecordOperationsCache Gets RecordOperationsCache for SignalR hub.
Top
Methods
 NameDescription
Public methodDispose
(Inherited from HubBase)
Protected methodDispose(Boolean) Releases the unmanaged resources used by the RecordOperationsHubT object and optionally releases the managed resources.
(Overrides HubBase.Dispose(Boolean))
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 methodGetConnectionID Gets connection ID for active hub context, if any.
Public methodGetHashCodeServes as the default hash function.
(Inherited from Object)
Public methodStatic memberGetRecordOperationsCache Gets statically cached instance of RecordOperationsCache for RecordOperationsHubT instances.
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 methodOnConnected Called when the connection connects to this hub instance.
(Overrides HubBase.OnConnected)
Public methodOnDisconnected Called when a connection disconnects from this hub gracefully or due to a timeout.
(Overrides HubBase.OnDisconnected(Boolean))
Public methodOnReconnected Called when the connection reconnects to this hub instance.
(Inherited from HubBase)
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
See Also