lib/pio/echo/request.rb in pio-0.9.0 vs lib/pio/echo/request.rb in pio-0.10.0

- old
+ new

@@ -1,17 +1,13 @@ -require 'pio/echo/format' require 'pio/echo/message' require 'pio/open_flow' module Pio class Echo # OpenFlow 1.0 Echo Request message. class Request < Message - # OpenFlow 1.0 Echo request message generator. - class Format < Pio::Echo::Format - default_parameters message_type_value: Pio::OpenFlow::Type::ECHO_REQUEST - end + def_format Pio::OpenFlow::Type::ECHO_REQUEST # Creates an EchoRequest OpenFlow message. This message can be # used to measure the bandwidth of a controller/switch # connection as well as to verify its liveness. # @@ -38,8 +34,10 @@ # @option user_options [String] :user_data # The user data field specified as a String may be a message # timestamp to check latency, various lengths to measure # bandwidth or zero-size(nil) to verify liveness between the # switch and controller. + # + # rubocop:disable MethodLength end end end