SetSequence¶
-
virtual void ICommandSequenceEventResponse::SetSequence(PCommandSequence sequence) = 0¶
Sets the command sequence to be executed in the context of the event response.
- Parameters
sequence – Command sequence to be executed.
- Throws
CInvalidArgumentException
– Command sequence does not belong to corresponding command queue (i.e. parent of event response).CInvalidArgumentException
– Command sequence length exceeds maximum length supported by response (see product specific documentation).CInvalidConfigException
– Invalid configuration of command(s) in the command sequence.CUnsupportedException
– Command sequence contains types not supported by parent of event response.CInvalidOperationException
– Event response is active.CInvalidOperationException
– Command sequence state is not ECommandState::Idle.CResourceBusyException
– Command sequence is claimed by command queue.CCommunicationErrorException
– Protocol error.CConnectionLostException
– Connection to controller lost.CRebootedException
– Controller has been rebooted since this object reference was retrieved, invalidating this reference.