Class

HinawaFwReq

Description [src]

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

A transaction executor to a FireWire unit. A HinawaFwReq supports some types of transactions in IEEE 1212. Mainly for read, write and lock operations.

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

Ancestors

Constructors

hinawa_fw_req_new

Instantiate HinawaFwReq object and return the instance.

since: 1.3.

Instance methods

hinawa_fw_req_request

Execute request subaction of transactions to the given node according to given code. When the response subaction arrives and running event dispatcher reads the contents, HinawaFwReq::responded2 signal handler is called.

since: 2.6.

hinawa_fw_req_transaction

Execute request subaction of transaction to the given node according to given code, then wait for response subaction within the value of timeout argument.

deprecated: 2.1 since: 1.4

hinawa_fw_req_transaction_async

Execute request subaction of transactions to the given node according to given code. When the response subaction arrives and read the contents, HinawaFwReq::responded2 signal handler is called as long as event dispatcher runs.

deprecated: 2.6 since: 2.1.

hinawa_fw_req_transaction_sync

Execute request subaction of transaction to the given node according to given code, then wait for response subaction within the given timeout. The HinawaFwReq:timeout property of instance is ignored.

deprecated: 2.6. since: 2.1.

hinawa_fw_req_transaction_with_tstamp

Execute request subaction of transaction to the given node according to given code, then wait for response subaction within the given timeout. The HinawaFwReq:timeout property of instance is ignored.

since: 2.6

Methods inherited from GObject (43)

Please see GObject for a full list of methods.

Properties

Hinawa.FwReq:timeout
No description available.

deprecated: 2.1 since: 1.4

Signals

Hinawa.FwReq::responded

Emitted when the unit transfers asynchronous packet as response subaction for the transaction and the process successfully reads the content of packet from Linux firewire subsystem, except for the case that HinawaFwReq::responded2 signal handler is already assigned.

deprecated: 2.6 since: 2.1

Hinawa.FwReq::responded2

Emitted when the unit transfers asynchronous packet as response subaction for the transaction and the process successfully reads the content of packet from Linux firewire subsystem.

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 HinawaFwReqClass {
  GObjectClass parent_class;
  void (* responded) (
    HinawaFwReq* self,
    HinawaFwRcode rcode,
    const guint8* frame,
    guint frame_size
  );
  void (* responded2) (
    HinawaFwReq* self,
    HinawaFwRcode rcode,
    guint request_tstamp,
    guint response_tstamp,
    const guint8* frame,
    guint frame_size
  );
  
}
No description available.
Class members
parent_class: GObjectClass
No description available.
responded: void (* responded) ( HinawaFwReq* self, HinawaFwRcode rcode, const guint8* frame, guint frame_size )
No description available.
responded2: void (* responded2) ( HinawaFwReq* self, HinawaFwRcode rcode, guint request_tstamp, guint response_tstamp, const guint8* frame, guint frame_size )
No description available.

Virtual methods

Hinawa.FwReqClass.responded

Class closure for the HinawaFwReq::responded signal.

deprecated: 2.6 since: 2.1

Hinawa.FwReqClass.responded2

Class closure for the HinawaFwReq::responded2 signal.

since: 2.6