Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members   Related Pages  

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 Methods

 ACE_QoS_Params (iovec *caller_data=0, iovec *callee_data=0, ACE_QoS *socket_qos=0, ACE_QoS *group_socket_qos=0, u_long flags=0)
ioveccaller_data (void) const
 Get caller data. More...

void caller_data (iovec *)
 Set caller data. More...

ioveccallee_data (void) const
 Get callee data. More...

void callee_data (iovec *)
 Set callee data. More...

ACE_QoSsocket_qos (void) const
 Get socket qos. More...

void socket_qos (ACE_QoS *)
 Set socket qos. More...

ACE_QoSgroup_socket_qos (void) const
 Get group socket qos. More...

void group_socket_qos (ACE_QoS *)
 Set group socket qos. More...

u_long flags (void) const
 Get flags. More...

void flags (u_long)
 Set flags. More...


Private Attributes

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

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

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

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

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


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 249 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,
u_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 370 of file OS_QoS.cpp.

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


Member Function Documentation

void ACE_QoS_Params::callee_data iovec  
 

Set callee data.

Definition at line 402 of file OS_QoS.cpp.

References callee_data_.

00403 {
00404   this->callee_data_ = cd;
00405 }

iovec * ACE_QoS_Params::callee_data void    const
 

Get callee data.

Definition at line 396 of file OS_QoS.cpp.

References callee_data_.

Referenced by ACE_OS::connect, and ACE_OS::join_leaf.

00397 {
00398   return this->callee_data_;
00399 }

void ACE_QoS_Params::caller_data iovec  
 

Set caller data.

Definition at line 390 of file OS_QoS.cpp.

References caller_data_.

00391 {
00392   this->caller_data_ = cd;
00393 }

iovec * ACE_QoS_Params::caller_data void    const
 

Get caller data.

Definition at line 384 of file OS_QoS.cpp.

References caller_data_.

Referenced by ACE_OS::connect, and ACE_OS::join_leaf.

00385 {
00386   return this->caller_data_;
00387 }

void ACE_QoS_Params::flags u_long   
 

Set flags.

Definition at line 438 of file OS_QoS.cpp.

References flags_.

00439 {
00440   this->flags_ = f;
00441 }

u_long ACE_QoS_Params::flags void    const
 

Get flags.

Definition at line 432 of file OS_QoS.cpp.

References flags_.

Referenced by ACE_OS::join_leaf.

00433 {
00434   return this->flags_;
00435 }

void ACE_QoS_Params::group_socket_qos ACE_QoS  
 

Set group socket qos.

Definition at line 426 of file OS_QoS.cpp.

References group_socket_qos_.

00427 {
00428   this->group_socket_qos_ = gsq;
00429 }

ACE_QoS * ACE_QoS_Params::group_socket_qos void    const
 

Get group socket qos.

Definition at line 420 of file OS_QoS.cpp.

References group_socket_qos_.

Referenced by ACE_OS::connect, and ACE_OS::join_leaf.

00421 {
00422   return this->group_socket_qos_;
00423 }

void ACE_QoS_Params::socket_qos ACE_QoS  
 

Set socket qos.

Definition at line 414 of file OS_QoS.cpp.

References socket_qos_.

00415 {
00416   this->socket_qos_ = sq;
00417 }

ACE_QoS * ACE_QoS_Params::socket_qos void    const
 

Get socket qos.

Definition at line 408 of file OS_QoS.cpp.

References socket_qos_.

Referenced by ACE_OS::connect, and ACE_OS::join_leaf.

00409 {
00410   return this->socket_qos_;
00411 }


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 306 of file OS_QoS.h.

Referenced by callee_data.

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 302 of file OS_QoS.h.

Referenced by caller_data.

u_long ACE_QoS_Params::flags_ [private]
 

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

Definition at line 317 of file OS_QoS.h.

Referenced by flags.

ACE_QoS* ACE_QoS_Params::group_socket_qos_ [private]
 

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

Definition at line 314 of file OS_QoS.h.

Referenced by group_socket_qos.

ACE_QoS* ACE_QoS_Params::socket_qos_ [private]
 

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

Definition at line 310 of file OS_QoS.h.

Referenced by socket_qos.


The documentation for this class was generated from the following files:
Generated on Mon Jun 16 12:54:35 2003 for ACE by doxygen1.2.14 written by Dimitri van Heesch, © 1997-2002