3 Hello::Hello (CORBA::ORB_ptr orb
)
4 : orb_ (CORBA::ORB::_duplicate (orb
))
9 Hello::get_string (const char * mystring
)
11 ACE_DEBUG ((LM_DEBUG
, "Received <%s>\n", mystring
));
12 return CORBA::string_dup ("Hello there!Hello there!Hello there!Hello there!Hello there!Hello there!Hello there!Hello there!Hello there!");
16 Hello::get_big_reply (CORBA::ULong size
)
18 Test::Octet_Seq_var reply_mesg
=
19 new Test::Octet_Seq (size
);
21 reply_mesg
->length (size
);
23 for (CORBA::ULong i
= 0u; i
< size
; ++i
)
25 reply_mesg
[i
]= static_cast<CORBA::Octet
> (i
& 0xff);
27 return reply_mesg
._retn ();
31 Hello::big_request (const ::Test::Octet_Seq
& octet_in
)
33 if (octet_in
.length () > 0)
36 ACE_TEXT("Server side BLOB received len = %d\n"),
42 ACE_TEXT("Error receiving BLOB on server\n")));
47 Hello::shutdown (void)
49 this->orb_
->shutdown (0);