/// <summary> /// Builds up the set of commands that are supported by this device /// </summary> protected override void InitCommandProcessors() { var pingDeviceProcessor = new PingDeviceProcessor(this); var startCommandProcessor = new StartCommandProcessor(this); var stopCommandProcessor = new StopCommandProcessor(this); pingDeviceProcessor.NextCommandProcessor = startCommandProcessor; startCommandProcessor.NextCommandProcessor = stopCommandProcessor; RootCommandProcessor = pingDeviceProcessor; }
/// <summary> /// Builds up a set of commands supported by this device /// </summary> protected virtual void InitCommandProcessors() { var pingDeviceProcessor = new PingDeviceProcessor(this); RootCommandProcessor = pingDeviceProcessor; }