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
34 test_i (PortableInterceptor::Current_ptr current
,
35 PortableInterceptor::SlotId id
,
41 /// Main servant test method.
42 virtual void invoke_me (void);
44 /// No-op method used so that a client request interceptor will be
45 /// invoked when invoking this method from the above invoke_me()
46 /// method. Say that 10 times fast. :-)
47 virtual void invoke_you (void);
49 /// Test just a set slot
50 virtual void invoke_we (void);
53 virtual void shutdown (void);
57 /// Reference to the PICurrent object.
58 PortableInterceptor::Current_var current_
;
60 /// SlotId in the PICurrent object assigned to this test.
61 PortableInterceptor::SlotId slot_id_
;
63 /// Pseudo-reference to the ORB.