Class: Trema::QueueStatsReply
- Inherits:
-
StatsHelper
- Object
- StatsHelper
- Trema::QueueStatsReply
- Defined in:
- ruby/trema/queue-stats-reply.rb
Constant Summary collapse
- FIELDS =
%w(port_no queue_id tx_bytes tx_packets tx_errors)
Instance Method Summary collapse
-
#initialize(options = {}) ⇒ QueueStatsReply
constructor
Queue statistics for a port.
Methods inherited from StatsHelper
Constructor Details
#initialize(options = {}) ⇒ QueueStatsReply
Queue statistics for a port. A user would not explicitly instantiate a Trema::QueueStatsReply object but would be created as a result of parsing the OFPT_STATS_REPLY(OFPST_QUEUE) message.
65 66 67 |
# File 'ruby/trema/queue-stats-reply.rb', line 65 def initialize super FIELDS, end |