summaryrefslogtreecommitdiff
path: root/ACE/examples/QOS/Simple/FlowSpec_Dbase.h
blob: 5e3637c8455eb944c8776132aa8b713685bbd045 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
/* -*- C++ -*- */

//=============================================================================
/**
 *  @file    FlowSpec_Dbase.h
 *
 *  $Id$
 *
 *  @author Vishal Kachroo <vishal@cs.wustl.edu>
 */
//=============================================================================


#ifndef FLOWSPEC_DBASE_H
#define FLOWSPEC_DBASE_H

// This file contains the different FlowSpecs that the QoS enabled
// application uses. Its a good idea to list them all here so the
// application code is clean.

ACE_Flow_Spec notraffic (ACE_QOS_NOT_SPECIFIED,
                         ACE_QOS_NOT_SPECIFIED,
                         ACE_QOS_NOT_SPECIFIED,
                         ACE_QOS_NOT_SPECIFIED,
                         ACE_QOS_NOT_SPECIFIED,
                         ACE_SERVICETYPE_NOTRAFFIC,
                         ACE_QOS_NOT_SPECIFIED,
                         ACE_QOS_NOT_SPECIFIED,
                         25,
                         1);

ACE_Flow_Spec g711 (9200,
                    708,
                    18400,
                    0,
                    0,
                    ACE_SERVICETYPE_CONTROLLEDLOAD,
                    368,
                    368,
                    25,
                    1);

// The default session address is macarena.cs.wustl.edu. I am using macarena
// as my receiver for testing.
#define DEFAULT_QOS_SESSION_MACHINE "128.252.165.127"
#define DEFAULT_QOS_SESSION_PORT 8001

#endif /* FLOWSPEC_DBASE_H */