Instance Property

SetFinalizeCallback

Set the finalize callback for a local isoch port

Declaration

IOReturn (*SetFinalizeCallback)(IOFireWireLibLocalIsochPortRef self, IOFireWireLibIsochPortFinalizeCallback finalizeCallback);

Parameters

self

The local isoch port interface to use.

finalizeCallback

The finalize callback.

Return Value

Returns true if this isoch port has no more pending callbacks and does not need any more runloop time.

Discussion

When Stop() is called on a LocalIsochPortInterface, there may or may not be isoch callbacks still pending for this isoch port. The port must be allowed to handle any pending callbacks, so the isoch runloop should not be stopped until a port has handled all pending callbacks. The finalize callback is called after the final callback has been made on the isoch runloop. After this callback is sent, it is safe to stop the isoch runloop.

You should not access the isoch port after the finalize callback has been made; it may be released immediately after this callback is sent.

Availability: IOFireWireLocalIsochPortInterface_v4 and newer.

See Also

Miscellaneous

AllocatePort

The method is called when the port should configure its associated hardware to prepare to send or receive isochronous data on the channel number and at the speed specified.

GetRefCon

Get reference value associated with this port.

GetSupported

The method is called to determine which FireWire isochronous channels and speed this port supports.

ModifyJumpDCL

Change the jump target label of a jump DCL.

ModifyTransferPacketDCL

Modify the transfer size of a transfer packet DCL (send or receive)

ModifyTransferPacketDCLBuffer

NOT IMPLEMENTED. Modify the transfer size of a transfer packet DCL (send or receive)

ModifyTransferPacketDCLSize

Modify the transfer size of a transfer packet DCL (send or receive)

PrintDCLProgram

Display the contents of a DCL program.

ReleasePort

The method is called to release the hardware after the channel has been stopped.

SetRefCon

Set reference value associated with this port.

Start

The method is called when the port is to begin talking or listening.

Stop

The method is called when the port is to stop talking or listening.