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

Inheritance: KeepAliveTracker
Datei anzeigen Open project: dotnet/corefx

Public Methods

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

Private Methods

Method Description
GetIdleTime ( ) : TimeSpan
GetTimeElapsed ( Stopwatch watch ) : TimeSpan
ResetTimer ( int dueInMilliseconds ) : void

Method Details

DefaultKeepAliveTracker() public method

public DefaultKeepAliveTracker ( TimeSpan keepAliveInterval ) : System.Collections.Generic
keepAliveInterval TimeSpan
return System.Collections.Generic

Dispose() public method

public Dispose ( ) : void
return void

OnDataReceived() public method

public OnDataReceived ( ) : void
return void

OnDataSent() public method

public OnDataSent ( ) : void
return void

ResetTimer() public method

public ResetTimer ( ) : void
return void

ShouldSendKeepAlive() public method

public ShouldSendKeepAlive ( ) : bool
return bool

StartTimer() public method

public StartTimer ( WebSocketBase webSocket ) : void
webSocket WebSocketBase
return void