diff options
author | William R. Otte <wotte@dre.vanderbilt.edu> | 2006-07-24 15:50:11 +0000 |
---|---|---|
committer | William R. Otte <wotte@dre.vanderbilt.edu> | 2006-07-24 15:50:11 +0000 |
commit | 6b846cf03c0bcbd8c276cb0af61a181e5f98eaae (patch) | |
tree | da50d054f9c761c3f6a5923f6979e93306c56d68 /TAO/tao/On_Demand_Fragmentation_Strategy.h | |
parent | 0e555b9150d38e3b3473ba325b56db2642e6352b (diff) | |
download | ATCD-6b846cf03c0bcbd8c276cb0af61a181e5f98eaae.tar.gz |
Repo restructuring
Diffstat (limited to 'TAO/tao/On_Demand_Fragmentation_Strategy.h')
-rw-r--r-- | TAO/tao/On_Demand_Fragmentation_Strategy.h | 77 |
1 files changed, 0 insertions, 77 deletions
diff --git a/TAO/tao/On_Demand_Fragmentation_Strategy.h b/TAO/tao/On_Demand_Fragmentation_Strategy.h deleted file mode 100644 index 8ac103f5bc7..00000000000 --- a/TAO/tao/On_Demand_Fragmentation_Strategy.h +++ /dev/null @@ -1,77 +0,0 @@ -// -*- C++ -*- - -//============================================================================= -/** - * @file On_Demand_Fragmentation_Strategy.h - * - * $Id$ - * - * @author Ossama Othman <ossama@dre.vanderbilt.edu> - */ -//============================================================================= - -#ifndef TAO_ONDEMAND_FRAGMENTATION_STRATEGY_H -#define TAO_ONDEMAND_FRAGMENTATION_STRATEGY_H - -#include /**/ "ace/pre.h" - -#include "tao/GIOP_Fragmentation_Strategy.h" -#include "ace/CDR_Base.h" - -#if !defined (ACE_LACKS_PRAGMA_ONCE) -# pragma once -#endif /* ACE_LACKS_PRAGMA_ONCE */ - - -TAO_BEGIN_VERSIONED_NAMESPACE_DECL - -class TAO_OutputCDR; -class TAO_Transport; - - -/** - * @class TAO_On_Demand_Fragmenation_Strategy - * - * @brief On Demand GIOP message fragmentation strategy. - * - * GIOP message fragmentation strategy that performs fragmentation - * when the size of the CDR stream will exceed the user configured - * threshold when marshaling the next/pending set of data. - * - * @see TAO_GIOP_Fragmentation_Strategy - */ -class TAO_On_Demand_Fragmentation_Strategy - : public TAO_GIOP_Fragmentation_Strategy -{ -public: - - /// Constructor. - TAO_On_Demand_Fragmentation_Strategy (TAO_Transport * transport, - ACE_CDR::ULong max_message_size); - - virtual ~TAO_On_Demand_Fragmentation_Strategy (void); - virtual int fragment (TAO_OutputCDR & cdr, - ACE_CDR::ULong pending_alignment, - ACE_CDR::ULong pending_length); - -private: - - // Disallow copying and assignment. - TAO_On_Demand_Fragmentation_Strategy (TAO_On_Demand_Fragmentation_Strategy const &); - void operator= (TAO_On_Demand_Fragmentation_Strategy const &); - -private: - - /// Pointer to the underlying transport object. - TAO_Transport * const transport_; - - /// Size of GIOP message at which fragmentation will occur. - ACE_CDR::ULong const max_message_size_; - -}; - -TAO_END_VERSIONED_NAMESPACE_DECL - -#include /**/ "ace/post.h" - -#endif /* TAO_ONDEMAND_FRAGMENTATION_STRATEGY_H */ |