Sha256: 00eb17194b68de7448ad8bf528c2a023f255bb419734728e4d26078539085394
Contents?: true
Size: 545 Bytes
Versions: 8
Compression:
Stored size: 545 Bytes
Contents
module Pio module OpenFlow # Error message parser class Error def self.read(binary) version = OpenFlowHeaderParser.read(binary).ofp_version error_parser = case version when 1 Pio::OpenFlow10::Error when 4 Pio::OpenFlow13::Error else fail "Unsupported OpenFlow version: #{version}" end error_parser.read binary end end end end
Version data entries
8 entries across 8 versions & 1 rubygems