PersistentConnection Class
.NET Framework 4
Represents a connection between client and server.
Inheritance Hierarchy
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)
Syntax
'Declaration
Public MustInherit Class PersistentConnection
'Usage
Dim instance As PersistentConnection
public abstract class PersistentConnection
public ref class PersistentConnection abstract
[<AbstractClassAttribute>]
type PersistentConnection = class end
public abstract class PersistentConnection
The PersistentConnection type exposes the following members.
Constructors
Name | Description | |
---|---|---|
![]() |
PersistentConnection |
Top
Properties
Name | Description | |
---|---|---|
![]() |
AckHandler | |
![]() |
Connection | Gets the IConnection for the PersistentConnection . |
![]() |
Counters | |
![]() |
Groups | Gets the IConnectionGroupManager for the PersistentConnection . |
![]() |
JsonSerializer | |
![]() |
MessageBus | |
![]() |
ProtectedData | |
![]() |
Trace | |
![]() |
TraceManager | |
![]() |
Transport |
Top
Methods
Name | Description | |
---|---|---|
![]() |
Authorize | |
![]() |
AuthorizeRequest | Called before every request and gives a user authorization to access the request. |
![]() |
Equals | (Inherited from Object.) |
![]() |
Finalize | (Inherited from Object.) |
![]() |
GetHashCode | (Inherited from Object.) |
![]() |
GetSignals | Returns the signals used in the PersistentConnection . |
![]() |
GetType | (Inherited from Object.) |
![]() |
Initialize | |
![]() |
MemberwiseClone | (Inherited from Object.) |
![]() |
OnConnected | Called when a new connection is made. |
![]() |
OnDisconnected | Called when a connection disconnects. |
![]() |
OnReceived | Called when data is received from a connection. |
![]() |
OnReconnected | Called when a connection reconnects after a timeout. |
![]() |
OnRejoiningGroups | Called when a connection reconnects after a timeout to determine which groups should be rejoined. |
![]() |
ProcessRequest | Handles all requests for a PersistentConnection. |
![]() |
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.