More tests update
[ACE_TAO.git] / TAO / tests / AMI_Buffering / AMI_Buffering_Admin.h
blob60f0b40346a3a0d118ac8913fc70d912ec5c7492
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 (void);
19 virtual CORBA::ULong bytes_received_count (void);
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 /* AMI_BUFFERING_H */