예제 #1
0
 public void Add(long remoteID, long remoteChannel, bool isSender)
 {
     if (isSender)
     {
         _rpc.AddLink(_peerId, _channel, remoteID, remoteChannel);
     }
     else
     {
         _rpc.AddLink(remoteID, remoteChannel, _peerId, _channel);
     }
 }
예제 #2
0
 public void Add(Int32 remoteID, Int32 remoteChannel, bool isSender)
 {
     if (isSender)
     {
         _rpc.AddLink(_peerID, _channel, remoteID, remoteChannel);
     }
     else
     {
         _rpc.AddLink(remoteID, remoteChannel, _peerID, _channel);
     }
 }