diff options
author | bala <bala@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2000-12-07 23:49:59 +0000 |
---|---|---|
committer | bala <bala@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2000-12-07 23:49:59 +0000 |
commit | da02d137389aa68ae028dae8c4c554ddc5c954a8 (patch) | |
tree | f581994603321ef174fa5d9ea2a56cf6adbabc28 /TAO/tao/GIOP_Message_Generator_Parser_Impl.h | |
parent | 3df2cd25345cc8585a0b83188a27016d6d966d83 (diff) | |
download | ATCD-da02d137389aa68ae028dae8c4c554ddc5c954a8.tar.gz |
ChangeLogTag: Thu Dec 7 17:36:47 2000 Balachandran Natarajan <bala@cs.wustl.edu>
Diffstat (limited to 'TAO/tao/GIOP_Message_Generator_Parser_Impl.h')
-rw-r--r-- | TAO/tao/GIOP_Message_Generator_Parser_Impl.h | 59 |
1 files changed, 59 insertions, 0 deletions
diff --git a/TAO/tao/GIOP_Message_Generator_Parser_Impl.h b/TAO/tao/GIOP_Message_Generator_Parser_Impl.h new file mode 100644 index 00000000000..38560d05864 --- /dev/null +++ b/TAO/tao/GIOP_Message_Generator_Parser_Impl.h @@ -0,0 +1,59 @@ + +// -*- C++ -*- +// =================================================================== +/** + * @file GIOP_Message_Generator_Parser_Impl.h + * + * $Id$ + * + * @author Balachandran Natarajan <bala@cs.wustl.edu> + */ +// =================================================================== + +#ifndef TAO_GIOP_MESSAGE_GENERATOR_PARSER_IMPL_H +#define TAO_GIOP_MESSAGE_GENERATOR_PARSER_IMPL_H +#include "ace/pre.h" + +#include "tao/GIOP_Message_Generator_Parser_11.h" + +#if !defined (ACE_LACKS_PRAGMA_ONCE) +# pragma once +#endif /* ACE_LACKS_PRAGMA_ONCE */ + +#include "tao/GIOP_Message_Generator_Parser_12.h" + +/** + * @class TAO_GIOP_Message_Generator_Parser_Impl + * + * @brief This class holds all the different GIOP message generators + * and parsers. + * + * This class can be done away with if we want to use the svc.conf + * file to load the right GIOP protocol. But that would require some + * work as we need to make sure that we have the behaviours of lower + * versions in the higher versions. + */ + +class TAO_Export TAO_GIOP_Message_Generator_Parser_Impl +{ +public: + /// Performs a check of the revision numbers + CORBA::Boolean check_revision (CORBA::Octet incoming_major, + CORBA::Octet incoming_minor); + + /// Version 1.0 of GIOP + TAO_GIOP_Message_Generator_Parser_10 tao_giop_10; + + /// Version 1.1 of GIOP + TAO_GIOP_Message_Generator_Parser_11 tao_giop_11; + + /// Version 1.2 of GIOP + TAO_GIOP_Message_Generator_Parser_12 tao_giop_12; +}; + +#if defined (__ACE_INLINE__) +# include "tao/GIOP_Message_Generator_Parser_Impl.inl" +#endif /* __ACE_INLINE__ */ + +#include "ace/post.h" +#endif /*TAO_GIOP_MESSAGE_GENERATOR_PARSER_IMPL_H*/ |