2 #ifndef MT_BIDIR_RECEIVER_H
3 #define MT_BIDIR_RECEIVER_H
4 #include /**/ "ace/pre.h"
8 ACE_BEGIN_VERSIONED_NAMESPACE_DECL
9 class ACE_Manual_Event
;
10 ACE_END_VERSIONED_NAMESPACE_DECL
13 * Simply print count how many bytes were received.
16 : public virtual POA_Sender
20 Sender_i (CORBA::ULong no_clients
,
21 ACE_Manual_Event
&event
);
23 virtual ~Sender_i (void);
25 // = The skeleton methods
26 virtual CORBA::Long
receiver_object (Receiver
*recv
);
28 /// Public method defined locally
29 void send_message (void);
32 /// Synchronizing acces to this class
33 TAO_SYNCH_MUTEX mutex_
;
35 /// An event for waking other threads
36 ACE_Manual_Event
&event_
;
38 /// An array of receiver pointers
39 Receiver_var
*receivers_
;
41 /// Size of the <this->receivers_> array
42 CORBA::ULong no_clients_
;
45 CORBA::ULong last_index_
;
47 /// Payload that is being sent
48 Receiver::Payload payload_
;
51 #include /**/ "ace/post.h"
52 #endif /* MUXING_RECEIVER_H */