C# Класс Microsoft.AspNet.SignalR.Transports.TransportHeartbeat

Default implementation of ITransportHeartbeat.
Наследование: ITransportHeartbeat, IDisposable
Показать файл Открыть проект

Private Properties

Свойство Тип Описание
Beat void
CheckDisconnect void
CheckTimeoutAndKeepAlive void
OnKeepAliveError void
RaiseDisconnect bool
RaiseKeepAlive bool
RaiseTimeout bool

Открытые методы

Метод Описание
AddOrUpdateConnection ( ITrackingConnection connection ) : ITrackingConnection

Adds a new connection to the list of tracked connections.

Dispose ( ) : void
GetConnections ( ) : IList
MarkConnection ( ITrackingConnection connection ) : void

Marks an existing connection as active.

RemoveConnection ( ITrackingConnection connection ) : void

Removes a connection from the list of tracked connections.

TransportHeartbeat ( IDependencyResolver resolver ) : System

Initializes and instance of the TransportHeartbeat class.

Защищенные методы

Метод Описание
Dispose ( bool disposing ) : void

Приватные методы

Метод Описание
Beat ( object state ) : void
CheckDisconnect ( ConnectionMetadata metadata ) : void
CheckTimeoutAndKeepAlive ( ConnectionMetadata metadata ) : void
OnKeepAliveError ( AggregateException ex, object state ) : void
RaiseDisconnect ( ConnectionMetadata metadata ) : bool
RaiseKeepAlive ( ConnectionMetadata metadata ) : bool
RaiseTimeout ( ConnectionMetadata metadata ) : bool

Описание методов

AddOrUpdateConnection() публичный Метод

Adds a new connection to the list of tracked connections.
public AddOrUpdateConnection ( ITrackingConnection connection ) : ITrackingConnection
connection ITrackingConnection The connection to be added.
Результат ITrackingConnection

Dispose() публичный Метод

public Dispose ( ) : void
Результат void

Dispose() защищенный Метод

protected Dispose ( bool disposing ) : void
disposing bool
Результат void

GetConnections() публичный Метод

public GetConnections ( ) : IList
Результат IList

MarkConnection() публичный Метод

Marks an existing connection as active.
public MarkConnection ( ITrackingConnection connection ) : void
connection ITrackingConnection The connection to mark.
Результат void

RemoveConnection() публичный Метод

Removes a connection from the list of tracked connections.
public RemoveConnection ( ITrackingConnection connection ) : void
connection ITrackingConnection The connection to remove.
Результат void

TransportHeartbeat() публичный Метод

Initializes and instance of the TransportHeartbeat class.
public TransportHeartbeat ( IDependencyResolver resolver ) : System
resolver IDependencyResolver The .
Результат System