Merge pull request #1844 from jrw972/monterey
[ACE_TAO.git] / TAO / tests / Oneway_Buffering / Oneway_Buffering_Admin.h
blob8942925272fc48051d2c4af966b5b327d27e8a46
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 (void);
25 virtual void shutdown (void);
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 */