2 #ifndef MUXING_RECEIVER_H
3 #define MUXING_RECEIVER_H
4 #include /**/ "ace/pre.h"
10 # pragma warning (disable:4250)
13 /// Implement the Test::Receiver interface
15 * Simply print count how many bytes were received.
18 : public POA_Test::Receiver
22 Receiver (CORBA::ORB_ptr orb
);
24 /// Print out the results
27 // = The skeleton methods
28 virtual void receive_data (const Test::Payload
&payload
);
29 virtual CORBA::Long
get_event_count ();
31 virtual void shutdown ();
34 TAO_SYNCH_MUTEX mutex_
;
35 CORBA::ULong message_count_
;
36 CORBA::ULong byte_count_
;
37 /// Use an ORB reference to shutdown
46 #include /**/ "ace/post.h"
47 #endif /* MUXING_RECEIVER_H */