Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Related Pages  

Default_Protocols_Hooks.h

Go to the documentation of this file.
00001 
00002 // -*- C++ -*-
00003 
00004 // ===================================================================
00005 /**
00006  *  @file   Default_Protocols_Hooks.h
00007  *
00008  *  $Id: Default_Protocols_Hooks.h,v 1.1.1.2 2003/02/21 18:36:44 chad Exp $
00009  *
00010  *  @author Priyanka Gontla <pgontla@ece.uci.edu>
00011  */
00012 // ===================================================================
00013 
00014 #ifndef TAO_DEFAULT_PROTOCOLS_HOOKS_H
00015 #define TAO_DEFAULT_PROTOCOLS_HOOKS_H
00016 
00017 #include "ace/pre.h"
00018 
00019 #include "Protocols_Hooks.h"
00020 
00021 
00022 #if !defined (ACE_LACKS_PRAGMA_ONCE)
00023 # pragma once
00024 #endif /* ACE_LACKS_PRAGMA_ONCE */
00025 
00026 #include "ace/Service_Config.h"
00027 
00028 class TAO_POA;
00029 
00030 class TAO_Export TAO_Default_Protocols_Hooks : public TAO_Protocols_Hooks
00031 {
00032 public:
00033 
00034   /// destructor
00035   virtual ~TAO_Default_Protocols_Hooks (void);
00036 
00037   virtual void init_hooks (TAO_ORB_Core *orb_core
00038                            ACE_ENV_ARG_DECL);
00039 
00040   virtual int call_client_protocols_hook (int &send_buffer_size,
00041                                           int &recv_buffer_size,
00042                                           int &no_delay,
00043                                           int &enable_network_priority,
00044                                           const char *protocol_type);
00045 
00046   virtual int call_server_protocols_hook (int &send_buffer_size,
00047                                           int &recv_buffer_size,
00048                                           int &no_delay,
00049                                           int &enable_network_priority,
00050                                           const char *protocol_type);
00051 
00052   virtual int update_client_protocol_properties (TAO_Stub *stub,
00053                                                         TAO_Connection_Handler *connection_handler,
00054                                                         const char *protocol_type);
00055   
00056   virtual int update_server_protocol_properties (CORBA::Policy *policy,
00057                                                         TAO_Connection_Handler *connection_handler,
00058                                                         const char *protocol_type);
00059   
00060   virtual CORBA::Long get_dscp_codepoint (void);
00061   
00062   virtual void rt_service_context (TAO_Stub *stub,
00063                                    TAO_Service_Context &service_context,
00064                                    CORBA::Boolean restart
00065                                    ACE_ENV_ARG_DECL);
00066 
00067   virtual void add_rt_service_context_hook (TAO_Service_Context &service_context,
00068                                             CORBA::Policy *model_policy,
00069                                             CORBA::Short &client_priority
00070                                             ACE_ENV_ARG_DECL);
00071 
00072   virtual void get_selector_hook (CORBA::Policy *model_policy,
00073                                   CORBA::Boolean
00074                                   &is_client_propagated,
00075                                   CORBA::Short &server_priority);
00076 
00077   virtual void get_selector_bands_policy_hook (CORBA::Policy *bands_policy,
00078                                                CORBA::Short p,
00079                                                CORBA::Short &min_priority,
00080                                                CORBA::Short &max_priority,
00081                                                int &in_range);
00082 
00083   virtual int get_thread_CORBA_priority (CORBA::Short &
00084                                          ACE_ENV_ARG_DECL_NOT_USED);
00085 
00086   virtual int get_thread_native_priority (CORBA::Short &
00087                                           ACE_ENV_ARG_DECL_NOT_USED);
00088 
00089   virtual int get_thread_CORBA_and_native_priority (CORBA::Short &,
00090                                                     CORBA::Short &
00091                                                     ACE_ENV_ARG_DECL_NOT_USED);
00092 
00093   virtual int set_thread_CORBA_priority (CORBA::Short
00094                                          ACE_ENV_ARG_DECL_NOT_USED);
00095 
00096   virtual int set_thread_native_priority (CORBA::Short
00097                                           ACE_ENV_ARG_DECL_NOT_USED);
00098 
00099   virtual int set_default_policies (ACE_ENV_SINGLE_ARG_DECL);
00100 
00101   virtual int set_default_server_protocol_policy (TAO_Acceptor_Registry &acceptor_registry
00102                                                   ACE_ENV_ARG_DECL);
00103 
00104 };
00105 
00106 #if defined (__ACE_INLINE__)
00107 #include "tao/Default_Protocols_Hooks.i"
00108 #endif /* __ACE_INLINE__ */
00109 
00110 ACE_STATIC_SVC_DECLARE_EXPORT (TAO, TAO_Default_Protocols_Hooks)
00111 ACE_FACTORY_DECLARE (TAO, TAO_Default_Protocols_Hooks)
00112 
00113 #include "ace/post.h"
00114 #endif /* TAO_DEFAULT_PROTOCOLS_HOOKS_H */

Generated on Mon Jun 16 13:48:13 2003 for TAO by doxygen1.2.14 written by Dimitri van Heesch, © 1997-2002