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