Merge pull request #2222 from jwillemsen/jwi-dllexportwarning
[ACE_TAO.git] / TAO / tests / Oneway_Buffering / Oneway_Buffering_Admin.h
blob70f71c799cf80af8265da0c44bc62543c5ad457d
2 #ifndef ONEWAY_BUFFERING_ADMIN_H
3 #define ONEWAY_BUFFERING_ADMIN_H
4 #include /**/ "ace/pre.h"
6 #include "TestS.h"
8 /// Implement the Test::Oneway_Buffering_Admin interface
9 class Oneway_Buffering_Admin
10 : public virtual POA_Test::Oneway_Buffering_Admin
12 public:
13 /// Constructor
14 Oneway_Buffering_Admin (CORBA::ORB_ptr orb);
16 // = The skeleton methods
17 virtual CORBA::ULong request_count (CORBA::ULong expected_request_count);
19 virtual CORBA::ULong bytes_received_count (CORBA::ULong expected_bytes_received_count);
21 virtual void request_received (CORBA::ULong payload_length);
23 virtual void flush ();
25 virtual void shutdown ();
27 private:
28 /// Use an ORB reference to shutdown the application.
29 CORBA::ORB_var orb_;
31 /// Keep track of the number of requests received
32 CORBA::ULong request_count_;
34 /// Keep track of the number of requests received
35 CORBA::ULong bytes_received_count_;
38 #include /**/ "ace/post.h"
39 #endif /* ONEWAY_BUFFERING_H */