pings property

List<PingPong> get pings

Metrics/Introspection: Returns an array of the 100 latest PingPongs. Note that a PingPong entry is added to this array before it gets the Pong, thus the latest may not have its PingPong.roundTripMillis set yet. Also, if a ping is performed right before the connection goes down, it will never get the Pong, thus there might be entries in the middle of the list too that does not have roundTripMillis set. This is opposed to the addPingPongListener, which only gets invoked when the pong has arrived.

See also addPingPongListener

Implementation

List<PingPong> get pings {
  return _pings;
}