3 //=============================================================================
7 * Implementation header for the "test" IDL interface for the
8 * PortableInterceptor::Current test.
10 * @author Ossama Othman <ossama@uci.edu>
12 //=============================================================================
19 #include "tao/PortableInterceptorC.h"
20 #include "tao/PI/PI.h"
25 * @brief Simple test class.
27 * This class implements the "test" interface used in this test.
29 class test_i
: public virtual POA_PICurrentTest::test
33 test_i (PortableInterceptor::Current_ptr current
,
34 PortableInterceptor::SlotId id
,
40 /// Main servant test method.
41 virtual void invoke_me ();
43 /// No-op method used so that a client request interceptor will be
44 /// invoked when invoking this method from the above invoke_me()
45 /// method. Say that 10 times fast. :-)
46 virtual void invoke_you ();
48 /// Test just a set slot
49 virtual void invoke_we ();
52 virtual void shutdown ();
55 /// Reference to the PICurrent object.
56 PortableInterceptor::Current_var current_
;
58 /// SlotId in the PICurrent object assigned to this test.
59 PortableInterceptor::SlotId slot_id_
;
61 /// Pseudo-reference to the ORB.