blob: 756e587e26d1216ee524fc7963aff0dd811792b4 (
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
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
|
// -*- C++ -*-
//=============================================================================
/**
* @file Network_Priority_Hook.h
*
* Provides default network priority hook for use by the POA
*
* @author Jaiganesh Balasubramanian <jai@dre.vanderbilt.edu>
* @author Johnny Willemsen <jwillemsen@remedy.nl>
*/
//=============================================================================
#ifndef TAO_NETWORK_PRIORITY_HOOK_H
#define TAO_NETWORK_PRIORITY_HOOK_H
#include /**/ "ace/pre.h"
#include "portableserver_export.h"
#if !defined (ACE_LACKS_PRAGMA_ONCE)
# pragma once
#endif /* ACE_LACKS_PRAGMA_ONCE */
#include "tao/Versioned_Namespace.h"
#include "tao/orbconf.h"
#include "ace/Service_Object.h"
#include "ace/Service_Config.h"
#include "tao/Basic_Types.h"
TAO_BEGIN_VERSIONED_NAMESPACE_DECL
class TAO_POA_Policy_Set;
class TAO_Root_POA;
class TAO_ServerRequest;
class TAO_PortableServer_Export TAO_Network_Priority_Hook
: public ACE_Service_Object
{
public:
virtual ~TAO_Network_Priority_Hook(void);
virtual void update_network_priority (TAO_Root_POA& poa,
TAO_POA_Policy_Set& poa_policy_set);
virtual void set_dscp_codepoint (TAO_ServerRequest &req,
TAO_Root_POA& poa);
/// Static initializer ensures the factory is loaded
static int initialize (void);
};
static int
TAO_Requires_Network_Priority_Hook =
TAO_Network_Priority_Hook::initialize ();
ACE_STATIC_SVC_DECLARE (TAO_Network_Priority_Hook)
ACE_FACTORY_DECLARE (TAO_PortableServer, TAO_Network_Priority_Hook)
TAO_END_VERSIONED_NAMESPACE_DECL
#include /**/ "ace/post.h"
#endif /* TAO_NETWORK_PRIORITY_HOOK_H */
|