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

ACE_INLINE
TAO_GIOP_DII_Deferred_Invocation::
TAO_GIOP_DII_Deferred_Invocation (TAO_Stub *stub,
                                  TAO_ORB_Core *orb_core,
                                  const CORBA::Request_ptr req)
  : TAO_GIOP_Invocation (stub,
                         req->operation (),
                         ACE_OS::strlen (req->operation ()),
                         orb_core),
    rd_ (0)
{
  // 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 (rd_,
           TAO_DII_Deferred_Reply_Dispatcher (req));
}