UMockdev.IoctlClient

g GObject.Object GObject.Object UMockdev.IoctlClient UMockdev.IoctlClient GObject.Object->UMockdev.IoctlClient

Subclasses:

None

Methods

Inherited:

GObject.Object (37)

Structs:

GObject.ObjectClass (5)

abort ()

complete (res, errno_)

execute ()

get_arg ()

get_connected ()

get_devnode ()

get_request ()

Virtual Methods

Inherited:

GObject.Object (7)

Properties

Name

Type

Flags

Short Description

arg

UMockdev.IoctlData

r

The ioctl argument, for read/write the passed buffer

connected

bool

r

Whether the client is still connected

devnode

str

r

The device node the client opened

request

int

r

The current ioctl request

Signals

Inherited:

GObject.Object (1)

Name

Short Description

handle-ioctl

handle-read

handle-write

Fields

Inherited:

GObject.Object (1)

Name

Type

Access

Description

parent_instance

GObject.Object

r

Class Details

class UMockdev.IoctlClient(**kwargs)
Bases:

GObject.Object

Abstract:

No

Structure:

UMockdev.IoctlClientClass

abort()
complete(res, errno_)
Parameters:
  • res (int) –

  • errno (int) –

execute()
Raises:

GLib.Error

Return type:

(int, errno_: int)

get_arg()
Return type:

UMockdev.IoctlData

get_connected()
Return type:

bool

get_devnode()
Return type:

str

get_request()
Return type:

int

Signal Details

UMockdev.IoctlClient.signals.handle_ioctl()
Signal Name:

handle-ioctl

Flags:

RUN_LAST

UMockdev.IoctlClient.signals.handle_read()
Signal Name:

handle-read

Flags:

RUN_LAST

UMockdev.IoctlClient.signals.handle_write()
Signal Name:

handle-write

Flags:

RUN_LAST

Property Details

UMockdev.IoctlClient.props.arg
Name:

arg

Type:

UMockdev.IoctlData

Default Value:

None

Flags:

READABLE

The ioctl argument, for read/write the passed buffer

UMockdev.IoctlClient.props.connected
Name:

connected

Type:

bool

Default Value:

False

Flags:

READABLE

Whether the client is still connected

UMockdev.IoctlClient.props.devnode
Name:

devnode

Type:

str

Default Value:

None

Flags:

READABLE

The device node the client opened

UMockdev.IoctlClient.props.request
Name:

request

Type:

int

Default Value:

0

Flags:

READABLE

The current ioctl request