Class: DSP::ContinuedEvent

Inherits:
DSPBase
  • Object
show all
Defined in:
lib/dsp/dsp_protocol.rb

Overview

interface ContinuedEvent extends Event {

    body: {
        /** The thread which was continued. */
        threadId: number;
        /** If 'allThreadsContinued' is true, a debug adapter can announce that all threads have continued. */
        allThreadsContinued?: boolean;
    };
}

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from DSPBase

#initialize, #to_h, #to_json

Constructor Details

This class inherits a constructor from DSP::DSPBase

Instance Attribute Details

#bodyObject

type: {



306
307
308
# File 'lib/dsp/dsp_protocol.rb', line 306

def body
  @body
end

#eventObject

/** The thread which was continued. */

    threadId: number;
    /** If 'allThreadsContinued' is true, a debug adapter can announce that all threads have continued. */
    allThreadsContinued?: boolean;
}


312
313
314
# File 'lib/dsp/dsp_protocol.rb', line 312

def event
  @event
end

#seqObject

type: {



306
307
308
# File 'lib/dsp/dsp_protocol.rb', line 306

def seq
  @seq
end

#typeObject

type: {



306
307
308
# File 'lib/dsp/dsp_protocol.rb', line 306

def type
  @type
end

Instance Method Details

#from_h!(value) ⇒ Object



314
315
316
317
318
319
320
321
# File 'lib/dsp/dsp_protocol.rb', line 314

def from_h!(value)
  value = {} if value.nil?
  self.body = value['body'] # Unknown type
  self.event = value['event']
  self.seq = value['seq']
  self.type = value['type']
  self
end