#include <OS_QoS.h>
Collaboration diagram for ACE_QoS:
Public Member Functions | |
ACE_QoS (void) | |
Constructor. | |
ACE_Flow_Spec * | sending_flowspec (void) const |
Get the flow spec for data sending. | |
void | sending_flowspec (ACE_Flow_Spec *fs) |
Set the flow spec for data sending. | |
ACE_Flow_Spec * | receiving_flowspec (void) const |
Get the flow spec for data receiving. | |
void | receiving_flowspec (ACE_Flow_Spec *fs) |
Set the flow spec for data receiving. | |
iovec | provider_specific (void) const |
Get the provider specific information. | |
void | provider_specific (const iovec &ps) |
Set the provider specific information. | |
Private Attributes | |
ACE_Flow_Spec * | sending_flowspec_ |
ACE_Flow_Spec * | receiving_flowspec_ |
Definition at line 271 of file OS_QoS.h.
|
Constructor.
Definition at line 303 of file OS_QoS.cpp.
00306 : sending_flowspec_ (0), 00307 receiving_flowspec_ (0) 00308 #endif /* ACE_HAS_WINSOCK2 */ 00309 { 00310 } |
|
Set the provider specific information.
Definition at line 363 of file OS_QoS.cpp.
00364 { 00365 #if defined (ACE_HAS_WINSOCK2) && (ACE_HAS_WINSOCK2 != 0) 00366 this->ProviderSpecific = (WSABUF) ((iovec &) ps); 00367 #else 00368 ACE_UNUSED_ARG (ps); 00369 #endif /* ACE_HAS_WINSOCK2 */ 00370 } |
|
Get the provider specific information.
Definition at line 353 of file OS_QoS.cpp. References ACE_NOTSUP_RETURN. Referenced by ACE_OS::ioctl(), and ACE_OS::join_leaf().
00354 { 00355 #if defined (ACE_HAS_WINSOCK2) && (ACE_HAS_WINSOCK2 != 0) 00356 return (iovec&) this->ProviderSpecific; 00357 #else 00358 ACE_NOTSUP_RETURN (iovec ()); 00359 #endif /* ACE_HAS_WINSOCK2 */ 00360 } |
|
Set the flow spec for data receiving.
Definition at line 343 of file OS_QoS.cpp. References receiving_flowspec_.
00344 { 00345 #if defined (ACE_HAS_WINSOCK2) && (ACE_HAS_WINSOCK2 != 0) 00346 this->ReceivingFlowspec = (FLOWSPEC) (*fs); 00347 #else 00348 this->receiving_flowspec_ = fs; 00349 #endif /* ACE_HAS_WINSOCK2 */ 00350 } |
|
Get the flow spec for data receiving.
Definition at line 333 of file OS_QoS.cpp. References receiving_flowspec_. Referenced by ACE_OS::ioctl(), and ACE_OS::join_leaf().
00334 { 00335 #if defined (ACE_HAS_WINSOCK2) && (ACE_HAS_WINSOCK2 != 0) 00336 return &((ACE_Flow_Spec &) this->ReceivingFlowspec); 00337 #else 00338 return receiving_flowspec_; 00339 #endif /* ACE_HAS_WINSOCK2 */ 00340 } |
|
Set the flow spec for data sending.
Definition at line 323 of file OS_QoS.cpp. References sending_flowspec_.
00324 { 00325 #if defined (ACE_HAS_WINSOCK2) && (ACE_HAS_WINSOCK2 != 0) 00326 this->SendingFlowspec = (FLOWSPEC) (*fs); 00327 #else 00328 this->sending_flowspec_ = fs; 00329 #endif /* ACE_HAS_WINSOCK2 */ 00330 } |
|
Get the flow spec for data sending.
Definition at line 313 of file OS_QoS.cpp. References sending_flowspec_. Referenced by ACE_OS::ioctl(), and ACE_OS::join_leaf().
00314 { 00315 #if defined (ACE_HAS_WINSOCK2) && (ACE_HAS_WINSOCK2 != 0) 00316 return &((ACE_Flow_Spec &) this->SendingFlowspec); 00317 #else 00318 return this->sending_flowspec_; 00319 #endif /* ACE_HAS_WINSOCK2 */ 00320 } |
|
Definition at line 303 of file OS_QoS.h. Referenced by receiving_flowspec(). |
|
Definition at line 302 of file OS_QoS.h. Referenced by sending_flowspec(). |