summaryrefslogtreecommitdiff
path: root/TAO/tao/GIOP_Message_State.i
blob: 653bf47d6a881ad1afa39f39552b7d8c1375c747 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
// -*- C++ -*-

//$Id$
// ****************************************************************
// @@ Bala: we use the stars to separate classes in ACE+TAO

//
// Inlined methods for TAO_GIOP_Message_State
//
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;
}