File: FlowSpec_Dbase.h

package info (click to toggle)
ace 6.3.3%2Bdfsg-1.2
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 49,100 kB
  • sloc: cpp: 331,493; perl: 32,764; ansic: 20,167; sh: 3,996; exp: 787; python: 672; yacc: 511; xml: 330; lex: 158; lisp: 116; makefile: 83; csh: 20; tcl: 5
file content (47 lines) | stat: -rw-r--r-- 1,440 bytes parent folder | download | duplicates (21)
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
/* -*- C++ -*- */

//=============================================================================
/**
 *  @file    FlowSpec_Dbase.h
 *
 *  @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 */