flowspec_dbase.h

来自「最新的版本ACE-5.6.8,刚从外文网上搬下,与大家分享.」· C头文件 代码 · 共 53 行

H
53
字号
/* -*- C++ -*- */
//$Id: FlowSpec_Dbase.h 80826 2008-03-04 14:51:23Z wotte $

// ============================================================================
//
// = LIBRARY
//    ACE_wrappers/examples/QOS
//
// = FILENAME
//    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 */

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?