Class: Twib::Switch::Debug::Event::AttachThread
- Defined in:
- lib/twib/switch/debug.rb
Constant Summary collapse
- TYPE =
1
Instance Attribute Summary collapse
-
#entrypoint ⇒ Object
readonly
Returns the value of attribute entrypoint.
-
#thread_id ⇒ Object
readonly
Returns the value of attribute thread_id.
-
#tls ⇒ Object
readonly
Returns the value of attribute tls.
Attributes inherited from Event
Instance Method Summary collapse
Methods inherited from Event
Constructor Details
This class inherits a constructor from Twib::Switch::Debug::Event::Event
Instance Attribute Details
#entrypoint ⇒ Object (readonly)
Returns the value of attribute entrypoint.
51 52 53 |
# File 'lib/twib/switch/debug.rb', line 51 def entrypoint @entrypoint end |
#thread_id ⇒ Object (readonly)
Returns the value of attribute thread_id.
51 52 53 |
# File 'lib/twib/switch/debug.rb', line 51 def thread_id @thread_id end |
#tls ⇒ Object (readonly)
Returns the value of attribute tls.
51 52 53 |
# File 'lib/twib/switch/debug.rb', line 51 def tls @tls end |
Instance Method Details
#event_type ⇒ Object
48 49 50 |
# File 'lib/twib/switch/debug.rb', line 48 def event_type :attach_thread end |
#unpack_specific(pack) ⇒ Object
45 46 47 |
# File 'lib/twib/switch/debug.rb', line 45 def unpack_specific(pack) @thread_id, @tls, @entrypoint = pack.unpack("Q<Q<Q<") end |