Example #1
0
 public void Add(string key, CommunicationChannelCollection channels, SyncQueueSharedDataCommand command)
 {
     this.syncQueue.Enqueue(new SyncQueue.WaitingCommand
     {
         Key      = key,
         Channels = channels,
         Command  = command
     });
     if (this.Count == 1)
     {
         command.PrimaryExecute(key, channels, null, null);
     }
 }
 public sealed override void PrimaryExecute(string key, CommunicationChannelCollection channels, NodeStructureSettingsStore store, SyncQueue syncQueue)
 {
     channels[key].Channel.SetData(WinformsHelper.Serialize(this));
 }
Example #3
0
 public override void PrimaryExecute(string key, CommunicationChannelCollection channels, NodeStructureSettingsStore store, SyncQueue syncQueue)
 {
     syncQueue.AcKnowledge(this.AcknowledgedId);
 }
Example #4
0
 public abstract void PrimaryExecute(string key, CommunicationChannelCollection channels, NodeStructureSettingsStore store, SyncQueue syncQueue);