ACE_QoS_Params Class Reference

Wrapper class that simplifies the information passed to the QoS enabled <ACE_OS::connect> and <ACE_OS::join_leaf> methods. More...

#include <OS_QoS.h>

Collaboration diagram for ACE_QoS_Params:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 ACE_QoS_Params (iovec *caller_data=0, iovec *callee_data=0, ACE_QoS *socket_qos=0, ACE_QoS *group_socket_qos=0, unsigned long flags=0)
iovec * caller_data (void) const
 Get caller data.
void caller_data (iovec *)
 Set caller data.
iovec * callee_data (void) const
 Get callee data.
void callee_data (iovec *)
 Set callee data.
ACE_QoSsocket_qos (void) const
 Get socket qos.
void socket_qos (ACE_QoS *)
 Set socket qos.
ACE_QoSgroup_socket_qos (void) const
 Get group socket qos.
void group_socket_qos (ACE_QoS *)
 Set group socket qos.
unsigned long flags (void) const
 Get flags.
void flags (unsigned long)
 Set flags.

Private Attributes

iovec * caller_data_
iovec * callee_data_
ACE_QoSsocket_qos_
ACE_QoSgroup_socket_qos_
unsigned long flags_
 Flags that indicate if we're a sender, receiver, or both.

Detailed Description

Wrapper class that simplifies the information passed to the QoS enabled <ACE_OS::connect> and <ACE_OS::join_leaf> methods.

Definition at line 311 of file OS_QoS.h.


Constructor & Destructor Documentation

ACE_QoS_Params::ACE_QoS_Params ( iovec *  caller_data = 0,
iovec *  callee_data = 0,
ACE_QoS socket_qos = 0,
ACE_QoS group_socket_qos = 0,
unsigned long  flags = 0 
)

Initialize the data members. The <caller_data> is a pointer to the user data that is to be transferred to the peer during connection establishment. The <callee_data> is a pointer to the user data that is to be transferred back from the peer during connection establishment. The_<socket_qos> is a pointer to the flow specifications for the socket, one for each direction. The <group_socket_qos> is a pointer to the flow speicfications for the socket group, if applicable. The_flags indicate if we're a sender, receiver, or both.

Definition at line 372 of file OS_QoS.cpp.

00377   : caller_data_ (caller_data),
00378     callee_data_ (callee_data),
00379     socket_qos_ (socket_qos),
00380     group_socket_qos_ (group_socket_qos),
00381     flags_ (flags)
00382 {
00383 }


Member Function Documentation

void ACE_QoS_Params::callee_data ( iovec *  cd  ) 

Set callee data.

Definition at line 404 of file OS_QoS.cpp.

00405 {
00406   this->callee_data_ = cd;
00407 }

iovec * ACE_QoS_Params::callee_data ( void   )  const

Get callee data.

Definition at line 398 of file OS_QoS.cpp.

00399 {
00400   return this->callee_data_;
00401 }

void ACE_QoS_Params::caller_data ( iovec *  cd  ) 

Set caller data.

Definition at line 392 of file OS_QoS.cpp.

00393 {
00394   this->caller_data_ = cd;
00395 }

iovec * ACE_QoS_Params::caller_data ( void   )  const

Get caller data.

Definition at line 386 of file OS_QoS.cpp.

00387 {
00388   return this->caller_data_;
00389 }

void ACE_QoS_Params::flags ( unsigned long  f  ) 

Set flags.

Definition at line 440 of file OS_QoS.cpp.

00441 {
00442   this->flags_ = f;
00443 }

unsigned long ACE_QoS_Params::flags ( void   )  const

Get flags.

Definition at line 434 of file OS_QoS.cpp.

00435 {
00436   return this->flags_;
00437 }

void ACE_QoS_Params::group_socket_qos ( ACE_QoS gsq  ) 

Set group socket qos.

Definition at line 428 of file OS_QoS.cpp.

00429 {
00430   this->group_socket_qos_ = gsq;
00431 }

ACE_QoS * ACE_QoS_Params::group_socket_qos ( void   )  const

Get group socket qos.

Definition at line 422 of file OS_QoS.cpp.

00423 {
00424   return this->group_socket_qos_;
00425 }

void ACE_QoS_Params::socket_qos ( ACE_QoS sq  ) 

Set socket qos.

Definition at line 416 of file OS_QoS.cpp.

00417 {
00418   this->socket_qos_ = sq;
00419 }

ACE_QoS * ACE_QoS_Params::socket_qos ( void   )  const

Get socket qos.

Definition at line 410 of file OS_QoS.cpp.

00411 {
00412   return this->socket_qos_;
00413 }


Member Data Documentation

iovec* ACE_QoS_Params::callee_data_ [private]

A pointer to the user data that is to be transferred back from the peer during connection establishment.

Definition at line 368 of file OS_QoS.h.

iovec* ACE_QoS_Params::caller_data_ [private]

A pointer to the user data that is to be transferred to the peer during connection establishment.

Definition at line 364 of file OS_QoS.h.

unsigned long ACE_QoS_Params::flags_ [private]

Flags that indicate if we're a sender, receiver, or both.

Definition at line 379 of file OS_QoS.h.

A pointer to the flow speicfications for the socket group, if applicable.

Definition at line 376 of file OS_QoS.h.

A pointer to the flow speicfications for the socket, one for each direction.

Definition at line 372 of file OS_QoS.h.


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

Generated on Fri Nov 6 23:25:28 2009 for ACE by  doxygen 1.6.1