GIOP_Message_State.inl

Go to the documentation of this file.
00001 // -*- C++ -*-
00002 
00003 //$Id: GIOP_Message_State.inl 79012 2007-07-24 14:21:05Z johnnyw $
00004 
00005 TAO_BEGIN_VERSIONED_NAMESPACE_DECL
00006 
00007 ACE_INLINE
00008 TAO_GIOP_Message_State::TAO_GIOP_Message_State (void)
00009   : giop_version_ (TAO_DEF_GIOP_MAJOR,
00010                    TAO_DEF_GIOP_MINOR),
00011     byte_order_ (0),
00012     message_type_ (TAO_PLUGGABLE_MESSAGE_REQUEST),
00013     payload_size_ (0),
00014     more_fragments_ (0)
00015 {
00016 }
00017 
00018 ACE_INLINE CORBA::ULong
00019 TAO_GIOP_Message_State::message_size (void) const
00020 {
00021   return this->payload_size_ + TAO_GIOP_MESSAGE_HEADER_LEN;
00022 }
00023 
00024 ACE_INLINE CORBA::ULong
00025 TAO_GIOP_Message_State::payload_size (void) const
00026 {
00027   return this->payload_size_;
00028 }
00029 
00030 ACE_INLINE CORBA::Octet
00031 TAO_GIOP_Message_State::byte_order (void) const
00032 {
00033   return this->byte_order_;
00034 }
00035 
00036 ACE_INLINE TAO_Pluggable_Message_Type
00037 TAO_GIOP_Message_State::message_type (void) const
00038 {
00039   return this->message_type_;
00040 }
00041 
00042 ACE_INLINE CORBA::Octet
00043 TAO_GIOP_Message_State::more_fragments (void) const
00044 {
00045   return this->more_fragments_;
00046 }
00047 
00048 ACE_INLINE void
00049 TAO_GIOP_Message_State::more_fragments (CORBA::Octet fragment)
00050 {
00051   this->more_fragments_ = fragment;
00052 }
00053 
00054 ACE_INLINE TAO_GIOP_Message_Version const &
00055 TAO_GIOP_Message_State::giop_version (void) const
00056 {
00057   return this->giop_version_;
00058 }
00059 
00060 TAO_END_VERSIONED_NAMESPACE_DECL

Generated on Sun Jan 27 13:07:32 2008 for TAO by doxygen 1.3.6