1 //=============================================================================
5 * Defines test_i class for the test interface
7 * @author Irfan Pyarali
9 //=============================================================================
14 class GENERIC_SERVANT_Export test_i
: public POA_test
17 /// Constructor - takes a POA and a value parameter
18 test_i (CORBA::ORB_ptr orb
,
19 PortableServer::POA_ptr poa
);
21 /// Returns the Default POA of this servant
22 PortableServer::POA_ptr
_default_POA ();
24 /// A twoway operation.
27 /// A oneway operation.
28 void oneway_method ();
30 /// A timed twoway operation.
31 void timed_method (CORBA::ULong timeout
);
33 /// A timed twoway operation.
34 void timed_oneway_method (CORBA::ULong timeout
);
39 /// Sleep for some time.
40 void sleep (CORBA::ULong timeout
,
41 const char *operation
);
48 PortableServer::POA_var poa_
;