API Reference | developer.brewmp.com API Reference | developer.brewmp.com

Developer

API Reference

IQOSSPEC_SETRXFLOWSPEC()

Brew Release
Brew MP 1.0.2
See Also
IQoSSpec_GetRxFlowSpec() IQoSSession_Open() IQoSSession_ModifyEx()
Description
This function sets the list of Rx Flow specs that is stored in the IQoSSpec object. This function doesn't copy the given IQoSList object but rather stores a reference to it. The given IQoSList object replaces the stored one, if one actually exists. The stored IQoSList is Release()'d and the given IQoSList is AddRef()'d. If no IQoSList object is given (pIQoSFlowList==NULL), the stored list is removed.
No validation is done on the content of the given IQoSList object. Validation is only done later when the object is used in operations such as IQoSSession_Open() and IQoSSession_ModifyEx().
Params
po
[]:
the interface pointer
pIQoSFlowList
[]:
list of IQoSFlow objects to be used as the list of Rx Flow specs. May be NULL. The order of IQoSFlow objects in the list is significant. The first object is the most suitable flow for the client while the last object is the minimum required flow by the client. If only one object exists in the list, it is considered to be the requested flow (no minimum required flow).
Interface
Prototype
  •    int IQoSSpec_SetRxFlowSpec(IQoSSpec* po, IQoSList* pIQoSFlowList)
    
Return
  • AEE_SUCCESS: if successfully set
Side Effect
  • None.
Comments
None.