1 #include "Payload_Receiver.h"
3 Payload_Receiver::Payload_Receiver ()
5 , maybe_lost_count_ (0)
10 Payload_Receiver::more_data (
11 const Test::Payload
& payload
,
12 CORBA::Boolean maybe_lost
)
14 if (payload
.length() > 0)
18 ++this->maybe_lost_count_
;
22 ++this->message_count_
;
28 Payload_Receiver::ping ()
33 Payload_Receiver::count (bool maybe_lost
) const
36 maybe_lost_count_
.value ()
37 : message_count_
.value ();