Class: Trema::TableStatsRequest

Inherits:
StatsRequest show all
Defined in:
ruby/trema/stats-request.c

Instance Method Summary collapse

Methods inherited from StatsRequest

#flags, #transaction_id

Constructor Details

#initialize(options = {}) ⇒ TableStatsRequest

A Trema::TableStatsRequest object instance to request table statistics. Request table statistics. The table stats. request does not contain any data in the body.

Returns an object that encapsulates the OFPT_STATS_REQUEST(OFPST_TABLE) OpenFlow message.

Examples:

TableStatsRequest.new
TableStatsRequest.new( :transaction_id => 1234 )

Parameters:

  • (defaults to: {})

    the options to create a message with.

Options Hash (options):

  • :transaction_id (Number)

    set the transaction_id as specified or auto-generate it.



456
457
458
459
# File 'ruby/trema/stats-request.c', line 456

static VALUE
table_stats_request_init( int argc, VALUE *argv, VALUE self ) {
  return parse_common_arguments( argc, argv, self );
}