blob: 36a6e98a37c04ed6a27822a0a87d5ff17cb089ec (
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
38
39
|
//
// $Id$
//
#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
ACE_ENV_ARG_DECL)
ACE_THROW_SPEC ((CORBA::SystemException,
Test::Payload_Receiver::Invalid_Payload));
virtual void shutdown (void)
ACE_THROW_SPEC ((CORBA::SystemException));
int get_count (void) const;
public:
int count_;
CORBA::ORB_var orb_;
};
#include /**/ "ace/post.h"
#endif /* PMB_WITH_FRAGMENTS_PAYLOAD_RECEIVER_H */
|