4 test_i::test_i (CORBA::Short num
,
7 orb_ (CORBA::ORB::_duplicate (orb
))
11 test_i::~test_i (void)
19 if (this->number_
== 3)
22 // Either throw any of these 4 exceptions with completion status
23 // COMPLETED_NO and see how it's handled in receive_other() point.
24 throw ::CORBA::TRANSIENT (0, CORBA::COMPLETED_NO
);
25 // throw ::CORBA::NO_RESPONSE (0, CORBA::COMPLETED_NO);
26 // throw ::CORBA::COMM_FAILURE (0, CORBA::COMPLETED_NO);
27 // throw ::CORBA::OBJ_ADAPTER (0, CORBA::COMPLETED_NO);
29 // Or throw any other exception and see how it's handled in
30 // receive_exception() point on the client side.
31 throw ::CORBA::INTERNAL (0, CORBA::COMPLETED_NO
);
38 test_i::shutdown (void)
41 "SERVER: Server is shutting down at %d.\n",
43 this->orb_
->shutdown (0);