#include <OS_QoS.h>
Public Member Functions | |
ACE_Accept_QoS_Params (ACE_QOS_CONDITION_FUNC qos_condition_callback=0, unsigned long callback_data=0) | |
ACE_QOS_CONDITION_FUNC | qos_condition_callback (void) const |
Get QoS condition callback. | |
void | qos_condition_callback (ACE_QOS_CONDITION_FUNC qcc) |
Set QoS condition callback. | |
unsigned long | callback_data (void) const |
Get callback data. | |
void | callback_data (unsigned long cd) |
Set callback data. | |
Private Attributes | |
ACE_QOS_CONDITION_FUNC | qos_condition_callback_ |
unsigned long | callback_data_ |
Definition at line 403 of file OS_QoS.h.
|
Initialize the data members. The 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 of this function. The data is passed back to the application as a condition function parameter, i.e., it is an Asynchronous Completion Token (ACT). Definition at line 445 of file OS_QoS.cpp. References ACE_QOS_CONDITION_FUNC.
00447 : qos_condition_callback_ (qos_condition_callback), 00448 callback_data_ (callback_data) 00449 { 00450 } |
|
Set callback data.
Definition at line 471 of file OS_QoS.cpp. References callback_data_.
00472 { 00473 this->callback_data_ = cd; 00474 } |
|
Get callback data.
Definition at line 465 of file OS_QoS.cpp. References callback_data_. Referenced by ACE_OS::accept().
00466 { 00467 return this->callback_data_; 00468 } |
|
Set QoS condition callback.
Definition at line 459 of file OS_QoS.cpp. References ACE_QOS_CONDITION_FUNC, and qos_condition_callback_.
00460 { 00461 this->qos_condition_callback_ = qcc; 00462 } |
|
Get QoS condition callback.
Definition at line 453 of file OS_QoS.cpp. References qos_condition_callback_. Referenced by ACE_OS::accept().
00454 { 00455 return this->qos_condition_callback_; 00456 } |
|
This data is passed back to the application as a condition function parameter, i.e., it is an Asynchronous Completion Token (ACT). Definition at line 446 of file OS_QoS.h. Referenced by callback_data(). |
|
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 of this function. Definition at line 439 of file OS_QoS.h. Referenced by qos_condition_callback(). |