Sha256: ad976ec90ba496f404a3c5417075b0891d9acf89b4c501b2d637752389c6dd6d
Contents?: true
Size: 634 Bytes
Versions: 2
Compression:
Stored size: 634 Bytes
Contents
require 'forwardable' module Pio module OpenFlow # Defines shortcuts to OpenFlow header fields. class Message extend Forwardable def_delegators :@format, :open_flow_header def_delegators :open_flow_header, :ofp_version def_delegators :open_flow_header, :message_type def_delegators :open_flow_header, :message_length def_delegators :open_flow_header, :transaction_id def_delegator :open_flow_header, :transaction_id, :xid def_delegators :@format, :body def_delegator :@format, :body, :user_data def_delegator :@format, :to_binary_s, :to_binary end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
pio-0.9.0 | lib/pio/open_flow/message.rb |
pio-0.8.2 | lib/pio/open_flow/message.rb |