Merge pull request #2220 from DOCGroup/revert-2217-jwi-inetwraning
[ACE_TAO.git] / TAO / tests / GIOP_Fragments / Java_Big_Request / Payload_Receiver.h
blobccb0aa37661ffc3abd1f576401731a639dd69b95
2 #ifndef JAVA_BIG_REQUEST_PAYLOAD_RECEIVER_H
3 #define JAVA_BIG_REQUEST_PAYLOAD_RECEIVER_H
4 #include /**/ "ace/pre.h"
6 #include "TestS.h"
8 /// Implement the Test::Payload_Receiver interface
9 /**
10 * Simply print count how many bytes were received.
12 class Payload_Receiver
13 : public virtual POA_Test::Payload_Receiver
15 public:
16 /// Constructor
17 Payload_Receiver (CORBA::ORB_ptr orb);
19 // = The skeleton methods
20 virtual void more_data (const Test::Payload &payload);
22 virtual void shutdown ();
24 int get_count () const;
26 public:
27 int count_;
28 CORBA::ORB_var orb_;
31 #include /**/ "ace/post.h"
32 #endif /* JAVA_BIG_REQUEST_PAYLOAD_RECEIVER_H */