3 Visual_i::Visual_i (CORBA::ORB_ptr orb
)
4 : orb_ (CORBA::ORB::_duplicate (orb
))
10 Visual_i::normal (CORBA::Long arg
,
11 CORBA::String_out msg
)
13 ACE_DEBUG ((LM_DEBUG
, "Visual::normal called with %d\n", arg
));
14 msg
= CORBA::string_dup ("DO_NOT_INSULT_MY_INTELLIGENCE");
18 Visual_i::calculate (CORBA::Long one
,
21 ACE_DEBUG ((LM_DEBUG
, "Visual::calculate\n"));
25 Test_Interceptors::Visual::VarLenStruct
*
26 Visual_i::the_structure (void)
28 Test_Interceptors::Visual::VarLenStruct
* s
;
31 Test_Interceptors::Visual::VarLenStruct
,
34 Test_Interceptors::Visual::VarLenStruct_var safe_s
= s
;
37 s
->message
= CORBA::string_dup ("Oh Captain, my Captain!");
39 return safe_s
._retn ();
45 ACE_DEBUG ((LM_DEBUG
, "Visual::user, throwing Silly\n"));
46 throw Test_Interceptors::Silly ();
50 Visual_i::system (void)
52 ACE_DEBUG ((LM_DEBUG
, "Visual::user, throwing INV_OBJREF\n"));
53 throw CORBA::INV_OBJREF ();
57 Visual_i::shutdown (void)
59 this->orb_
->shutdown ();