Class: TCWrapper::QdiscRoot
- Inherits:
-
Wrapper
- Object
- Wrapper
- TCWrapper::QdiscRoot
- Defined in:
- lib/distem/wrapper/tc/qdiscroot.rb
Constant Summary
- TYPE =
"qdisc"
Constants inherited from Wrapper
Instance Attribute Summary (collapse)
-
- (Object) id
readonly
Returns the value of attribute id.
Instance Method Summary (collapse)
- - (Object) get_cmd(*args)
-
- (QdiscRoot) initialize(iface)
constructor
A new instance of QdiscRoot.
Methods inherited from Wrapper
Constructor Details
- (QdiscRoot) initialize(iface)
Returns a new instance of QdiscRoot
10 11 12 13 |
# File 'lib/distem/wrapper/tc/qdiscroot.rb', line 10 def initialize(iface) super(iface,TYPE,"root",Hash.new) @id = IdRoot.new end |
Instance Attribute Details
- (Object) id (readonly)
Returns the value of attribute id
8 9 10 |
# File 'lib/distem/wrapper/tc/qdiscroot.rb', line 8 def id @id end |
Instance Method Details
- (Object) get_cmd(*args)
15 16 17 |
# File 'lib/distem/wrapper/tc/qdiscroot.rb', line 15 def get_cmd(*args) super(*args) + "root" end |