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)); }
public override void PrimaryExecute(string key, CommunicationChannelCollection channels, NodeStructureSettingsStore store, SyncQueue syncQueue) { syncQueue.AcKnowledge(this.AcknowledgedId); }
public abstract void PrimaryExecute(string key, CommunicationChannelCollection channels, NodeStructureSettingsStore store, SyncQueue syncQueue);