blob: c89c9dc6128d044105b7741e1dfedfe657c108db (
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
|
// -*- C++ -*-
TAO_BEGIN_VERSIONED_NAMESPACE_DECL
ACE_INLINE
TAO::CSD::TP_Corba_Request::TP_Corba_Request
(const PortableServer::ObjectId& object_id,
PortableServer::POA_ptr poa,
const char* operation,
PortableServer::Servant servant,
TP_Servant_State* servant_state,
TAO_ServerRequest& server_request)
: TP_Request(servant,servant_state),
object_id_(object_id),
operation_(operation),
server_request_(server_request)
{
this->poa_ = PortableServer::POA::_duplicate(poa);
}
ACE_INLINE
void
TAO::CSD::TP_Corba_Request::do_clone()
{
this->server_request_.clone();
}
ACE_INLINE
void
TAO::CSD::TP_Corba_Request::do_dispatch()
{
// Pass 0 for the upcall wrapper. If we have it here, we can change the
// upcall wrapper to a reference in the full TAO Core
this->server_request_.dispatch(this->servant(), 0);
}
ACE_INLINE
void
TAO::CSD::TP_Corba_Request::do_cancel()
{
this->server_request_.cancel();
}
TAO_END_VERSIONED_NAMESPACE_DECL
|