示例#1
0
文件: Network.cs 项目: dzamkov/DUIP
 /// <summary>
 /// Removes a peer from this network.
 /// </summary>
 public void RemovePeer(Peer Peer)
 {
     this._Peers.Remove(Peer);
 }
示例#2
0
文件: Network.cs 项目: dzamkov/DUIP
 /// <summary>
 /// Adds a peer to this network.
 /// </summary>
 public void AddPeer(Peer Peer)
 {
     this._Peers.AddLast(Peer);
 }