blob: 51e6f7a4726e2f8e3e7a152cac1b63baf253e5cd (
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
62
63
64
65
66
67
|
// $Id$
#include "Method_Request_Lookup.h"
#if ! defined (__ACE_INLINE__)
#include "Method_Request_Lookup.inl"
#endif /* __ACE_INLINE__ */
ACE_RCSID(Notify, TAO_NS_Method_Request_Lookup, "$Id$")
#include "tao/debug.h"
#include "Consumer_Map.h"
#include "ProxySupplier.h"
#include "ProxyConsumer.h"
#include "Proxy.h"
#include "Admin.h"
#include "SupplierAdmin.h"
TAO_NS_Method_Request_Lookup::TAO_NS_Method_Request_Lookup (const TAO_NS_Event_var& event, TAO_NS_ProxyConsumer* proxy_consumer)
: TAO_NS_Method_Request_Lookup_Base (event, proxy_consumer)
{
this->init (event);
}
TAO_NS_Method_Request_Lookup::~TAO_NS_Method_Request_Lookup ()
{
}
int
TAO_NS_Method_Request_Lookup::execute (ACE_ENV_SINGLE_ARG_DECL)
{
return this->execute_i (ACE_ENV_SINGLE_ARG_PARAMETER);
}
/******************************************************************************************************/
TAO_NS_Method_Request_Lookup_No_Copy::TAO_NS_Method_Request_Lookup_No_Copy (const TAO_NS_Event* event, TAO_NS_ProxyConsumer* proxy_consumer)
: TAO_NS_Method_Request_Lookup_No_Copy_Base (event, proxy_consumer)
{
}
TAO_NS_Method_Request_Lookup_No_Copy::~TAO_NS_Method_Request_Lookup_No_Copy ()
{
}
int
TAO_NS_Method_Request_Lookup_No_Copy::execute (ACE_ENV_SINGLE_ARG_DECL)
{
return this->execute_i (ACE_ENV_SINGLE_ARG_PARAMETER);
}
TAO_NS_Method_Request*
TAO_NS_Method_Request_Lookup_No_Copy::copy (ACE_ENV_SINGLE_ARG_DECL)
{
TAO_NS_Method_Request* request;
TAO_NS_Event* event_copy = this->event_->copy (ACE_ENV_SINGLE_ARG_PARAMETER);
ACE_CHECK_RETURN (0);
TAO_NS_Event_Copy_var event_var (event_copy);
ACE_NEW_THROW_EX (request,
TAO_NS_Method_Request_Lookup (event_var, this->proxy_consumer_),
CORBA::INTERNAL ());
return request;
}
|