diff options
Diffstat (limited to 'TAO/tests/Big_Request_Muxing/Payload_Receiver.h')
-rw-r--r-- | TAO/tests/Big_Request_Muxing/Payload_Receiver.h | 48 |
1 files changed, 0 insertions, 48 deletions
diff --git a/TAO/tests/Big_Request_Muxing/Payload_Receiver.h b/TAO/tests/Big_Request_Muxing/Payload_Receiver.h deleted file mode 100644 index cc32a3c1f92..00000000000 --- a/TAO/tests/Big_Request_Muxing/Payload_Receiver.h +++ /dev/null @@ -1,48 +0,0 @@ -// -// $Id$ -// - -#ifndef BIG_REQUEST_MUXING_PAYLOAD_RECEIVER_H -#define BIG_REQUEST_MUXING_PAYLOAD_RECEIVER_H -#include /**/ "ace/pre.h" - -#include "TestS.h" - -#if defined (_MSC_VER) -# pragma warning(push) -# pragma warning (disable:4250) -#endif /* _MSC_VER */ - -/// Implement the Test::Payload_Receiver interface -/** - * Simply print count how many bytes were received. - */ -class Payload_Receiver - : public virtual POA_Test::Payload_Receiver - , public virtual PortableServer::RefCountServantBase -{ -public: - /// Constructor - Payload_Receiver (void); - - // = The skeleton methods - virtual void more_data (const Test::Payload &payload - ACE_ENV_ARG_DECL) - ACE_THROW_SPEC ((CORBA::SystemException)); - virtual CORBA::Long get_message_count (ACE_ENV_SINGLE_ARG_DECL) - ACE_THROW_SPEC ((CORBA::SystemException)); - -private: - /// Count the number of messages received - CORBA::ULong message_count_; - - /// Count the number of bytes received - CORBA::ULong byte_count_; -}; - -#if defined(_MSC_VER) -# pragma warning(pop) -#endif /* _MSC_VER */ - -#include /**/ "ace/post.h" -#endif /* BIG_REQUEST_MUXING_PAYLOAD_RECEIVER_H */ |