class Pio::OpenFlow10::Stats::Reply
Stats
reply parser.
Constants
- TYPE
Public Class Methods
read(binary)
click to toggle source
# File lib/pio/open_flow10/stats_reply.rb, line 22 def self.read(binary) TYPE.fetch(Format.read(binary).stats_type.to_sym).read(binary) rescue KeyError raise "Unknown stats type: #{stats_type}" end