diff options
author | William R. Otte <wotte@dre.vanderbilt.edu> | 2006-07-24 15:50:21 +0000 |
---|---|---|
committer | William R. Otte <wotte@dre.vanderbilt.edu> | 2006-07-24 15:50:21 +0000 |
commit | 3aff90f4a822fcf5d902bbfbcc9fa931d6191a8c (patch) | |
tree | 197c810e5f5bce17b1233a7cb8d7b50c0bcd25e2 /TAO/tao/Null_Fragmentation_Strategy.h | |
parent | 6b846cf03c0bcbd8c276cb0af61a181e5f98eaae (diff) | |
download | ATCD-3aff90f4a822fcf5d902bbfbcc9fa931d6191a8c.tar.gz |
Repo restructuring
Diffstat (limited to 'TAO/tao/Null_Fragmentation_Strategy.h')
-rw-r--r-- | TAO/tao/Null_Fragmentation_Strategy.h | 64 |
1 files changed, 64 insertions, 0 deletions
diff --git a/TAO/tao/Null_Fragmentation_Strategy.h b/TAO/tao/Null_Fragmentation_Strategy.h new file mode 100644 index 00000000000..ace58815d2d --- /dev/null +++ b/TAO/tao/Null_Fragmentation_Strategy.h @@ -0,0 +1,64 @@ +// -*- C++ -*- + +//============================================================================= +/** + * @file Null_Fragmentation_Strategy.h + * + * $Id$ + * + * @author Ossama Othman <ossama@dre.vanderbilt.edu> + */ +//============================================================================= + +#ifndef TAO_NULL_FRAGMENTATION_STRATEGY_H +#define TAO_NULL_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_Null_Fragmenation_Strategy + * + * @brief Null GIOP message fragmentation strategy. + * + * No-op GIOP message fragmentation strategy. This strategy performs + * no GIOP fragmentation. + * + * @see TAO_GIOP_Fragmentation_Strategy + */ +class TAO_Null_Fragmentation_Strategy + : public TAO_GIOP_Fragmentation_Strategy +{ +public: + + TAO_Null_Fragmentation_Strategy (void) {} + virtual ~TAO_Null_Fragmentation_Strategy (void); + virtual int fragment (TAO_OutputCDR &, + ACE_CDR::ULong, + ACE_CDR::ULong); + +private: + + // Disallow copying and assignment. + TAO_Null_Fragmentation_Strategy (TAO_Null_Fragmentation_Strategy const &); + void operator= (TAO_Null_Fragmentation_Strategy const &); + +}; + +TAO_END_VERSIONED_NAMESPACE_DECL + +#include /**/ "ace/post.h" + +#endif /* TAO_NULL_FRAGMENTATION_STRATEGY_H */ |