Class: Trema::FlowStatsReply
- Inherits:
-
StatsHelper
- Object
- StatsHelper
- Trema::FlowStatsReply
- Defined in:
- ruby/trema/flow-stats-reply.rb
Constant Summary collapse
- FIELDS =
%w(length table_id match duration_sec duration_nsec) + %w(priority idle_timeout hard_timeout cookie packet_count byte_count actions)
Instance Method Summary collapse
-
#initialize(options = {}) ⇒ FlowStatsReply
constructor
Flow counters for one or more matched flows.
Methods inherited from StatsHelper
Constructor Details
#initialize(options = {}) ⇒ FlowStatsReply
Flow counters for one or more matched flows. A user would not explicitly instantiate a Trema::FlowStatsReply object but would be created as a result of parsing the OFPT_STATS_REPLY(OFPST_FLOW) message.
96 97 98 |
# File 'ruby/trema/flow-stats-reply.rb', line 96 def initialize super FIELDS, end |