summaryrefslogtreecommitdiff
path: root/TAO/tao/GIOP_Message_State.inl
diff options
context:
space:
mode:
authorbala <bala@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2001-06-25 12:57:34 +0000
committerbala <bala@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2001-06-25 12:57:34 +0000
commitb635c5bd82bb333a9e10aff6b3f4c45f09e7f2dd (patch)
tree911b9926af4e5041c51f919d5db7660b22a12df9 /TAO/tao/GIOP_Message_State.inl
parent27296c2ab21832c18cb22c891e38dd59d48aa3c3 (diff)
downloadATCD-b635c5bd82bb333a9e10aff6b3f4c45f09e7f2dd.tar.gz
ChangeLogTag: Mon Jun 25 07:54:31 2001 Balachandran Natarajan <bala@cs.wustl.edu>
Diffstat (limited to 'TAO/tao/GIOP_Message_State.inl')
-rw-r--r--TAO/tao/GIOP_Message_State.inl46
1 files changed, 46 insertions, 0 deletions
diff --git a/TAO/tao/GIOP_Message_State.inl b/TAO/tao/GIOP_Message_State.inl
new file mode 100644
index 00000000000..9238ba596d4
--- /dev/null
+++ b/TAO/tao/GIOP_Message_State.inl
@@ -0,0 +1,46 @@
+// -*- C++ -*-
+
+//$Id$
+
+ACE_INLINE CORBA::ULong
+TAO_GIOP_Message_State::message_size (void) const
+{
+ return this->message_size_ + TAO_GIOP_MESSAGE_HEADER_LEN;
+}
+
+ACE_INLINE CORBA::ULong
+TAO_GIOP_Message_State::payload_size (void) const
+{
+ return this->message_size_;
+}
+
+ACE_INLINE CORBA::Octet
+TAO_GIOP_Message_State::byte_order (void) const
+{
+ return this->byte_order_;
+}
+
+#if 0
+ACE_INLINE int
+TAO_GIOP_Message_State::message_fragmented (void)
+{
+ if (this->more_fragments)
+ return 1;
+
+ return 0;
+}
+
+ACE_INLINE void
+TAO_GIOP_Message_State::reset (int /*reset_contents*/)
+{
+ this->message_size = 0;
+ this->more_fragments = 0;
+}
+
+ACE_INLINE CORBA::Boolean
+TAO_GIOP_Message_State::header_received (void) const
+{
+ return this->message_size != 0;
+}
+
+#endif