3 // ===================================================================
5 * @file Network_Priority_Protocols_Hooks.h
7 * @author Jaiganesh Balasubramanian <jai@dre.vanderbilt.edu>
8 * Johnny Willemsen <jwillemsen@remedy.nl>
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)
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
35 class TAO_Service_Context
;
36 class TAO_Connection_Handler
;
39 class TAO_Export TAO_Network_Priority_Protocols_Hooks
40 : public ACE_Service_Object
44 virtual ~TAO_Network_Priority_Protocols_Hooks (void);
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 */