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 | 0e49389337be86641451a5c36c24bf742fe97523 (patch) | |
tree | 197c810e5f5bce17b1233a7cb8d7b50c0bcd25e2 /TAO/tao/GIOP_Message_State.inl | |
parent | 8008dd09ccf88d4edef237a184a698cac42f2952 (diff) | |
download | ATCD-0e49389337be86641451a5c36c24bf742fe97523.tar.gz |
Repo restructuring
Diffstat (limited to 'TAO/tao/GIOP_Message_State.inl')
-rw-r--r-- | TAO/tao/GIOP_Message_State.inl | 57 |
1 files changed, 57 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..2de1bbb2b03 --- /dev/null +++ b/TAO/tao/GIOP_Message_State.inl @@ -0,0 +1,57 @@ +// -*- C++ -*- + +//$Id$ + +TAO_BEGIN_VERSIONED_NAMESPACE_DECL + +ACE_INLINE CORBA::ULong +TAO_GIOP_Message_State::message_size (void) const +{ + CORBA::ULong len = + this->message_size_ + TAO_GIOP_MESSAGE_HEADER_LEN; + + return 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_; +} + +ACE_INLINE void +TAO_GIOP_Message_State::reset (void) +{ + this->message_type_ = 0; + this->message_size_ = 0; + this->more_fragments_ = 0; + this->missing_data_ = 0; +} + +#if 0 +ACE_INLINE int +TAO_GIOP_Message_State::message_fragmented (void) +{ + if (this->more_fragments) + return 1; + + return 0; +} + + + +ACE_INLINE CORBA::Boolean +TAO_GIOP_Message_State::header_received (void) const +{ + return this->message_size != 0; +} + +#endif + +TAO_END_VERSIONED_NAMESPACE_DECL |