class Pio::OpenFlow::HelloFailedCode
enum ofp_hello_failed_code
Constants
- ERROR_CODES
Public Instance Methods
get()
click to toggle source
# File lib/pio/open_flow/hello_failed_code.rb, line 14 def get ERROR_CODES.invert.fetch(error_code) end
set(value)
click to toggle source
# File lib/pio/open_flow/hello_failed_code.rb, line 18 def set(value) self.error_code = ERROR_CODES.fetch(value) end