ITrackingConnection Interface

Visual Studio 2010
.NET Framework 4

Represents a connection that can be tracked by an ITransportHeartbeat .

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

public interface ITrackingConnection

The ITrackingConnection type exposes the following members.

Public propertyCancellationTokenGets a cancellation token that represents the connection’s lifetime.
Public propertyConnectionIdGets the ID of the connection.
Public propertyDisconnectThresholdGets a value indicating the amount of time to wait after the connection dies before firing the disconnecting the connection.
Public propertyIsAliveGets a value that represents if the connection is alive.
Public propertyIsTimedOutGets a value that represents if the connection is timed out.
Public propertySupportsKeepAliveGets a value that represents if the connection supports keep alive.
Public propertyUrlGets the uri of the connection.

Public methodDisconnectCauses the connection to disconnect.
Public methodEndKills the connection.
Public methodKeepAliveSends a keep alive ping over the connection.
Public methodReleaseRequestReleases the http request associated with the connection (if any).
Public methodTimeoutCauses the connection to timeout.