Class: Twib::Switch::Debug::Event::Exception
- Defined in:
- lib/twib/switch/debug.rb
Constant Summary collapse
- TYPE =
4
Instance Attribute Summary collapse
-
#fault_register ⇒ Object
readonly
Returns the value of attribute fault_register.
-
#specific ⇒ Object
readonly
Returns the value of attribute specific.
-
#type ⇒ Object
readonly
Returns the value of attribute type.
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
#fault_register ⇒ Object (readonly)
Returns the value of attribute fault_register.
84 85 86 |
# File 'lib/twib/switch/debug.rb', line 84 def fault_register @fault_register end |
#specific ⇒ Object (readonly)
Returns the value of attribute specific.
84 85 86 |
# File 'lib/twib/switch/debug.rb', line 84 def specific @specific end |
#type ⇒ Object (readonly)
Returns the value of attribute type.
84 85 86 |
# File 'lib/twib/switch/debug.rb', line 84 def type @type end |
Instance Method Details
#event_type ⇒ Object
81 82 83 |
# File 'lib/twib/switch/debug.rb', line 81 def event_type :exception end |
#unpack_specific(pack) ⇒ Object
78 79 80 |
# File 'lib/twib/switch/debug.rb', line 78 def unpack_specific(pack) @type, @fault_register, @specific = pack.unpack("L<Q<a*") end |