HubDispatcher Class

.NET Framework 4

Handles all communication over the hubs persistent connection.

Inheritance Hierarchy


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


Public Class HubDispatcher _
    Inherits PersistentConnection
Dim instance As HubDispatcher
public class HubDispatcher : PersistentConnection
public ref class HubDispatcher : public PersistentConnection
type HubDispatcher =  
        inherit PersistentConnection 
public class HubDispatcher extends PersistentConnection

The HubDispatcher type exposes the following members.


  Name Description
Public method HubDispatcher Initializes an instance of the HubDispatcher class.



  Name Description
Protected property AckHandler (Inherited from PersistentConnection.)
Public property Connection Gets the IConnection for the PersistentConnection . (Inherited from PersistentConnection.)
Protected property Counters (Inherited from PersistentConnection.)
Public property Groups Gets the IConnectionGroupManager for the PersistentConnection . (Inherited from PersistentConnection.)
Protected property JsonSerializer (Inherited from PersistentConnection.)
Protected property MessageBus (Inherited from PersistentConnection.)
Protected property ProtectedData (Inherited from PersistentConnection.)
Protected property Trace (Overrides PersistentConnection.Trace.)
Protected property TraceManager (Inherited from PersistentConnection.)
Protected property Transport (Inherited from PersistentConnection.)



  Name Description
Public method Authorize (Inherited from PersistentConnection.)
Protected method AuthorizeRequest (Overrides PersistentConnection.AuthorizeRequest(IRequest).)
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetHashCode (Inherited from Object.)
Protected method GetSignals (Overrides PersistentConnection.GetSignals(String).)
Public method GetType (Inherited from Object.)
Public method Initialize (Overrides PersistentConnection.Initialize(IDependencyResolver, HostContext).)
Protected method MemberwiseClone (Inherited from Object.)
Protected method OnConnected (Overrides PersistentConnection.OnConnected(IRequest, String).)
Protected method OnDisconnected (Overrides PersistentConnection.OnDisconnected(IRequest, String).)
Protected method OnReceived Processes the hub's incoming method calls. (Overrides PersistentConnection.OnReceived(IRequest, String, String).)
Protected method OnReconnected (Overrides PersistentConnection.OnReconnected(IRequest, String).)
Protected method OnRejoiningGroups (Overrides PersistentConnection.OnRejoiningGroups(IRequest, IList<String>, String).)
Public method ProcessRequest (Overrides PersistentConnection.ProcessRequest(HostContext).)
Public method ToString (Inherited from Object.)


Thread Safety

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

See Also


Microsoft.AspNet.SignalR.Hubs Namespace