Developer

API Reference

IBTOPPServer_AcceptPush()

Brew Release
Brew MP 1.0.2
See Also
None
Description
Accepts or rejects PUSH request from client. This API should be called in response to AEEBTOPPSVR_EV_PUSH_REQ event.
To reject the request, application should set nDataLen to 0.
Parameters
  • _me
    [in]:
    the object
  • nDataLen
    [in]:
    number of bytes of data to accept
  • nReportFreq
    [in]:
    minimum number of bytes received between progress reports
    Return
  • AEE_SUCCESS
    []:
    The command has been scheduled, and events PUSH_RSP_PROGRESS and/or PUSH_RSP_COMPLETE will be generated.
  • AEE_ENOMEMORY
    []:
    insufficient memory to hold nDataLen bytes of data
  • AEE_EBADSTATE
    []:
    No pending PUSH requests found.
Interface
Prototype
   AEEResult IBTOPPServer_AcceptPush (IBTOPPServer* _me,
                                      int nDataLen,
                                      int nReportFreq);
Side Effect
None
Comment
None
  • Follow