3 Receiver::Receiver (CORBA::ORB_ptr orb
)
6 , orb_ (CORBA::ORB::_duplicate (orb
))
11 Receiver::dump_results ()
13 ACE_GUARD (TAO_SYNCH_MUTEX
, ace_mon
, this->mutex_
);
15 "Total messages = %d\n"
22 Receiver::receive_data (const Test::Payload
&payload
)
24 ACE_GUARD (TAO_SYNCH_MUTEX
, ace_mon
, this->mutex_
);
25 this->message_count_
++;
26 this->byte_count_
+= payload
.length ();
30 Receiver::get_event_count ()
32 ACE_GUARD_RETURN (TAO_SYNCH_MUTEX
, ace_mon
, this->mutex_
, 0);
33 return this->message_count_
;
39 this->orb_
->shutdown (false);