#include <OS_QoS.h>
Public Methods | |
| ACE_Accept_QoS_Params (ACE_QOS_CONDITION_FUNC qos_condition_callback=0, u_long callback_data=0) | |
| ACE_QOS_CONDITION_FUNC | qos_condition_callback (void) const |
| Get QoS condition callback. More... | |
| void | qos_condition_callback (ACE_QOS_CONDITION_FUNC qcc) |
| Set QoS condition callback. More... | |
| u_long | callback_data (void) const |
| Get callback data. More... | |
| void | callback_data (u_long cd) |
| Set callback data. More... | |
Private Attributes | |
| ACE_QOS_CONDITION_FUNC | qos_condition_callback_ |
| u_long | callback_data_ |
Definition at line 338 of file OS_QoS.h.
|
||||||||||||
|
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). Definition at line 443 of file OS_QoS.cpp. References ACE_QOS_CONDITION_FUNC.
00445 : qos_condition_callback_ (qos_condition_callback), 00446 callback_data_ (callback_data) 00447 { 00448 } |
|
|
Set callback data.
Definition at line 469 of file OS_QoS.cpp. References callback_data_.
00470 {
00471 this->callback_data_ = cd;
00472 }
|
|
|
Get callback data.
Definition at line 463 of file OS_QoS.cpp. References callback_data_. Referenced by ACE_OS::accept.
00464 {
00465 return this->callback_data_;
00466 }
|
|
|
Set QoS condition callback.
Definition at line 457 of file OS_QoS.cpp. References ACE_QOS_CONDITION_FUNC, and qos_condition_callback_.
00458 {
00459 this->qos_condition_callback_ = qcc;
00460 }
|
|
|
Get QoS condition callback.
Definition at line 451 of file OS_QoS.cpp. References qos_condition_callback_. Referenced by ACE_OS::accept.
00452 {
00453 return this->qos_condition_callback_;
00454 }
|
|
|
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 381 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 <g> of this function. Definition at line 374 of file OS_QoS.h. Referenced by qos_condition_callback. |
1.2.14 written by Dimitri van Heesch,
© 1997-2002