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

Developer

API Reference

IPRIMARYQOSSESSION_SELECTNETWORK()

Brew Release
Brew MP 1.0.2
See Also
Data networks
Description
This function selects a specific data network to which this Primary QoS Session instance would be linked to.
Specifications for the desired data network include address family.
Params
po
[]:
the interface pointer
nNetwork
[]:
the network for this Primary QoS Session instance to be linked to. One of AEE_NETWORK_* constants.
sFamily
[]:
address family (AEE_AF_*)
Interface
Prototype
  •    int IPrimaryQoSSession_SelectNetwork(IPrimaryQoSSession *po, int nNetwork, int16 sFamily);
    
Return
  • AEE_NET_SUCCESS: the data network was selected.
    AEE_NET_EINVAL: the network is not valid.
    AEE_EBADPARM: invalid input parameter
    Other error codes are also possible.
Side Effect
  • None.
Comments
Application can re-select a different data network to which this Primary QoS Session instance would be linked to. In this case all registered callbacks (via IPrimaryQoSSession_AddListener()) would be canceled.