notifyActivity method

  1. @override
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

@override
void notifyActivity() {
  // TODO: Implement if activity on a relayed connection should
  // keep the underlying physical connection to the relay alive.
  // This might involve propagating activity to _stream.conn.notifyActivity()
  // if _stream.conn is a TransportConn that implements it, or another mechanism.
  // For now, providing an empty implementation to satisfy the interface.
  // _transport.host.logger.finer('RelayedConn.notifyActivity called for stream ${_stream.id()} to peer $_remotePeer - currently a no-op.');
}