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.
Instance methods
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.
Properties
Hinawa.FwResp:is-reserved
Whether a range of address is reserved or not in host controller.
since: 2.0
Signals
Hinawa.FwResp::requested
Emitted when any node transfers requests to the range of address to which this object
listening, the HinawaFwResp::requested
signal handler is called with HinawaFwTcode
,
without the case that HinawaFwResp::requested2
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 to which this
object listening, the HinawaFwResp::requested
signal handler is called with arrived
frame for the subaction. The handler is expected to call hinawa_fw_resp_set_resp_frame()
with frame and return HinawaFwRcode
for response subaction.
since: 2.2
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
);
}
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.