Merge pull request #2309 from mitza-oci/warnings
[ACE_TAO.git] / TAO / tests / Oneway_Buffering / Oneway_Buffering.h
blob4869811be8e623614bb6521df840c14d609e3d00
2 #ifndef ONEWAY_BUFFERING_H
3 #define ONEWAY_BUFFERING_H
4 #include /**/ "ace/pre.h"
6 #include "TestS.h"
8 /// Implement the Test::Oneway_Buffering interface
9 class Oneway_Buffering
10 : public virtual POA_Test::Oneway_Buffering
12 public:
13 /// Constructor
14 Oneway_Buffering (CORBA::ORB_ptr orb,
15 Test::Oneway_Buffering_Admin_ptr admin);
17 // = The skeleton methods
18 virtual void receive_data (const Test::Payload &the_payload);
20 virtual void flush ();
22 virtual void sync ();
24 virtual void shutdown ();
26 private:
27 /// Use an ORB reference to shutdown the application.
28 CORBA::ORB_var orb_;
30 /// Report request progress to this interface
31 Test::Oneway_Buffering_Admin_var admin_;
34 #include /**/ "ace/post.h"
35 #endif /* ONEWAY_BUFFERING_H */