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

ACE_INLINE
TAO_GIOP_DII_Invocation::TAO_GIOP_DII_Invocation (TAO_Stub *data,
                                                  const char *operation,
                                                  CORBA::ULong opname_len,
                                                  CORBA::Boolean argument_flag,
                                                  TAO_ORB_Core *orb_core)
  : TAO_GIOP_Twoway_Invocation (data,
                                operation,
                                opname_len,
                                argument_flag,
                                orb_core)
{
}

ACE_INLINE
TAO_GIOP_DII_Deferred_Invocation::TAO_GIOP_DII_Deferred_Invocation (
    TAO_Stub *stub,
    TAO_ORB_Core *orb_core,
    CORBA::Boolean argument_flag,
    const CORBA::Request_ptr req
  )
  : TAO_GIOP_Asynch_Invocation (stub,
                                req->operation (),
                                ACE_OS::strlen (req->operation ()),
                                argument_flag,
                                orb_core)
{
  // New reply dispatcher on the heap, because
  // we will go out of scope and hand over the
  // reply dispatcher to the ORB.
  // So this->rd_ is 0, because we do not need to
  // hold a pointer to it.
  ACE_NEW (this->rd_,
           TAO_DII_Deferred_Reply_Dispatcher (req));
}