Class: Pio::OpenFlow::TransactionId
- Inherits:
-
BinData::Primitive
- Object
- BinData::Primitive
- Pio::OpenFlow::TransactionId
- Defined in:
- lib/pio/open_flow/transaction_id.rb
Overview
Transaction ID (uint32)
Instance Method Summary collapse
Instance Method Details
#get ⇒ Object
20 21 22 |
# File 'lib/pio/open_flow/transaction_id.rb', line 20 def get xid end |
#set(value) ⇒ Object
12 13 14 15 16 17 18 |
# File 'lib/pio/open_flow/transaction_id.rb', line 12 def set(value) unless value.unsigned_32bit? fail(ArgumentError, 'Transaction ID should be an unsigned 32-bit integer.') end self.xid = value end |