Share via


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
Protected method PersistentConnection Initializes a new instance of the PersistentConnection class.

Top

Properties

  Name Description
Protected property AckHandler Gets or sets the Ack handler of this connection.
Public property Connection Gets or sets the connection.
Protected property Counters Gets or sets the performance counter manager.
Public property Groups Gets or sets the groups of connection.
Protected property JsonSerializer Gets or sets the JSON serializer.
Protected property MessageBus Gets or sets the message bus for the connection.
Protected property ProtectedData Gets or sets the protected data of this connection.
Protected property Trace Gets the source of the connection.
Protected property TraceManager Gets or sets the trace manager.
Protected property Transport Gets or sets the transport associated with this connection.
Protected property UserIdProvider

Top

Methods

  Name Description
Public method Authorize Determines whether this connection is authorized.
Protected method AuthorizeRequest Determines whether the request for connection is authorized.
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetHashCode (Inherited from Object.)
Protected method GetSignals Returns the signals used in the PersistentConnection.
Public method GetType (Inherited from Object.)
Public method Initialize
Protected method MemberwiseClone (Inherited from Object.)
Protected method OnConnected Called when a new connection is made.
Protected method OnDisconnected Called when a connection disconnects.
Protected method OnReceived Called when data is received from a connection.
Protected method OnReconnected Called when a connection reconnects after a timeout.
Protected method OnRejoiningGroups Called when a connection reconnects after a timeout to determine which groups should be rejoined.
Public method ProcessRequest(IDictionary<String, Object>) OWIN entry point.
Public method ProcessRequest(HostContext) Handles all requests for a PersistentConnection.
Public method 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.

See Also

Reference

Microsoft.AspNet.SignalR Namespace