Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

HubDispatcher Class

.NET Framework 4.5

Handles all communication over the hubs persistent connection.

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)

public ref class HubDispatcher : public PersistentConnection

The HubDispatcher type exposes the following members.

  NameDescription
Public methodHubDispatcherInitializes a new instance of the HubDispatcher class.
Top

  NameDescription
Protected propertyAckHandlerGets or sets the Ack handler of this connection. (Inherited from PersistentConnection.)
Public propertyConnectionGets or sets the connection. (Inherited from PersistentConnection.)
Protected propertyCountersGets or sets the performance counter manager. (Inherited from PersistentConnection.)
Public propertyGroupsGets or sets the groups of connection. (Inherited from PersistentConnection.)
Protected propertyJsonSerializerGets or sets the JSON serializer. (Inherited from PersistentConnection.)
Protected propertyMessageBusGets or sets the message bus for the connection. (Inherited from PersistentConnection.)
Protected propertyProtectedDataGets or sets the protected data of this connection. (Inherited from PersistentConnection.)
Protected propertyTraceGets the hub connections that enable applications to trace the execution of code and associate trace messages with their source. (Overrides PersistentConnection::Trace.)
Protected propertyTraceManagerGets or sets the trace manager. (Inherited from PersistentConnection.)
Protected propertyTransportGets or sets the transport associated with this connection. (Inherited from PersistentConnection.)
Protected propertyUserIdProvider (Inherited from PersistentConnection.)
Top

  NameDescription
Public methodAuthorizeDetermines whether this connection is authorized. (Inherited from PersistentConnection.)
Protected methodAuthorizeRequestBuilds a list of hubs that are authorized for the specified request for connection. (Overrides PersistentConnection::AuthorizeRequest(IRequest).)
Public methodEquals (Inherited from Object.)
Protected methodFinalize (Inherited from Object.)
Public methodGetHashCode (Inherited from Object.)
Protected methodGetSignals (Overrides PersistentConnection::GetSignals(String, String).)
Public methodGetType (Inherited from Object.)
Public methodInitializeCalled by the host to initialize the hub dispatching for the IDependencyResolver. (Overrides PersistentConnection::Initialize(IDependencyResolver).)
Protected methodMemberwiseClone (Inherited from Object.)
Protected methodOnConnectedCalled when the connection connects to this hub instance. (Overrides PersistentConnection::OnConnected(IRequest, String).)
Protected methodOnDisconnectedCalled when a connection disconnects from this hub instance. (Overrides PersistentConnection::OnDisconnected(IRequest, String).)
Protected methodOnReceivedProcesses the hub's incoming method calls. (Overrides PersistentConnection::OnReceived(IRequest, String, String).)
Protected methodOnReconnectedCalled when the connection reconnects to this hub instance. (Overrides PersistentConnection::OnReconnected(IRequest, String).)
Protected methodOnRejoiningGroupsCalled when a connection reconnects after a timeout to determine which groups should be rejoined. (Overrides PersistentConnection::OnRejoiningGroups(IRequest, IList<String>, String).)
Public methodProcessRequest(IDictionary<String, Object>)OWIN entry point. (Inherited from PersistentConnection.)
Public methodProcessRequest(HostContext)Handles all requests for the HostContext. (Overrides PersistentConnection::ProcessRequest(HostContext).)
Public methodToString (Inherited from Object.)
Top

No content here will be updated; please do not add material here.

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: