Class

HinawaFwResp

Description [src]

class Hinawa.FwResp : GObject.Object {
  parent_instance: GObject
}

A transaction responder for request initiated by node in IEEE 1394 bus. The HinawaFwResp responds transaction initiated by node in IEEE 1394 bus.

This class is an application of Linux FireWire subsystem. All of operations utilize ioctl(2) with subsystem specific request commands.

Ancestors

Descendants

Constructors

hinawa_fw_resp_new

Instantiate HinawaFwResp object and return the instance.

since: 1.3.

Instance methods

hinawa_fw_resp_get_req_frame

Retrieve byte frame to be requested.

deprecated: 2.2 since: 2.0

hinawa_fw_resp_release

Stop to listen to a range of address in local node (e.g. OHCI 1394 controller).

since: 1.4.

hinawa_fw_resp_reserve

Start to listen to a range of address in host controller which connects to the node. The function is a variant of hinawa_fw_resp_reserve_within_region() so that the exact range of address should be reserved as given.

since: 1.4.

hinawa_fw_resp_reserve_within_region

Start to listen to range of address equals to #width in local node (e.g. 1394 OHCI host controller), which is used to communicate to the node given as parameter. The range of address is looked up in region between region_start and region_end.

since: 2.3.

hinawa_fw_resp_set_resp_frame

Register byte frame as response.

since: 2.0

Methods inherited from GObject (43)

Please see GObject for a full list of methods.

Properties

Hinawa.FwResp:is-reserved

Whether a range of address is reserved or not in host controller.

since: 2.0

Hinawa.FwResp:offset

The start offset of reserved address range.

since: 2.3

Hinawa.FwResp:width

The width of reserved address range.

since: 2.3

Signals

Hinawa.FwResp::requested

Emitted when any node transfers requests to the range of address in 1394 OHCI controller to which this object listening, except for the case that either HinawaFwResp::requested2 signal handler or HinawaFwResp::requested3 signal handler is already assigned.

deprecated: 2.2 since: 0.3

Hinawa.FwResp::requested2

Emitted when any node transfers request subaction to the range of address in 1394 OHCI controller to which this object listening, except for the case that HinawaFwResp::requested3 signal handler is already assigned.

deprecated: 2.6 since: 2.2

Hinawa.FwResp::requested3

Emitted when any node transfers request subaction to the range of address in 1394 OHCI controller to which this object listening.

since: 2.6

Signals inherited from GObject (1)
GObject::notify

The notify signal is emitted on an object when one of its properties has its value set through g_object_set_property(), g_object_set(), et al.

Class structure

struct HinawaFwRespClass {
  GObjectClass parent_class;
  HinawaFwRcode (* requested) (
    HinawaFwResp* self,
    HinawaFwTcode tcode
  );
  HinawaFwRcode (* requested2) (
    HinawaFwResp* self,
    HinawaFwTcode tcode,
    guint64 offset,
    guint32 src,
    guint32 dst,
    guint32 card,
    guint32 generation,
    const guint8* frame,
    guint length
  );
  HinawaFwRcode (* requested3) (
    HinawaFwResp* self,
    HinawaFwTcode tcode,
    guint64 offset,
    guint src,
    guint dst,
    guint card,
    guint generation,
    guint tstamp,
    const guint8* frame,
    guint length
  );
  
}
No description available.
Class members
parent_class: GObjectClass
No description available.
requested: HinawaFwRcode (* requested) ( HinawaFwResp* self, HinawaFwTcode tcode )
No description available.
requested2: HinawaFwRcode (* requested2) ( HinawaFwResp* self, HinawaFwTcode tcode, guint64 offset, guint32 src, guint32 dst, guint32 card, guint32 generation, const guint8* frame, guint length )
No description available.
requested3: HinawaFwRcode (* requested3) ( HinawaFwResp* self, HinawaFwTcode tcode, guint64 offset, guint src, guint dst, guint card, guint generation, guint tstamp, const guint8* frame, guint length )
No description available.

Virtual methods

Hinawa.FwRespClass.requested

Class closure for the HinawaFwResp::requested signal.

deprecated: 2.2 

Hinawa.FwRespClass.requested2

Class closure for the HinawaFwResp::requested2 signal.

deprecated: 2.6 since: 2.2

Hinawa.FwRespClass.requested3

Class closure for the HinawaFwResp::requested3 signal.

since: 2.6