00001 // -*- C++ -*- 00002 00003 //============================================================================= 00004 /** 00005 * @file Null_Fragmentation_Strategy.h 00006 * 00007 * $Id: Null_Fragmentation_Strategy.h 76687 2007-01-29 19:18:13Z johnnyw $ 00008 * 00009 * @author Ossama Othman <ossama@dre.vanderbilt.edu> 00010 */ 00011 //============================================================================= 00012 00013 #ifndef TAO_NULL_FRAGMENTATION_STRATEGY_H 00014 #define TAO_NULL_FRAGMENTATION_STRATEGY_H 00015 00016 #include /**/ "ace/pre.h" 00017 00018 #include "tao/GIOP_Fragmentation_Strategy.h" 00019 #include "ace/CDR_Base.h" 00020 00021 #if !defined (ACE_LACKS_PRAGMA_ONCE) 00022 # pragma once 00023 #endif /* ACE_LACKS_PRAGMA_ONCE */ 00024 00025 00026 TAO_BEGIN_VERSIONED_NAMESPACE_DECL 00027 00028 class TAO_OutputCDR; 00029 00030 00031 /** 00032 * @class TAO_Null_Fragmenation_Strategy 00033 * 00034 * @brief Null GIOP message fragmentation strategy. 00035 * 00036 * No-op GIOP message fragmentation strategy. This strategy performs 00037 * no GIOP fragmentation. 00038 * 00039 * @see TAO_GIOP_Fragmentation_Strategy 00040 */ 00041 class TAO_Null_Fragmentation_Strategy 00042 : public TAO_GIOP_Fragmentation_Strategy 00043 { 00044 public: 00045 00046 TAO_Null_Fragmentation_Strategy (void) {} 00047 virtual ~TAO_Null_Fragmentation_Strategy (void); 00048 virtual int fragment (TAO_OutputCDR &, ACE_CDR::ULong, ACE_CDR::ULong); 00049 00050 private: 00051 00052 // Disallow copying and assignment. 00053 TAO_Null_Fragmentation_Strategy (TAO_Null_Fragmentation_Strategy const &); 00054 void operator= (TAO_Null_Fragmentation_Strategy const &); 00055 00056 }; 00057 00058 TAO_END_VERSIONED_NAMESPACE_DECL 00059 00060 #include /**/ "ace/post.h" 00061 00062 #endif /* TAO_NULL_FRAGMENTATION_STRATEGY_H */