NAME

ACE_Flow_Spec

SYNOPSIS

#include <ace/OS.h>

class ACE_Flow_Spec { private: : public FLOWSPEC { public: ACE_Flow_Spec (void); ACE_Flow_Spec ( u_long token_rate, u_long token_bucket_size, u_long peak_bandwidth, u_long latency, u_long delay_variation, ACE_SERVICE_TYPE service_type, u_long max_sdu_size, u_long minimum_policed_size, int ttl, int priority ); u_long token_rate (void) const; void token_rate (u_long tr); u_long token_bucket_size (void) const; void token_bucket_size (u_long tbs); u_long peak_bandwidth (void) const; void peak_bandwidth (u_long pb); u_long latency (void) const; void latency (u_long l); u_long delay_variation (void) const; void delay_variation (u_long dv); ACE_SERVICE_TYPE service_type (void) const; void service_type (ACE_SERVICE_TYPE st); u_long max_sdu_size (void) const; void max_sdu_size (u_long mss); u_long minimum_policed_size (void) const; void minimum_policed_size (u_long mps); int ttl (void) const; void ttl (int t); int priority (void) const; void priority (int p); inline defined (ACE_HAS_WINSOCK2_GQOS); };

PRIVATE MEMBERS

: public FLOWSPEC { public: ACE_Flow_Spec (void);

ACE_Flow_Spec (
    u_long token_rate,
    u_long token_bucket_size,
    u_long peak_bandwidth,
    u_long latency,
    u_long delay_variation,
    ACE_SERVICE_TYPE service_type,
    u_long max_sdu_size,
    u_long minimum_policed_size,
    int ttl,
    int priority
    );

u_long token_rate (void) const;

void token_rate (u_long tr);

u_long token_bucket_size (void) const;

void token_bucket_size (u_long tbs);

u_long peak_bandwidth (void) const;

void peak_bandwidth (u_long pb);

u_long latency (void) const;

void latency (u_long l);

u_long delay_variation (void) const;

void delay_variation (u_long dv);

ACE_SERVICE_TYPE service_type (void) const;

void service_type (ACE_SERVICE_TYPE st);

u_long max_sdu_size (void) const;

void max_sdu_size (u_long mss);

u_long minimum_policed_size (void) const;

void minimum_policed_size (u_long mps);

int ttl (void) const;

void ttl (int t);

int priority (void) const;

void priority (int p);

inline defined (ACE_HAS_WINSOCK2_GQOS);

AUTHOR

Doug Schmidt schmidt@cs.wustl.edu, Jesper S. M|ller stophph@diku.dk, and a cast of thousands...

The ACE_Sched_Priority type should be used for platform-

independent thread and process priorities, by convention. int should be used for OS-specific priorities.

typedef for the _stat data structure

Get/set the token rate in bytes/sec.

Get/set the token bucket size in bytes.

Get/set the PeakBandwidth in bytes/sec.

Get/set the latency in microseconds.

Get/set the delay variation in microseconds.

Get/set the service type.

Get/set the maximum SDU size in bytes.

Get/set the minimum policed size in bytes.

Get/set the time-to-live.

Get/set the priority.

Giving unique ACE scoped names for some important

RTSignal-Related constants. Becuase sometimes, different platforms use different names for these constants.

LIBRARY

ace