|
ADC Home > Reference Library > Reference > Hardware & Drivers > I/O Kit Framework Reference
|
IOFireWireSBP2LibMgmtORBInterface |
| Declared In: |
Supplies non login related management ORBs. Management ORBs can be executed independent of a login, if necessary. Management ORBs are created using the IOFireWireSBP2LibLUNInterface.
Returns the current function of the management ORB.
Sets the function of the management ORB.
Sets the command to be managed by the management ORB.
Sets the command to be managed by the management ORB.
Sets the ORB completion routine.
Sets the login refCon.
Sets the response buffer for the management ORB.
Submits this ORB for execution.
getRefCon |
Returns the current function of the management ORB.
void * ( *getRefCon)( void *self);
selfPointer to a IOFireWireSBP2LibMgmtORBInterface.
Returns the function of the management ORB.
Returns the function of the management ORB. This is the same value that was set with setCommandFunction.
setCommandFunction |
Sets the function of the management ORB.
IOReturn ( *setCommandFunction)( void *self, UInt32 function );
selfPointer to a IOFireWireSBP2LibMgmtORBInterface.
functiona value indicating the desired management function.
Returns kIOReturnSuccess if function was a legal function.
Sets the the function of the management ORB. Legal values are kFWSBP2QueryLogins, kFWSBP2AbortTask, kFWSBP2AbortTaskSet, kFWSBP2LogicalUnitReset, and kFWSBP2TargetReset.
setManageeLogin |
Sets the command to be managed by the management ORB.
IOReturn ( *setManageeLogin)( void *self, void *command );
selfPointer to a IOFireWireSBP2LibMgmtORBInterface.
commanda reference to an IOFireWireSBP2Login or an IOFireWireSBP2ORB.
Returns kIOReturnSuccess on a success.
All management functions except kFWSBP2QueryLogins require a reference to an ORB of some sort. kFWSBP2AbortTaskSet, kFWSBP2LogicalUnitReset, and kFWSBP2TargetReset require a reference to the login ORB. This method allows you to set the login ORB to be managed.
setManageeORB |
Sets the command to be managed by the management ORB.
IOReturn ( *setManageeORB)( void *self, void *command );
selfPointer to a IOFireWireSBP2LibMgmtORBInterface.
commanda reference to an IOFireWireSBP2Login or an IOFireWireSBP2ORB.
Returns kIOReturnSuccess on a success.
All management functions except kFWSBP2QueryLogins require a reference to an ORB of some sort. kFWSBP2AbortTask requires a reference to the ORB to be aborted. This method allows you to set the Normal Command ORB to be managed.
setORBCompleteCallback |
Sets the ORB completion routine.
void ( *setORBCompleteCallback)( void *self, void *refCon, IOFWSBP2ORBCompleteCallback callback );
selfPointer to a IOFireWireSBP2LibMgmtORBInterface.
refConrefCon passed as first argument to completion routine
Sets the completion routine to be called when the ORB finishes execution. The refCon set with setRefCon will also be passed as the third argument to the completion handler.
setRefCon |
Sets the login refCon.
void ( *setRefCon)( void *self, void *refCon );
selfPointer to a IOFireWireSBP2LibMgmtORBInterface.
refCona user defined value.
Sets a user defined value on the login that can be retrieved later with the method getRefCon.
setResponseBuffer |
Sets the response buffer for the management ORB.
IOReturn ( *setResponseBuffer)( void *self, void *buf, UInt32 len );
selfPointer to a IOFireWireSBP2LibMgmtORBInterface.
bufbacking store for buffer
lenlength of buffer.
Returns kIOReturnSuccess on a success.
Sets the response buffer for the management ORB. kFWSBP2QueryLogins returns a response to its query and needs to write it somewhere. This routine allows you to specify the location.
submitORB |
Submits this ORB for execution.
IOReturn ( *submitORB)( void *self );
selfPointer to a IOFireWireSBP2LibMgmtORBInterface.
Submits this ORB for execution
|
Last Updated: 2009-02-23