Class: DSP::ReadMemoryRequest
- Defined in:
- lib/dsp/dsp_protocol.rb
Overview
interface ReadMemoryRequest extends Request {
arguments: ReadMemoryArguments;
}
Instance Attribute Summary collapse
-
#arguments ⇒ Object
type: ReadMemoryArguments # type: string # type: number # type: string.
-
#command ⇒ Object
type: ReadMemoryArguments # type: string # type: number # type: string.
-
#seq ⇒ Object
type: ReadMemoryArguments # type: string # type: number # type: string.
-
#type ⇒ Object
type: ReadMemoryArguments # type: string # type: number # type: string.
Instance Method Summary collapse
Methods inherited from DSPBase
Constructor Details
This class inherits a constructor from DSP::DSPBase
Instance Attribute Details
#arguments ⇒ Object
type: ReadMemoryArguments # type: string # type: number # type: string
3417 3418 3419 |
# File 'lib/dsp/dsp_protocol.rb', line 3417 def arguments @arguments end |
#command ⇒ Object
type: ReadMemoryArguments # type: string # type: number # type: string
3417 3418 3419 |
# File 'lib/dsp/dsp_protocol.rb', line 3417 def command @command end |
#seq ⇒ Object
type: ReadMemoryArguments # type: string # type: number # type: string
3417 3418 3419 |
# File 'lib/dsp/dsp_protocol.rb', line 3417 def seq @seq end |
#type ⇒ Object
type: ReadMemoryArguments # type: string # type: number # type: string
3417 3418 3419 |
# File 'lib/dsp/dsp_protocol.rb', line 3417 def type @type end |
Instance Method Details
#from_h!(value) ⇒ Object
3419 3420 3421 3422 3423 3424 3425 3426 |
# File 'lib/dsp/dsp_protocol.rb', line 3419 def from_h!(value) value = {} if value.nil? self.arguments = ReadMemoryArguments.new(value['arguments']) unless value['arguments'].nil? self.command = value['command'] self.seq = value['seq'] self.type = value['type'] self end |