blob: 80d421c73404d984a7e23be18c51c914d5a0d7b3 (
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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
|
// -*- C++ -*-
//$Id$
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->request_id_ = 0;
this->missing_data_ = 0;
}
ACE_INLINE const TAO_GIOP_Message_Version &
TAO_GIOP_Message_State::giop_version () const
{
return this->giop_version_;
}
ACE_INLINE CORBA::Octet
TAO_GIOP_Message_State::more_fragments () const
{
return this->more_fragments_;
}
ACE_INLINE CORBA::Octet
TAO_GIOP_Message_State::message_type () const
{
return this->message_type_;
}
ACE_INLINE void
TAO_GIOP_Message_State::set_payload_size_from_buffer (const char *rd_ptr)
{
// Move the read pointer
rd_ptr += TAO_GIOP_MESSAGE_SIZE_OFFSET;
this->message_size_ = this->read_ulong (rd_ptr);
}
|