private void OnUpdateRTT(Peer peer, ushort rtt) { MessageHandler.Run(() => OnPeerRTT?.Invoke(peer, rtt)); }
private void OnReceive(Peer peer, Reader message, MessageReceived info) { MessageHandler.Handle(peer, message, info); }