Merge pull request #2301 from sonndinh/remove-dup-reactor-functions
[ACE_TAO.git] / TAO / tests / Big_Oneways / Peer.h
blob61ce3f84a50c64612c6ae51bbd2efe974f831b55
2 #ifndef BIG_ONEWAYS_PEER_H
3 #define BIG_ONEWAYS_PEER_H
4 #include /**/ "ace/pre.h"
6 #include "TestS.h"
8 /// Implement the Test::Peer interface
9 class Peer
10 : public virtual POA_Test::Peer
12 public:
13 /// Constructor
14 Peer (CORBA::ORB_ptr orb);
16 /// Destructor
17 virtual ~Peer ();
19 // = The skeleton methods
20 virtual Test::Session_ptr create_session (Test::Session_Control_ptr control,
21 CORBA::ULong payload_size,
22 CORBA::ULong thread_count,
23 CORBA::ULong message_count,
24 CORBA::ULong peer_count);
25 virtual void shutdown ();
27 private:
28 /// Keep a pointer to the ORB to shutdown cleanly
29 CORBA::ORB_var orb_;
32 #include /**/ "ace/post.h"
33 #endif /* BIG_ONEWAYS_PEER_H */