Enums

Details

class Hinawa.FwFcpError(value)

Bases: GObject.GEnum

A set of error code for [struct`GLib`.Error] for operations in [class`FwFcp`].

New in version 2.1.

classmethod quark()
Returns:

A [alias`GLib`.Quark].

Return type:

int

Return the [alias`GLib`.Quark] for [struct`GLib`.Error] which has code in [error`FwFcpError`].

New in version 2.1.

TIMEOUT = 0

The transaction is canceled due to response timeout.

LARGE_RESP = 1

The size of response is larger than expected.

ABORTED = 2

The transaction is aborted due to bus reset.

class Hinawa.FwNodeError(value)

Bases: GObject.GEnum

A set of error code for [struct`GLib`.Error] for operations in [class`FwNode`].

New in version 2.1.

classmethod quark()
Returns:

A [alias`GLib`.Quark].

Return type:

int

Return the [alias`GLib`.Quark] for [struct`GLib`.Error] with [error`FwNodeError`] domain.

New in version 2.1.

DISCONNECTED = 0

The node associated to the instance is disconnected.

OPENED = 1

The instance is already associated to node by opening firewire character device.

NOT_OPENED = 2

The instance is not associated to node by opening firewire character device.

FAILED = 3

The system call fails.

class Hinawa.FwRcode(value)

Bases: GObject.GEnum

A representation for rcode of asynchronous transaction on IEEE 1394 bus.

New in version 1.0.

COMPLETE = 0

For completion.

SEND_ERROR = 16

For error of sending.

CANCELLED = 17

For cancellation.

BUSY = 18

For busyness.

GENERATION = 19

For generation.

NO_ACK = 20

For no acknowledge.

INVALID = 21

For rcode out of specification.

CONFLICT_ERROR = 4

For error of conflicting.

DATA_ERROR = 5

For error of data.

TYPE_ERROR = 6

For error of type.

ADDRESS_ERROR = 7

For error of address.

class Hinawa.FwReqError(value)

Bases: GObject.GEnum

A set of error code for [struct`GLib`.Error] for operations in [class`FwReq`]. The actual value is equivalent to [enum`FwRcode`].

New in version 2.5.

classmethod quark()
Returns:

A [alias`GLib`.Quark].

Return type:

int

Return the [alias`GLib`.Quark] for [struct`GLib`.Error] with code of [enum`FwRcode`].

New in version 2.1.

SEND_ERROR = 16

For error of sending.

CANCELLED = 17

For cancellation.

BUSY = 18

For busyness.

GENERATION = 19

For generation.

NO_ACK = 20

For no acknowledge.

INVALID = 21

For rcode out of specification.

CONFLICT_ERROR = 4

For error of conflicting.

DATA_ERROR = 5

For error of data.

TYPE_ERROR = 6

For error of type.

ADDRESS_ERROR = 7

For error of address.

class Hinawa.FwRespError(value)

Bases: GObject.GEnum

A set of error code for [struct`GLib`.Error] for operations in [class`FwResp`].

New in version 2.2.

classmethod quark()
Returns:

A [alias`GLib`.Quark].

Return type:

int

Return the [alias`GLib`.Quark] for error domain of [struct`GLib`.Error] which has code in [error`FwRespError`].

New in version 2.2.

FAILED = 0

The generic system call error.

RESERVED = 1

The instance is already associated to reserved address range.

ADDR_SPACE_USED = 2

The address space is used exclusively.

class Hinawa.FwTcode(value)

Bases: GObject.GEnum

A representation for tcode of asynchronous transaction on IEEE 1394 bus.

New in version 1.0.

WRITE_QUADLET_REQUEST = 0

For request to write quadlet.

WRITE_BLOCK_REQUEST = 1

For request to write block.

STREAM_DATA = 10

For stream data.

LOCK_RESPONSE = 11

For response to lock.

LOCK_MASK_SWAP = 17

For lock request for mask-swap.

LOCK_COMPARE_SWAP = 18

For lock request for compare-swap.

LOCK_FETCH_ADD = 19

For lock request for fetch-add.

WRITE_RESPONSE = 2

For response to write.

LOCK_LITTLE_ADD = 20

For lock request for little-add.

LOCK_BOUNDED_ADD = 21

For lock request for bounded-add.

LOCK_WRAP_ADD = 22

For lock request for wrap-add.

LOCK_VENDOR_DEPENDENT = 23

For lock request for vendor-dependent.

READ_QUADLET_REQUEST = 4

For response to read quadlet.

READ_BLOCK_REQUEST = 5

For request to read block.

READ_QUADLET_RESPONSE = 6

For response to quadlet read.

READ_BLOCK_RESPONSE = 7

For response to block read.

CYCLE_START = 8

For cycle start.

LOCK_REQUEST = 9

For request to lock.