blob: 189191d78615bda2779c8fc12db572e1c7f9fcd2 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
|
//
// $Id$
//
#ifndef MT_BIDIR_RECEIVER_I_H
#define MT_BIDIR_RECEIVER_I_H
#include /**/ "ace/pre.h"
#include "ReceiverS.h"
/**
* Simply print count how many bytes were received.
*/
class Receiver_i
: public virtual POA_Receiver
{
public:
/// Constructor
Receiver_i (void);
/// Get the number of events that have been received, local method
CORBA::Long get_event_count (void);
// = The skeleton methods
virtual void receive_payload (const Receiver::Payload &payload
ACE_ENV_ARG_DECL)
ACE_THROW_SPEC ((CORBA::SystemException));
private:
TAO_SYNCH_MUTEX mutex_;
CORBA::ULong message_count_;
CORBA::ULong byte_count_;
};
#include /**/ "ace/post.h"
#endif /* MUXING_RECEIVER_H */
|