Class: WinRM::PSRP::MessageData::PipelineState
- Defined in:
- lib/winrm/psrp/message_data/pipeline_state.rb
Overview
pipeline state message type
Constant Summary collapse
- NOT_STARTED =
0- RUNNING =
1- STOPPING =
2- STOPPED =
3- COMPLETED =
4- FAILED =
5- DISCONNECTED =
6
Instance Attribute Summary
Attributes inherited from Base
Instance Method Summary collapse
Methods inherited from Base
Constructor Details
This class inherits a constructor from WinRM::PSRP::MessageData::Base
Instance Method Details
#exception_as_error_record ⇒ Object
34 35 36 |
# File 'lib/winrm/psrp/message_data/pipeline_state.rb', line 34 def exception_as_error_record @exception_as_error_record ||= ErrorRecord.new(raw) if pipeline_state == FAILED end |
#pipeline_state ⇒ Object
30 31 32 |
# File 'lib/winrm/psrp/message_data/pipeline_state.rb', line 30 def pipeline_state clixml[:i32].to_i end |