3 //=============================================================================
5 * @file LocateRequest_Invocation.h
7 * @author Balachandran Natarajan <bala@dre.vanderbilt.edu>
9 //=============================================================================
11 #ifndef TAO_LOCATEREQUEST_INVOCATION_H
12 #define TAO_LOCATEREQUEST_INVOCATION_H
14 #include /**/ "ace/pre.h"
15 #include "ace/Global_Macros.h"
17 #if !defined (ACE_LACKS_PRAGMA_ONCE)
19 #endif /* ACE_LACKS_PRAGMA_ONCE */
21 #include "tao/Synch_Invocation.h"
23 TAO_BEGIN_VERSIONED_NAMESPACE_DECL
25 class TAO_Synch_Reply_Dispatcher
;
29 class Profile_Transport_Resolver
;
32 * @class LocateRequest_Invocation
34 * @brief Object created by TAO::LocateRequest_Invocation_Adapter to
35 * create and send LocateRequest invocation.
37 class LocateRequest_Invocation
38 : public Synch_Twoway_Invocation
42 * @param otarget The target on which this invocation was
45 * @param resolver Container of the profile and transport on
46 * which this invocation is on
48 * @param detail Operation details of the invocation on @a
49 * target. This is of no practical importance since it is not used
50 * in this class. This is just to keep our base class happy.
53 LocateRequest_Invocation (
54 CORBA::Object_ptr otarget
,
55 Profile_Transport_Resolver
&resolver
,
56 TAO_Operation_Details
&detail
);
58 /// Start the invocation.
59 Invocation_Status
invoke (ACE_Time_Value
*max_wait_time
);
62 /// Helper to check the reply status
63 Invocation_Status
check_reply (TAO_Synch_Reply_Dispatcher
&rd
);
67 TAO_END_VERSIONED_NAMESPACE_DECL
69 #include /**/ "ace/post.h"
71 #endif /*TAO_LOCATEREQUEST_INVOCATION_H*/