PersistentConnection Class

.NET Framework 4.5

Represents a connection between client and server.


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

Public MustInherit Class PersistentConnection
Dim instance As PersistentConnection

The PersistentConnection type exposes the following members.

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

Public methodAuthorize
Protected methodAuthorizeRequestCalled before every request and gives the user a authorize the user.
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 PersistentConnections.
Public methodToString (Inherited from Object.)

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