Developer

API Reference

IBTOPPServer_AcceptPull()

Brew Release
Brew MP 1.0.2
See Also
None
Description
Accepts or rejects PULL request from client. This API should be called in response to AEEBTOPPSVR_EV_PULL_REQ event.
To reject the request, application should set sourceArrayLen to 0.
Parameters
  • _me
    [in]:
    the object
  • sourceArray
    [in]:
    data source
  • sourceArrayLen
    [in]:
    number of bytes of data in sourceArray
  • objName
    [in]:
    object name
  • szType
    [in]:
    MIME type string
  • nReportFreq
    [in]:
    minimum number of bytes sent out between progress reports
    Return
  • AEE_SUCCESS
    []:
    The command has been scheduled, and PULL_RSP_PROGRESS and/or PULL_RSP_COMPLETE events will be generated.
  • AEE_EBADSTATE
    []:
    No pending PULL requests found.
Interface
Prototype
   AEEResult IBTOPPServer_AcceptPull (IBTOPPServer* _me,
                                      const uint8* sourceArray,
                                      int sourceArrayLen,
                                      const _wchar_t* objName,
                                      const char* szType,
                                      int nReportFreq);
Side Effect
None
Comment
None
  • Follow