Example #1
0
 protected override void UpdateIndex(BroadCastIndex updateIdex)
 {
     lock (indexChanged)
     {
         indexChanged.Enqueue(updateIdex);
     }
 }
Example #2
0
    /// <summary>
    /// Send the actual GeometryIndex to the Server - Rhino reads it, actualise its StreamingGate
    /// - Geometry will change afterwards
    /// </summary>
    /// <param name="idx"></param>
    public void SendIndex(int idx)
    {
        BroadCastIndex idxMsg = new BroadCastIndex
        {
            gateId = 0,
            index  = idx
        };

        Send(idxMsg);
    }