diff options
Diffstat (limited to 'TAO/tests/GIOP_Fragments/Java_Big_Request/Payload_Receiver.h')
-rw-r--r-- | TAO/tests/GIOP_Fragments/Java_Big_Request/Payload_Receiver.h | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/TAO/tests/GIOP_Fragments/Java_Big_Request/Payload_Receiver.h b/TAO/tests/GIOP_Fragments/Java_Big_Request/Payload_Receiver.h new file mode 100644 index 00000000000..41b4af2ac29 --- /dev/null +++ b/TAO/tests/GIOP_Fragments/Java_Big_Request/Payload_Receiver.h @@ -0,0 +1,35 @@ +// +// $Id$ +// + +#ifndef JAVA_BIG_REQUEST_PAYLOAD_RECEIVER_H +#define JAVA_BIG_REQUEST_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 (void); + + int get_count (void) const; + +public: + int count_; + CORBA::ORB_var orb_; +}; + +#include /**/ "ace/post.h" +#endif /* JAVA_BIG_REQUEST_PAYLOAD_RECEIVER_H */ |