Hub Class

.NET Framework 4.5

Provides methods that communicate with SignalR connections that connected to a Hub.

System.Object
  Microsoft.AspNet.SignalR.Hub

Namespace:  Microsoft.AspNet.SignalR
Assembly:  Microsoft.AspNet.SignalR.Core (in Microsoft.AspNet.SignalR.Core.dll)

public abstract class Hub : IHub, 
	IDisposable

The Hub type exposes the following members.

  NameDescription
Protected methodHubInitializes a new instance of the Hub class.
Top

  NameDescription
Public propertyClientsGets or sets the clients that communicates with SignalR connections.
Public propertyContextGets or sets the information about the calling client.
Public propertyGroupsGets or sets the group manager for this hub instance.
Top

  NameDescription
Public methodDispose()Releases all resources used by this instance.
Protected methodDispose(Boolean)Releases all resources used by this instance.
Public methodEquals (Inherited from Object.)
Protected methodFinalize (Inherited from Object.)
Public methodGetHashCode (Inherited from Object.)
Public methodGetType (Inherited from Object.)
Protected methodMemberwiseClone (Inherited from Object.)
Public methodOnConnectedOccurs when the connection connects to this hub instance.
Public methodOnDisconnectedOccurs when a connection disconnects from this hub instance.
Public methodOnReconnectedOccurs when the connection reconnects to this hub instance.
Public methodToString (Inherited from Object.)
Top

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Show: