public override void Sync(PipeCom pipeCom) { pipeCom.Write((Int32)SyncedObjectAction.Property); pipeCom.Write((Int32)m_SyncedObject.ClassId); pipeCom.Write((Int32)m_SyncedObject.ObjectId); pipeCom.Write(m_PropertyId); }
public override void Sync(PipeCom pipeCom) { if (m_Disposed) { pipeCom.Write((Int32)SyncedObjectAction.Delete); pipeCom.Write((Int32)m_ObjectId); } else { pipeCom.Write((Int32)SyncedObjectAction.Create); pipeCom.Write((Int32)m_ClassId); pipeCom.Write((Int32)m_ObjectId); } }
public void Sync(PipeCom pipeCom) { Monitor.Enter(m_SyncPoints); try { foreach (SyncPoint si in m_SyncPoints) { si.Sync(pipeCom); } m_SyncPoints.Clear(); } finally { Monitor.Exit(m_SyncPoints); } pipeCom.Write((Int32)SyncedObjectAction.NoMoreObjects); }
public abstract void Sync(PipeCom pipeCom);
public override void Sync(PipeCom pipeCom) { base.Sync(pipeCom); pipeCom.Write((Int32)m_Value); }
public override void Sync(PipeCom pipeCom) { base.Sync(pipeCom); pipeCom.Write((Boolean)m_Value); }