summaryrefslogtreecommitdiff
path: root/TAO/tao/GIOP.i
blob: 369f73a95d90dedf308063bfe847f36d93092e08 (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
// This may look like C, but it's really -*- C++ -*-
//
// $Id$
//

ACE_INLINE
TAO_GIOP_LocateRequestHeader::TAO_GIOP_LocateRequestHeader (void)
  : request_id (0)
{}

ACE_INLINE void
TAO_GIOP_Invocation::get_value (CORBA::TypeCode_ptr tc,
                                void *value,
                                CORBA::Environment &env)
{
  (void) this->inp_stream_.decode (tc, value, 0, env);
}

ACE_INLINE void
TAO_GIOP_Invocation::put_param (CORBA::TypeCode_ptr tc,
                                void *value,
                                CORBA::Environment &env)
{
  (void) this->out_stream_.encode (tc, value, 0, env);
}

ACE_INLINE TAO_InputCDR &
TAO_GIOP_Invocation::inp_stream (void)
{
  return this->inp_stream_;
}

ACE_INLINE TAO_OutputCDR &
TAO_GIOP_Invocation::out_stream (void)
{
  return this->out_stream_;
}

#if 0
// @@ TODO
ACE_INLINE CDR &
TAO_GIOP_Invocation::stream (void)
{
  return this->stream_;
}
#endif /* 0 */