| ADC Home > Reference Library > Reference > Hardware & Drivers > I/O Kit Framework Reference 
 | 
| IOFireWirePseudoAddressSpaceInterface | 
| Declared In: | 
Represents and provides management functions for a pseudo address space (software-backed) in the local machine.
Pseudo address space objects can be created using IOFireWireDeviceInterface.
Notifies the address space that a packet notification handler has completed.
Gets a pointer to the backing store for this address space.
Gets the size in bytes of this address space.
Gets the FireWire address of this address space.
Returns the user refCon value for this address space.
Determines if notification is on.
Sets the callback that should be called to handle read accesses to the corresponding address space.
Sets the callback that should be called when incoming packets are dropped by the address space.
Sets the callback that should be called to handle write accesses to the corresponding address space.
Forces packet notification off.
Tries to turn on packet notifications for this address space.
| ClientCommandIsComplete | 
Notifies the address space that a packet notification handler has completed.
void ( *ClientCommandIsComplete)( IOFireWireLibPseudoAddressSpaceRef self, FWClientCommandID commandID, IOReturn status);
selfThe address space interface to use.
commandIDThe ID of the packet notification being completed. This is the same ID that was passed when a packet notification handler is called.
statusReturns the completion status of the packet handler.
Packet notifications are received one at a time, in order. This function must be called after a packet handler has completed its work.
| GetBuffer | 
Gets a pointer to the backing store for this address space.
void* ( *GetBuffer)( IOFireWireLibPseudoAddressSpaceRef self);
selfThe address space interface to use.
Returns a pointer to the backing store of this pseudo address space. Returns nil if none.
| GetBufferSize | 
Gets the size in bytes of this address space.
const UInt32 (*GetBufferSize)(IOFireWireLibPseudoAddressSpaceRef self);
selfThe address space interface to use.
Returns the size of the pseudo address space in bytes. Returns 0 for none.
| GetFWAddress | 
Gets the FireWire address of this address space.
void ( *GetFWAddress)( IOFireWireLibPseudoAddressSpaceRef self, FWAddress *outAddr);
selfReturns the pseudo address interface to use.
| GetRefCon | 
Returns the user refCon value for this address space.
void* ( *GetRefCon)( IOFireWireLibPseudoAddressSpaceRef self);
selfThe address space interface to use.
Returns the size of the pseudo address space in bytes. Returns 0 for none.
| NotificationIsOn | 
Determines if notification is on.
Boolean ( *NotificationIsOn)( IOFireWireLibPseudoAddressSpaceRef self);
selfThe address space interface to use.
Returns true if packet notifications for this address space are active.
| SetReadHandler | 
Sets the callback that should be called to handle read accesses to the corresponding address space.
const IOFireWirePseudoAddressSpaceReadHandler (*SetReadHandler)( IOFireWireLibPseudoAddressSpaceRef self, IOFireWirePseudoAddressSpaceReadHandler inReader);
selfThe address space interface to use.
inReaderThe callback to set.
Returns the callback that was previously set or nil for none.
| SetSkippedPacketHandler | 
Sets the callback that should be called when incoming packets are dropped by the address space.
const IOFireWirePseudoAddressSpaceSkippedPacketHandler (*SetSkippedPacketHandler)( IOFireWireLibPseudoAddressSpaceRef self, IOFireWirePseudoAddressSpaceSkippedPacketHandler inHandler);
selfThe address space interface to use.
inHandlerThe callback to set.
Returns the callback that was previously set or nil for none.
| SetWriteHandler | 
Sets the callback that should be called to handle write accesses to the corresponding address space.
const IOFireWirePseudoAddressSpaceWriteHandler (*SetWriteHandler)( IOFireWireLibPseudoAddressSpaceRef self, IOFireWirePseudoAddressSpaceWriteHandler inWriter);
selfThe address space interface to use.
inWriterThe callback to set.
Returns the callback that was previously set or nil for none.
| TurnOffNotification | 
Forces packet notification off.
void ( *TurnOffNotification)( IOFireWireLibPseudoAddressSpaceRef self);
selfThe pseudo address interface to use.
| TurnOnNotification | 
Tries to turn on packet notifications for this address space.
Boolean ( *TurnOnNotification)( IOFireWireLibPseudoAddressSpaceRef self);
selfThe address space interface to use.
Returns true upon success.
| 
 | 
Last Updated: 2009-02-23