Class: LibZMQ::EventData
- Inherits:
-
FFI::Struct
- Object
- FFI::Struct
- LibZMQ::EventData
- Includes:
- EventDataLayout
- Defined in:
- lib/ffi-rzmq-core/structures.rb
Overview
Provide a few convenience methods for accessing the event structure.
Instance Method Summary collapse
Methods included from EventDataLayout
Instance Method Details
#event ⇒ Object
121 122 123 |
# File 'lib/ffi-rzmq-core/structures.rb', line 121 def event self[:event] end |
#inspect ⇒ Object
129 130 131 |
# File 'lib/ffi-rzmq-core/structures.rb', line 129 def inspect "event [#{event}], value [#{value}]" end |
#value ⇒ Object
125 126 127 |
# File 'lib/ffi-rzmq-core/structures.rb', line 125 def value self[:value] end |