mpiSqNodeDownloadServiceCommand
Declaration
MPI_DECL1 long MPI_DECL2 mpiSqNodeDownloadServiceCommand(MPISqNode sqNode, MPISqNodeCommand *command, MPISqNodeResponse *response, long timeOutMillSec);
Required Header: stdmpi.h
Change History: Added in 04.00.
Description
mpiSqNodeDownloadServiceCommand is used to perform hand shake service command reads/writes with the node when the network is in ASYNQ mode. Network should be in ASYNQ mode before calling this method. Based on the implementation on the drive, the node may respond with data or if the command is not supported on the drive, then MPI returns an error code MPISqNodeMessageSRVC_UNSUPPORTED.
SqNode | A handle to SynqNet node object. |
---|---|
MPISqNodeCommand | Service command request data structure. |
MPISqNodeResponse | Response data structure for service command. |
timeOutMillSec | Timeout duration to wait for response from the node for service command request. |
Return Values |
---|
MPIMessageOK |
MPISqNodeMessageSRVC_UNSUPPORTED |
MPISqNodeMessageSRVC_ERROR |
MPIMessageARG_INVALID |