Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

PersistentConnection Class

.NET Framework 4
.NET Framework 4

Represents a connection between client and server.

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

Namespace:  Microsoft.AspNet.SignalR
Assembly:  Microsoft.AspNet.SignalR.Core (in Microsoft.AspNet.SignalR.Core.dll)
public ref class PersistentConnection abstract

The PersistentConnection type exposes the following members.

  NameDescription
Protected propertyAckHandler
Public propertyConnectionGets the IConnection for the PersistentConnection .
Protected propertyCounters
Public propertyGroupsGets the IConnectionGroupManager for the PersistentConnection .
Protected propertyJsonSerializer
Protected propertyMessageBus
Protected propertyProtectedData
Protected propertyTrace
Protected propertyTraceManager
Protected propertyTransport
Top
  NameDescription
Public methodAuthorize
Protected methodAuthorizeRequestCalled before every request and gives a user authorization to access the request.
Public methodEquals (Inherited from Object.)
Protected methodFinalize (Inherited from Object.)
Public methodGetHashCode (Inherited from Object.)
Protected methodGetSignalsReturns the signals used in the PersistentConnection .
Public methodGetType (Inherited from Object.)
Public methodInitialize
Protected methodMemberwiseClone (Inherited from Object.)
Protected methodOnConnected Called when a new connection is made.
Protected methodOnDisconnected Called when a connection disconnects.
Protected methodOnReceivedCalled when data is received from a connection.
Protected methodOnReconnectedCalled when a connection reconnects after a timeout.
Protected methodOnRejoiningGroupsCalled when a connection reconnects after a timeout to determine which groups should be rejoined.
Public methodProcessRequestHandles all requests for a PersistentConnection.
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.
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.