Exemple #1
0
 /// <summary>
 /// Remove peer from group
 /// </summary>
 /// <param name="peer"></param>
 public void Leave(ZrePeer peer)
 {
     m_peers.Remove(peer.Uuid);
     peer.IncrementStatus();
 }
Exemple #2
0
 /// <summary>
 /// Remove peer from group
 /// </summary>
 /// <param name="peer"></param>
 public void Leave(ZrePeer peer)
 {
     m_peers.Remove(peer.Uuid);
     peer.IncrementStatus();
 }
Exemple #3
0
 /// <summary>
 /// Add peer to group
 /// Ignore duplicate joins
 /// </summary>
 /// <param name="peer"></param>
 public void Join(ZrePeer peer)
 {
     m_peers[peer.Uuid] = peer;
     peer.IncrementStatus();
 }
Exemple #4
0
 /// <summary>
 /// Add peer to group
 /// Ignore duplicate joins
 /// </summary>
 /// <param name="peer"></param>
 public void Join(ZrePeer peer)
 {
     m_peers[peer.Uuid] = peer;
     peer.IncrementStatus();
 }