summaryrefslogtreecommitdiff
path: root/TAO/tao/GIOP_Message_Generator_Parser_Impl.inl
diff options
context:
space:
mode:
authorbala <balanatarajan@users.noreply.github.com>2000-12-07 23:49:59 +0000
committerbala <balanatarajan@users.noreply.github.com>2000-12-07 23:49:59 +0000
commit9c59765bf00cb46c2638e0ad7edf2fcc1eea000e (patch)
treef581994603321ef174fa5d9ea2a56cf6adbabc28 /TAO/tao/GIOP_Message_Generator_Parser_Impl.inl
parent02cc34690ecada2356e3ea9cbe358e2441a46ff2 (diff)
downloadATCD-9c59765bf00cb46c2638e0ad7edf2fcc1eea000e.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.inl')
-rw-r--r--TAO/tao/GIOP_Message_Generator_Parser_Impl.inl13
1 files changed, 13 insertions, 0 deletions
diff --git a/TAO/tao/GIOP_Message_Generator_Parser_Impl.inl b/TAO/tao/GIOP_Message_Generator_Parser_Impl.inl
new file mode 100644
index 00000000000..18bb7936ffd
--- /dev/null
+++ b/TAO/tao/GIOP_Message_Generator_Parser_Impl.inl
@@ -0,0 +1,13 @@
+//$Id$
+
+ACE_INLINE CORBA::Boolean
+TAO_GIOP_Message_Generator_Parser_Impl::
+ check_revision (CORBA::Octet incoming_major,
+ CORBA::Octet incoming_minor)
+{
+ if (incoming_major > TAO_DEF_GIOP_MAJOR ||
+ incoming_minor > TAO_DEF_GIOP_MINOR)
+ return 0;
+
+ return 1;
+}