Sha256: ff25de1c5f348fe7af5c17f9524b3d19f067bcc436a14f63d58f1397bb792dad
Contents?: true
Size: 457 Bytes
Versions: 20
Compression:
Stored size: 457 Bytes
Contents
require 'bindata' require 'pio/monkey_patch/integer' module Pio module OpenFlow # Transaction ID (uint32) class TransactionId < BinData::Primitive endian :big uint32 :xid def set(value) unless value.unsigned_32bit? fail(ArgumentError, 'Transaction ID should be an unsigned 32-bit integer.') end self.xid = value end def get xid end end end end
Version data entries
20 entries across 20 versions & 1 rubygems