blob: a2d635f0e69b993990fed0ac706baf2236ac67e0 (
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
|
#ifndef PMB_WITH_FRAGMENTS_PAYLOAD_RECEIVER_H
#define PMB_WITH_FRAGMENTS_PAYLOAD_RECEIVER_H
#include /**/ "ace/pre.h"
#include "TestS.h"
/// Implement the Test::Payload_Receiver interface
/**
* Simply print count how many bytes were received.
*/
class Payload_Receiver
: public virtual POA_Test::Payload_Receiver
{
public:
/// Constructor
Payload_Receiver (CORBA::ORB_ptr orb);
// = The skeleton methods
virtual void more_data (const Test::Payload &payload);
virtual void shutdown ();
int get_count () const;
public:
int count_;
CORBA::ORB_var orb_;
};
#include /**/ "ace/post.h"
#endif /* PMB_WITH_FRAGMENTS_PAYLOAD_RECEIVER_H */
|