Wrapper class that simplifies the information passed to the QoS enabled <ACE_OS::accept> method.
More...
#include <OS_QoS.h>
Wrapper class that simplifies the information passed to the QoS enabled <ACE_OS::accept> method.
◆ ACE_Accept_QoS_Params()
ACE_Accept_QoS_Params::ACE_Accept_QoS_Params |
( |
ACE_QOS_CONDITION_FUNC |
qos_condition_callback = 0 , |
|
|
unsigned long |
callback_data = 0 |
|
) |
| |
Initialize the data members. The <qos_condition_callback> is the address of an optional, application-supplied condition function that will make an accept/reject decision based on the caller information pass in as parameters, and optionally create or join a socket group by assinging an appropriate value to the result parameter <g> of this function. The <callback_data> data is passed back to the application as a condition function parameter, i.e., it is an Asynchronous Completion Token (ACT).
◆ callback_data() [1/2]
unsigned long ACE_Accept_QoS_Params::callback_data |
( |
void |
| ) |
const |
◆ callback_data() [2/2]
void ACE_Accept_QoS_Params::callback_data |
( |
unsigned long |
cd | ) |
|
◆ qos_condition_callback() [1/2]
Get QoS condition callback.
◆ qos_condition_callback() [2/2]
Set QoS condition callback.
◆ callback_data_
unsigned long ACE_Accept_QoS_Params::callback_data_ |
|
private |
This data is passed back to the application as a condition function parameter, i.e., it is an Asynchronous Completion Token (ACT).
◆ qos_condition_callback_
This is the address of an optional, application-supplied condition function that will make an accept/reject decision based on the caller information pass in as parameters, and optionally create or join a socket group by assinging an appropriate value to the result parameter <g> of this function.
The documentation for this class was generated from the following files: