PersistentConnection Class
.NET Framework 4.5
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 | Initializes a new instance of the PersistentConnection class. |
Top
Properties
Name | Description | |
---|---|---|
AckHandler | Gets or sets the Ack handler of this connection. | |
Connection | Gets or sets the connection. | |
Counters | Gets or sets the performance counter manager. | |
Groups | Gets or sets the groups of connection. | |
JsonSerializer | Gets or sets the JSON serializer. | |
MessageBus | Gets or sets the message bus for the connection. | |
ProtectedData | Gets or sets the protected data of this connection. | |
Trace | Gets the source of the connection. | |
TraceManager | Gets or sets the trace manager. | |
Transport | Gets or sets the transport associated with this connection. | |
UserIdProvider |
Top
Methods
Name | Description | |
---|---|---|
Authorize | Determines whether this connection is authorized. | |
AuthorizeRequest | Determines whether the request for connection is authorized. | |
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(IDictionary<String, Object>) | OWIN entry point. | |
ProcessRequest(HostContext) | Handles all requests for a PersistentConnection. | |
ToString | (Inherited from Object.) |
Top
Remarks
No content here will be updated; please do not add material here.
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.