Esempio n. 1
0
            public Task OnStateChanged(Copren.Net.Core.Connection.Client client, bool fromServer, object state)
            {
                // Ignore peer updates
                if (!fromServer)
                {
                    return(Task.CompletedTask);
                }

                return(Task.FromResult(true));
            }
Esempio n. 2
0
 public Task OnPeerStateChanged(Copren.Net.Core.Connection.Client client, Guid peerId, object state)
 {
     _logger.Information("Peer {PeerId:s} reported state = {Position}", peerId, state);
     return(Task.CompletedTask);
 }