Terraria v1.4.4.9
Terraria source code documentation
|
Public Member Functions | |
DefaultKeepAliveTracker (TimeSpan keepAliveInterval) | |
override void | OnDataReceived () |
override void | OnDataSent () |
override void | ResetTimer () |
override void | StartTimer (WebSocketBase webSocket) |
override bool | ShouldSendKeepAlive () |
override void | Dispose () |
Static Public Member Functions | |
static KeepAliveTracker | Create (TimeSpan keepAliveInterval) |
Private Member Functions | |
void | ResetTimer (int dueInMilliseconds) |
TimeSpan | GetIdleTime () |
TimeSpan | GetTimeElapsed (Stopwatch watch) |
Private Attributes | |
readonly TimeSpan | _keepAliveInterval |
readonly Stopwatch | _lastSendActivity |
readonly Stopwatch | _lastReceiveActivity |
Timer | _keepAliveTimer |
Static Private Attributes | |
static readonly TimerCallback | s_KeepAliveTimerElapsedCallback = OnKeepAlive |
Definition at line 454 of file WebSocketBase.cs.