SmartFoxServer 3 C++ Client API 3.1.0-beta
Client API for SmartFoxServer 3
Loading...
Searching...
No Matches
sfs3::event::PingPong Struct Reference

Dispatched when a new lag measurement is available. More...

#include <SFSEvent.h>

Public Attributes

double average
 The average time over the samples the monitor keeps.
double min
 The lowest time recorded since the monitor was last enabled.
double max
 The highest time recorded since the monitor was last enabled.

Detailed Description

Dispatched when a new lag measurement is available.

It is dispatched continuously while the automatic lag monitor is on. All the times are round trip times, in milliseconds.

See also
SmartFox::enableLagMonitor

The documentation for this struct was generated from the following file: