Merge pull request #2309 from mitza-oci/warnings
[ACE_TAO.git] / TAO / tests / AMI_Buffering / AMI_Buffering_Admin.h
blob490e0d364a29efeb25a1697d07c3671e25c7015b
2 #ifndef AMI_BUFFERING_ADMIN_H
3 #define AMI_BUFFERING_ADMIN_H
4 #include /**/ "ace/pre.h"
6 #include "TestS.h"
8 /// Implement the Test::AMI_Buffering_Admin interface
9 class AMI_Buffering_Admin
10 : public virtual POA_Test::AMI_Buffering_Admin
12 public:
13 /// Constructor
14 AMI_Buffering_Admin (CORBA::ORB_ptr orb);
16 // = The skeleton methods
17 virtual CORBA::ULong request_count ();
19 virtual CORBA::ULong 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 /* AMI_BUFFERING_H */