ACE 8.0.1
Loading...
Searching...
No Matches
Public Member Functions | Private Attributes | List of all members
ACE_Flow_Spec Class Reference

Wrapper class that defines the flow spec QoS information, which is used by IntServ (RSVP) and DiffServ. More...

#include <OS_QoS.h>

Public Member Functions

 ACE_Flow_Spec ()
 Default constructor.
 
 ACE_Flow_Spec (unsigned long token_rate, unsigned long token_bucket_size, unsigned long peak_bandwidth, unsigned long latency, unsigned long delay_variation, ACE_SERVICE_TYPE service_type, unsigned long max_sdu_size, unsigned long minimum_policed_size, int ttl, int priority)
 Constructor that initializes all the fields.
 
unsigned long token_rate () const
 Get the token rate in bytes/sec.
 
void token_rate (unsigned long tr)
 Set the token rate in bytes/sec.
 
unsigned long token_bucket_size () const
 Get the token bucket size in bytes.
 
void token_bucket_size (unsigned long tbs)
 Set the token bucket size in bytes.
 
unsigned long peak_bandwidth () const
 Get the PeakBandwidth in bytes/sec.
 
void peak_bandwidth (unsigned long pb)
 Set the PeakBandwidth in bytes/sec.
 
unsigned long latency () const
 Get the latency in microseconds.
 
void latency (unsigned long l)
 Set the latency in microseconds.
 
unsigned long delay_variation () const
 Get the delay variation in microseconds.
 
void delay_variation (unsigned long dv)
 Set the delay variation in microseconds.
 
ACE_SERVICE_TYPE service_type () const
 Get the service type.
 
void service_type (ACE_SERVICE_TYPE st)
 Set the service type.
 
unsigned long max_sdu_size () const
 Get the maximum SDU size in bytes.
 
void max_sdu_size (unsigned long mss)
 Set the maximum SDU size in bytes.
 
unsigned long minimum_policed_size () const
 Get the minimum policed size in bytes.
 
void minimum_policed_size (unsigned long mps)
 Set the minimum policed size in bytes.
 
int ttl () const
 Get the time-to-live.
 
void ttl (int t)
 Set the time-to-live.
 
int priority () const
 Get the priority.
 
void priority (int p)
 Set the priority.
 

Private Attributes

unsigned long token_rate_
 
unsigned long token_bucket_size_
 
unsigned long peak_bandwidth_
 
unsigned long latency_
 
unsigned long delay_variation_
 
ACE_SERVICE_TYPE service_type_
 
unsigned long max_sdu_size_
 
unsigned long minimum_policed_size_
 
int ttl_
 
int priority_
 

Detailed Description

Wrapper class that defines the flow spec QoS information, which is used by IntServ (RSVP) and DiffServ.

Constructor & Destructor Documentation

◆ ACE_Flow_Spec() [1/2]

ACE_Flow_Spec::ACE_Flow_Spec ( )

Default constructor.

◆ ACE_Flow_Spec() [2/2]

ACE_Flow_Spec::ACE_Flow_Spec ( unsigned long token_rate,
unsigned long token_bucket_size,
unsigned long peak_bandwidth,
unsigned long latency,
unsigned long delay_variation,
ACE_SERVICE_TYPE service_type,
unsigned long max_sdu_size,
unsigned long minimum_policed_size,
int ttl,
int priority )

Constructor that initializes all the fields.

‍**

Member Function Documentation

◆ delay_variation() [1/2]

unsigned long ACE_Flow_Spec::delay_variation ( ) const

Get the delay variation in microseconds.

◆ delay_variation() [2/2]

void ACE_Flow_Spec::delay_variation ( unsigned long dv)

Set the delay variation in microseconds.

◆ latency() [1/2]

unsigned long ACE_Flow_Spec::latency ( ) const

Get the latency in microseconds.

◆ latency() [2/2]

void ACE_Flow_Spec::latency ( unsigned long l)

Set the latency in microseconds.

◆ max_sdu_size() [1/2]

unsigned long ACE_Flow_Spec::max_sdu_size ( ) const

Get the maximum SDU size in bytes.

◆ max_sdu_size() [2/2]

void ACE_Flow_Spec::max_sdu_size ( unsigned long mss)

Set the maximum SDU size in bytes.

◆ minimum_policed_size() [1/2]

unsigned long ACE_Flow_Spec::minimum_policed_size ( ) const

Get the minimum policed size in bytes.

◆ minimum_policed_size() [2/2]

void ACE_Flow_Spec::minimum_policed_size ( unsigned long mps)

Set the minimum policed size in bytes.

◆ peak_bandwidth() [1/2]

unsigned long ACE_Flow_Spec::peak_bandwidth ( ) const

Get the PeakBandwidth in bytes/sec.

◆ peak_bandwidth() [2/2]

void ACE_Flow_Spec::peak_bandwidth ( unsigned long pb)

Set the PeakBandwidth in bytes/sec.

◆ priority() [1/2]

int ACE_Flow_Spec::priority ( ) const

Get the priority.

◆ priority() [2/2]

void ACE_Flow_Spec::priority ( int p)

Set the priority.

◆ service_type() [1/2]

ACE_SERVICE_TYPE ACE_Flow_Spec::service_type ( ) const

Get the service type.

◆ service_type() [2/2]

void ACE_Flow_Spec::service_type ( ACE_SERVICE_TYPE st)

Set the service type.

◆ token_bucket_size() [1/2]

unsigned long ACE_Flow_Spec::token_bucket_size ( ) const

Get the token bucket size in bytes.

◆ token_bucket_size() [2/2]

void ACE_Flow_Spec::token_bucket_size ( unsigned long tbs)

Set the token bucket size in bytes.

◆ token_rate() [1/2]

unsigned long ACE_Flow_Spec::token_rate ( ) const

Get the token rate in bytes/sec.

◆ token_rate() [2/2]

void ACE_Flow_Spec::token_rate ( unsigned long tr)

Set the token rate in bytes/sec.

◆ ttl() [1/2]

int ACE_Flow_Spec::ttl ( ) const

Get the time-to-live.

◆ ttl() [2/2]

void ACE_Flow_Spec::ttl ( int t)

Set the time-to-live.

Member Data Documentation

◆ delay_variation_

unsigned long ACE_Flow_Spec::delay_variation_
private

◆ latency_

unsigned long ACE_Flow_Spec::latency_
private

◆ max_sdu_size_

unsigned long ACE_Flow_Spec::max_sdu_size_
private

◆ minimum_policed_size_

unsigned long ACE_Flow_Spec::minimum_policed_size_
private

◆ peak_bandwidth_

unsigned long ACE_Flow_Spec::peak_bandwidth_
private

◆ priority_

int ACE_Flow_Spec::priority_
private

◆ service_type_

ACE_SERVICE_TYPE ACE_Flow_Spec::service_type_
private

◆ token_bucket_size_

unsigned long ACE_Flow_Spec::token_bucket_size_
private

◆ token_rate_

unsigned long ACE_Flow_Spec::token_rate_
private

◆ ttl_

int ACE_Flow_Spec::ttl_
private

The documentation for this class was generated from the following files: