Packages
libnm
NM
TCQdisc
TCQdisc
@ref
dup
equal
get_attribute
get_attribute_names
get_handle
get_kind
get_parent
set_attribute
set_handle
unref
TCQdisc
Object Hierarchy:
NM.TCQdisc
NM.TCQdisc
NM.TCQdisc
Description:
[
CCode
( ref_function =
"nm_tc_qdisc_ref"
, type_id =
"nm_tc_qdisc_get_type ()"
, unref_function =
"nm_tc_qdisc_unref"
) ]
[
Compact
]
public
class
TCQdisc
Namespace:
NM
Package:
libnm
Content:
Creation methods:
public
TCQdisc
(
string
kind,
uint32
parent)
throws
Error
Creates a new
TCQdisc
object.
Methods:
public
void
@ref
()
Increases the reference count of the object.
public
TCQdisc
dup
()
Creates a copy of
this
public
bool
equal
(
TCQdisc
other)
Determines if two
TCQdisc
objects contain the same kind, * handle and parent.
public
unowned
Variant
get_attribute
(
string
name)
Gets the value of the attribute with name
name
on
this
public
(
unowned
string
)[]
get_attribute_names
()
Gets an array of attribute names defined on
this
.
public
uint32
get_handle
()
public
unowned
string
get_kind
()
public
uint32
get_parent
()
public
void
set_attribute
(
string
name,
Variant
? value)
Sets or clears the named attribute on
this
to the given value.
public
void
set_handle
(
uint32
handle)
Sets the queueing discipline handle.
public
void
unref
()
Decreases the reference count of the object.