gi-nm-1.0.1: NM bindings
CopyrightWill Thompson and Iñaki García Etxebarria
LicenseLGPL-2.1
MaintainerIñaki García Etxebarria
Safe HaskellNone
LanguageHaskell2010

GI.NM.Structs.TCTfilter

Description

No description available in the introspection data.

Synopsis

Exported types

newtype TCTfilter Source #

Memory-managed wrapper type.

Instances

Instances details
Eq TCTfilter Source # 
Instance details

Defined in GI.NM.Structs.TCTfilter

GBoxed TCTfilter Source # 
Instance details

Defined in GI.NM.Structs.TCTfilter

ManagedPtrNewtype TCTfilter Source # 
Instance details

Defined in GI.NM.Structs.TCTfilter

TypedObject TCTfilter Source # 
Instance details

Defined in GI.NM.Structs.TCTfilter

Methods

glibType :: IO GType #

HasParentTypes TCTfilter Source # 
Instance details

Defined in GI.NM.Structs.TCTfilter

IsGValue (Maybe TCTfilter) Source #

Convert TCTfilter to and from GValue. See toGValue and fromGValue.

Instance details

Defined in GI.NM.Structs.TCTfilter

type ParentTypes TCTfilter Source # 
Instance details

Defined in GI.NM.Structs.TCTfilter

type ParentTypes TCTfilter = '[] :: [Type]

Methods

Click to display all available methods, including inherited ones

Expand

Methods

dup, equal, ref, unref.

Getters

getAction, getHandle, getKind, getParent.

Setters

setAction, setHandle.

dup

tCTfilterDup Source #

Arguments

:: (HasCallStack, MonadIO m) 
=> TCTfilter

tfilter: the TCTfilter

-> m TCTfilter

Returns: a copy of tfilter

Creates a copy of tfilter

Since: 1.12

equal

tCTfilterEqual Source #

Arguments

:: (HasCallStack, MonadIO m) 
=> TCTfilter

tfilter: the TCTfilter

-> TCTfilter

other: the TCTfilter to compare tfilter to.

-> m Bool

Returns: True if the objects contain the same values, False if they do not.

Determines if two TCTfilter objects contain the same kind, family, handle, parent and info.

Since: 1.12

getAction

tCTfilterGetAction Source #

Arguments

:: (HasCallStack, MonadIO m) 
=> TCTfilter

tfilter: the TCTfilter

-> m TCAction

Returns: the action associated with a traffic filter.

No description available in the introspection data.

Since: 1.42

getHandle

tCTfilterGetHandle Source #

Arguments

:: (HasCallStack, MonadIO m) 
=> TCTfilter

tfilter: the TCTfilter

-> m Word32

Returns: the queueing discipline handle

No description available in the introspection data.

Since: 1.12

getKind

tCTfilterGetKind Source #

Arguments

:: (HasCallStack, MonadIO m) 
=> TCTfilter

tfilter: the TCTfilter

-> m Text 

No description available in the introspection data.

Since: 1.12

getParent

tCTfilterGetParent Source #

Arguments

:: (HasCallStack, MonadIO m) 
=> TCTfilter

tfilter: the TCTfilter

-> m Word32

Returns: the parent class

No description available in the introspection data.

Since: 1.12

new

tCTfilterNew Source #

Arguments

:: (HasCallStack, MonadIO m) 
=> Text

kind: name of the queueing discipline

-> Word32

parent: the parent queueing discipline

-> m TCTfilter

Returns: the new TCTfilter object, or Nothing on error (Can throw GError)

Creates a new TCTfilter object.

Since: 1.12

ref

tCTfilterRef Source #

Arguments

:: (HasCallStack, MonadIO m) 
=> TCTfilter

tfilter: the TCTfilter

-> m () 

Increases the reference count of the object.

Since: 1.12

setAction

tCTfilterSetAction Source #

Arguments

:: (HasCallStack, MonadIO m) 
=> TCTfilter

tfilter: the TCTfilter

-> TCAction

action: the action object

-> m () 

Sets the action associated with a traffic filter.

Since: 1.42

setHandle

tCTfilterSetHandle Source #

Arguments

:: (HasCallStack, MonadIO m) 
=> TCTfilter

tfilter: the TCTfilter

-> Word32

handle: the queueing discipline handle

-> m () 

Sets the queueing discipline handle.

Since: 1.12

unref

tCTfilterUnref Source #

Arguments

:: (HasCallStack, MonadIO m) 
=> TCTfilter

tfilter: the TCTfilter

-> m () 

Decreases the reference count of the object. If the reference count reaches zero, the object will be destroyed.

Since: 1.12