summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoryamuna <yamuna@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2002-06-26 18:28:06 +0000
committeryamuna <yamuna@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2002-06-26 18:28:06 +0000
commitff8c9c3d8d2d8c85e35c9cf5561e2bed0ed0d529 (patch)
tree311dfad0e46790efe1409f3729fb2a3f96faa78d
parent722f2810d74bbbeb936a9f0a5db1f8f344bc2d50 (diff)
downloadATCD-ff8c9c3d8d2d8c85e35c9cf5561e2bed0ed0d529.tar.gz
ChangelogTag: Wed June 26 2:09:00 2002 Yamuna Krishnamurthy <yamuna@oomworks.com>
-rw-r--r--TAO/tao/Default_Protocols_Hooks.cpp25
-rw-r--r--TAO/tao/Default_Protocols_Hooks.h16
2 files changed, 41 insertions, 0 deletions
diff --git a/TAO/tao/Default_Protocols_Hooks.cpp b/TAO/tao/Default_Protocols_Hooks.cpp
index 2abb615e29a..7f551f2cfef 100644
--- a/TAO/tao/Default_Protocols_Hooks.cpp
+++ b/TAO/tao/Default_Protocols_Hooks.cpp
@@ -3,6 +3,7 @@
#include "Default_Protocols_Hooks.h"
#include "PolicyC.h"
#include "ace/Dynamic_Service.h"
+#include "tao/Connection_Handler.h"
#if !defined (__ACE_INLINE__)
# include "Default_Protocols_Hooks.i"
@@ -27,6 +28,7 @@ int
TAO_Default_Protocols_Hooks::call_client_protocols_hook (int &,
int &,
int &,
+ int &,
const char *)
{
return 0;
@@ -36,6 +38,7 @@ int
TAO_Default_Protocols_Hooks::call_server_protocols_hook (int &,
int &,
int &,
+ int &,
const char *)
{
return 0;
@@ -122,6 +125,28 @@ TAO_Default_Protocols_Hooks::rt_service_context (TAO_Stub *,
{
}
+int
+TAO_Default_Protocols_Hooks::update_client_protocol_properties (TAO_Stub *,
+ TAO_Connection_Handler *,
+ const char *)
+{
+ return 0;
+}
+
+int
+TAO_Default_Protocols_Hooks::update_server_protocol_properties (CORBA::Policy *policy,
+ TAO_Connection_Handler *,
+ const char *)
+{
+ return 0;
+}
+
+CORBA::Long
+TAO_Default_Protocols_Hooks::get_dscp_codepoint (void)
+{
+ return 0;
+}
+
// ****************************************************************
diff --git a/TAO/tao/Default_Protocols_Hooks.h b/TAO/tao/Default_Protocols_Hooks.h
index 178777669e5..c35c6074303 100644
--- a/TAO/tao/Default_Protocols_Hooks.h
+++ b/TAO/tao/Default_Protocols_Hooks.h
@@ -12,16 +12,20 @@
#ifndef TAO_DEFAULT_PROTOCOLS_HOOKS_H
#define TAO_DEFAULT_PROTOCOLS_HOOKS_H
+
#include "ace/pre.h"
#include "Protocols_Hooks.h"
+
#if !defined (ACE_LACKS_PRAGMA_ONCE)
# pragma once
#endif /* ACE_LACKS_PRAGMA_ONCE */
#include "ace/Service_Config.h"
+class TAO_POA;
+
class TAO_Export TAO_Default_Protocols_Hooks : public TAO_Protocols_Hooks
{
public:
@@ -35,13 +39,25 @@ public:
virtual int call_client_protocols_hook (int &send_buffer_size,
int &recv_buffer_size,
int &no_delay,
+ int &enable_network_priority,
const char *protocol_type);
virtual int call_server_protocols_hook (int &send_buffer_size,
int &recv_buffer_size,
int &no_delay,
+ int &enable_network_priority,
const char *protocol_type);
+ virtual int update_client_protocol_properties (TAO_Stub *stub,
+ TAO_Connection_Handler *connection_handler,
+ const char *protocol_type);
+
+ virtual int update_server_protocol_properties (CORBA::Policy *policy,
+ TAO_Connection_Handler *connection_handler,
+ const char *protocol_type);
+
+ virtual CORBA::Long get_dscp_codepoint (void);
+
virtual void rt_service_context (TAO_Stub *stub,
TAO_Service_Context &service_context,
CORBA::Boolean restart