diff options
Diffstat (limited to 'TAO/tao/Strategies/DIOP_Connection_Handler.h')
-rw-r--r-- | TAO/tao/Strategies/DIOP_Connection_Handler.h | 39 |
1 files changed, 7 insertions, 32 deletions
diff --git a/TAO/tao/Strategies/DIOP_Connection_Handler.h b/TAO/tao/Strategies/DIOP_Connection_Handler.h index 064b40fe48e..933a1f4254d 100644 --- a/TAO/tao/Strategies/DIOP_Connection_Handler.h +++ b/TAO/tao/Strategies/DIOP_Connection_Handler.h @@ -39,27 +39,6 @@ class TAO_Pluggable_Messaging; // **************************************************************** /** - * @class TAO_DIOP_Properties - * - * @brief TCP protocol properties specification for a set of - * connections. - * - */ - -class TAO_Strategies_Export TAO_DIOP_Properties -{ - -public: - int send_buffer_size; - int recv_buffer_size; - int no_delay; -}; - - - -// **************************************************************** - -/** * @class TAO_DIOP_Connection_Handler * * @brief Handles requests on a single connection. @@ -78,12 +57,9 @@ public: TAO_DIOP_Connection_Handler (ACE_Thread_Manager* t = 0); - /// Constructor. <arg> parameter is used by the Acceptor to pass the - /// protocol configuration properties for this connection. + /// Constructor. TAO_DIOP_Connection_Handler (TAO_ORB_Core *orb_core, - CORBA::Boolean flag, - void *arg); - + CORBA::Boolean flag); /// Destructor. ~TAO_DIOP_Connection_Handler (void); @@ -151,6 +127,9 @@ public: //@} // DIOP Additions - End + /// Set Diff-Serv codepoint on outgoing packets. + int set_dscp_codepoint (CORBA::Boolean set_network_priority); + protected: //@{ @@ -177,14 +156,10 @@ protected: // DIOP Additions - End private: - /// TCP configuration for this connection. - TAO_DIOP_Properties *tcp_properties_; + /// Stores the type of service value. + int dscp_codepoint_; }; -#if defined (__ACE_INLINE__) -#include "DIOP_Connection_Handler.i" -#endif /* __ACE_INLINE__ */ - #endif /* TAO_HAS_DIOP && TAO_HAS_DIOP != 0 */ #include /**/ "ace/post.h" |