notifyActivity method

void notifyActivity()
override

Notifies that activity has occurred on this transport connection, potentially due to activity on a multiplexed stream over it. This can be used by multiplexers to inform the connection manager.

Implementation

void notifyActivity() {
  if (!_isClosed && !_isClosing) {
    _connManager.recordActivity(this);
  }
}