Exemple #1
0
 public void AddConnection(long id, HtcConnection connection)
 {
     if (!_connectionReferences.TryAdd(id, new ConnectionReference(connection)))
     {
         throw new ArgumentException(nameof(id));
     }
 }
Exemple #2
0
 private void WalkCallback(HtcConnection connection)
 {
     connection.TickHeartbeat();
 }