class Pio::OpenFlow::TransactionId
Transaction ID (uint32)
Public Instance Methods
get()
click to toggle source
# File lib/pio/open_flow/transaction_id.rb, line 22 def get xid end
set(value)
click to toggle source
# File lib/pio/open_flow/transaction_id.rb, line 14 def set(value) unless value.unsigned_32bit? raise(ArgumentError, 'Transaction ID should be an unsigned 32-bit integer.') end self.xid = value end