Reference

ACE_ATM_QoS(3)

Define the QoS parameters for ATM

NAME

ACE_ATM_QoS - Define the QoS parameters for ATM

SYNOPSIS

#include <ace/ATM_QoS.h>
class ACE_ATM_QoS
{
  public:
    static const long LINE_RATE;
    static const int OPT_FLAGS_CPID;
    static const int OPT_FLAGS_PMP;
    static const int DEFAULT_SELECTOR;
    ACE_ATM_QoS ();
    ACE_ATM_QoS( int );
    ~ACE_ATM_QoS ();
    void set_rate (ACE_HANDLE, int, int);
    void set_cbr_rate (int);
    ATM_QoS get_qos (void);
    void dump (void) const;
    ACE_ALLOC_HOOK_DECLARE;
  protected:
    char* construct_options(ACE_HANDLE, int, int, long*);
  private:
    ATM_QoS qos_;
};

DESCRIPTION

This class wraps up QoS parameters for both ATM/XTI and ATM/WinSock2 to make the mechanism for the ATM protocol transparent.

Initializattion and termination methods.

ACE_ATM_QoS ();

Default constructor.

ACE_ATM_QoS( int );

Constructor with a CBR rate.

~ACE_ATM_QoS ();

void set_rate (ACE_HANDLE, int, int);

Set the rate.

void set_cbr_rate (int);

Set CBR rate.

ATM_QoS get_qos (void);

Get ATM_QoS struct.

void dump (void) const;

Dump the state of an object.

ACE_ALLOC_HOOK_DECLARE;

Declare the dynamic allocation hooks.

AUTHOR

Joe Hoffert

LIBRARY

ace