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

Inheritance: IDisposable
显示文件 Open project: dotnet/corefx

Public Methods

Method Description
Create ( TimeSpan keepAliveInterval ) : KeepAliveTracker
Dispose ( ) : void
OnDataReceived ( ) : void
OnDataSent ( ) : void
ResetTimer ( ) : void
ShouldSendKeepAlive ( ) : bool
StartTimer ( WebSocketBase webSocket ) : void

Method Details

Create() public static method

public static Create ( TimeSpan keepAliveInterval ) : KeepAliveTracker
keepAliveInterval TimeSpan
return KeepAliveTracker

Dispose() public abstract method

public abstract Dispose ( ) : void
return void

OnDataReceived() public abstract method

public abstract OnDataReceived ( ) : void
return void

OnDataSent() public abstract method

public abstract OnDataSent ( ) : void
return void

ResetTimer() public abstract method

public abstract ResetTimer ( ) : void
return void

ShouldSendKeepAlive() public abstract method

public abstract ShouldSendKeepAlive ( ) : bool
return bool

StartTimer() public abstract method

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