1 #include "Payload_Receiver.h"
3 Payload_Receiver::Payload_Receiver (CORBA::ORB_ptr orb
)
5 orb_(CORBA::ORB::_duplicate (orb
))
10 Payload_Receiver::more_data (const Test::Payload
&payload
)
14 CORBA::ULong length
= payload
.length ();
15 for (CORBA::ULong i
= 0; i
< length
; ++i
)
17 if (payload
[i
] != 'A')
19 throw Test::Payload_Receiver::Invalid_Payload ();
26 Payload_Receiver::shutdown ()
28 this->orb_
->shutdown (false);
33 Payload_Receiver::get_count () const