Revert "Minor modernization of DynamicAny code"
[ACE_TAO.git] / TAO / tao / Network_Priority_Protocols_Hooks.h
blobd238ad62815196fde7e30fe0ba4871bf5415a3d8
1 // -*- C++ -*-
3 // ===================================================================
4 /**
5 * @file Network_Priority_Protocols_Hooks.h
7 * @author Jaiganesh Balasubramanian <jai@dre.vanderbilt.edu>
8 * Johnny Willemsen <jwillemsen@remedy.nl>
9 */
10 // ===================================================================
12 #ifndef TAO_NETWORK_PRIORITY_PROTOCOLS_HOOKS_H
13 #define TAO_NETWORK_PRIORITY_PROTOCOLS_HOOKS_H
15 #include /**/ "ace/pre.h"
16 #include "ace/CORBA_macros.h"
18 #if !defined (ACE_LACKS_PRAGMA_ONCE)
19 # pragma once
20 #endif /* ACE_LACKS_PRAGMA_ONCE */
22 #include "ace/Service_Object.h"
23 #include /**/ "tao/TAO_Export.h"
24 #include "tao/Basic_Types.h"
26 TAO_BEGIN_VERSIONED_NAMESPACE_DECL
28 namespace CORBA
30 class Environment;
31 class Object;
34 class TAO_ORB_Core;
35 class TAO_Service_Context;
36 class TAO_Connection_Handler;
37 class TAO_Stub;
39 class TAO_Export TAO_Network_Priority_Protocols_Hooks
40 : public ACE_Service_Object
42 public:
43 /// destructor
44 virtual ~TAO_Network_Priority_Protocols_Hooks ();
46 virtual void init_hooks (TAO_ORB_Core *orb_core) = 0;
48 virtual CORBA::Long get_dscp_codepoint (TAO_Stub *stub,
49 CORBA::Object *object) = 0;
51 virtual CORBA::Long get_dscp_codepoint (TAO_Service_Context &req) = 0;
54 TAO_END_VERSIONED_NAMESPACE_DECL
56 #include /**/ "ace/post.h"
58 #endif /* TAO_NETWORK_PRIORITY_PROTOCOLS_HOOKS_H */