2 #ifndef ONEWAY_BUFFERING_ADMIN_H
3 #define ONEWAY_BUFFERING_ADMIN_H
4 #include /**/ "ace/pre.h"
8 /// Implement the Test::Oneway_Buffering_Admin interface
9 class Oneway_Buffering_Admin
10 : public virtual POA_Test::Oneway_Buffering_Admin
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 ();
28 /// Use an ORB reference to shutdown the application.
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 */