Partager via


HubDispatcher Class

.NET Framework 4

Handles all communication over the hubs persistent connection.

Inheritance Hierarchy

System.Object
  Microsoft.AspNet.SignalR.PersistentConnection
    Microsoft.AspNet.SignalR.Hubs.HubDispatcher

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

Syntax

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

The HubDispatcher type exposes the following members.

Constructors

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

Top

Properties

  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.)

Top

Methods

  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.)

Top

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

Reference

Microsoft.AspNet.SignalR.Hubs Namespace