10 * @brief Simple test class.
12 * This class implements the "test" interface used in this test.
14 class test_i
: public virtual POA_Collocated_ForwardRequestTest::test
18 test_i (CORBA::Short id
,
21 /// A way to setup forwarding in case of direct collocation.
22 void forward (CORBA::Object_ptr to
,
23 CORBA::ULong request_pass_count
);
25 /// Return the number assigned to this object.
26 virtual CORBA::Short
collocated_call ();
29 /// Id of this instance.
32 /// Pseudo-reference to the ORB.
35 /// A place where to forward.
36 CORBA::Object_var to_
;
38 /// How much requests to pass thru before forwarding.
39 CORBA::ULong request_pass_count_
;
41 /// The number of requests intercepted by this interceptor.
42 CORBA::ULong request_count_
;