Example #1
0
        private void Init()
        {
            _router.Start();

            _router.SendToNetwork      += Send;
            _router.BroadcastToNetwork += Broadcast;
        }
Example #2
0
 private void Init()
 {
     _router.Start();
     _router.SendToNetwork      += (id, data, channel, flags) => Send(data, channel, flags);
     _router.BroadcastToNetwork += (data, channel, flags, filter) => Send(data, channel, flags);
 }