TAO_IDL: Fix Memory Leaks Caused By Annotations
[ACE_TAO.git] / TAO / tests / MT_BiDir / Receiver_i.h
blob8f426fb3106509513fb2d7cdc3e93a06194e989a
2 #ifndef MT_BIDIR_RECEIVER_I_H
3 #define MT_BIDIR_RECEIVER_I_H
4 #include /**/ "ace/pre.h"
6 #include "ReceiverS.h"
8 /**
9 * Simply print count how many bytes were received.
11 class Receiver_i
12 : public virtual POA_Receiver
14 public:
15 /// Constructor
16 Receiver_i (void);
19 /// Get the number of events that have been received, local method
20 CORBA::Long get_event_count (void);
22 // = The skeleton methods
23 virtual void receive_payload (const Receiver::Payload &payload);
25 private:
26 TAO_SYNCH_MUTEX mutex_;
27 CORBA::ULong message_count_;
28 CORBA::ULong byte_count_;
31 #include /**/ "ace/post.h"
32 #endif /* MUXING_RECEIVER_H */