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
19 test_i (CORBA::Short id
,
23 /// A way to setup forwarding in case of direct collocation.
24 void forward (CORBA::Object_ptr to
,
25 CORBA::ULong request_pass_count
);
27 /// Return the number assigned to this object.
28 virtual CORBA::Short
collocated_call (void);
32 /// Id of this instance.
35 /// An indication to throwing forward request exception.
38 /// Pseudo-reference to the ORB.
41 /// A place where to forward.
42 CORBA::Object_var to_
;
44 /// How much requests to pass thru before forwarding.
45 CORBA::ULong request_pass_count_
;
47 /// The number of requests intercepted by this interceptor.
48 CORBA::ULong request_count_
;