C# 클래스 Microsoft.AspNetCore.SignalR.Transports.TransportHeartbeat

Default implementation of ITransportHeartbeat.
상속: ITransportHeartbeat, IDisposable
파일 보기 프로젝트 열기: FabianGosebrink/ASPNET-Core-Angular2-SignalR-Typescript

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 ( IOptions optionsAccessor, IPerformanceCounterManager counters, ILoggerFactory loggerFactory ) : 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 ( IOptions optionsAccessor, IPerformanceCounterManager counters, ILoggerFactory loggerFactory ) : System
optionsAccessor IOptions
counters IPerformanceCounterManager
loggerFactory ILoggerFactory
리턴 System