C# Class System.Net.WebSockets.WebSocketBase.KeepAliveTracker.DefaultKeepAliveTracker

Inheritance: KeepAliveTracker
Afficher le fichier Open project: dotnet/corefx

Méthodes publiques

Méthode Description
DefaultKeepAliveTracker ( TimeSpan keepAliveInterval ) : System.Collections.Generic
Dispose ( ) : void
OnDataReceived ( ) : void
OnDataSent ( ) : void
ResetTimer ( ) : void
ShouldSendKeepAlive ( ) : bool
StartTimer ( WebSocketBase webSocket ) : void

Private Methods

Méthode Description
GetIdleTime ( ) : TimeSpan
GetTimeElapsed ( Stopwatch watch ) : TimeSpan
ResetTimer ( int dueInMilliseconds ) : void

Method Details

DefaultKeepAliveTracker() public méthode

public DefaultKeepAliveTracker ( TimeSpan keepAliveInterval ) : System.Collections.Generic
keepAliveInterval TimeSpan
Résultat System.Collections.Generic

Dispose() public méthode

public Dispose ( ) : void
Résultat void

OnDataReceived() public méthode

public OnDataReceived ( ) : void
Résultat void

OnDataSent() public méthode

public OnDataSent ( ) : void
Résultat void

ResetTimer() public méthode

public ResetTimer ( ) : void
Résultat void

ShouldSendKeepAlive() public méthode

public ShouldSendKeepAlive ( ) : bool
Résultat bool

StartTimer() public méthode

public StartTimer ( WebSocketBase webSocket ) : void
webSocket WebSocketBase
Résultat void