예제 #1
0
 /// <summary>
 /// Remove a remote object on the list. Synchronised.
 /// </summary>
 /// <param name="remote">Remote object to remove.</param>s
 public void SyncRemove(VrpnObjectInfo remote)
 {
     lock (sync)
     {
         remotes.Remove(remote);
     }
     this.invalidate();
 }
예제 #2
0
 /// <summary>
 /// Add remote object on the list. Synchronised.
 /// </summary>
 /// <param name="remote">Remote object to add.</param>
 public void SyncAdd(VrpnObjectInfo remote)
 {
     lock (sync)
     {
         remotes.Add(remote);
     }
     this.invalidate();
 }