class Pio::OpenFlow10::StatsType
enum ofp_stats_types
Constants
- STATS_TYPES
Public Instance Methods
get()
click to toggle source
# File lib/pio/open_flow10/stats_type.rb, line 20 def get STATS_TYPES.invert.fetch(command) end
set(value)
click to toggle source
# File lib/pio/open_flow10/stats_type.rb, line 24 def set(value) self.command = STATS_TYPES.fetch(value) end