Merge pull request #1844 from jrw972/monterey
[ACE_TAO.git] / TAO / performance-tests / Callback / Server_i.h
blob06948665fc2af39ff736a281e754ef9a4ec6dc33
1 #ifndef TAO_SERVER_I_H
2 #define TAO_SERVER_I_H
4 #include "callbackS.h"
6 /// Implement the Test::Server interface
7 class Server_i : public POA_Test::Server
9 public:
10 /// Constructor.
11 Server_i (void);
13 /// Return 1 when the shutdown method has been invoked.
14 int done (void);
16 /// Implement the CORBA methods
17 //@{
18 void set_callback (Test::Callback_ptr callback);
20 void request (Test::TimeStamp,
21 const Test::Payload &);
23 void shutdown (void);
25 //@}
27 private:
28 /// A flag to terminate the event loop
29 int done_;
31 /// The callback object
32 Test::Callback_var callback_;
35 #if defined(__ACE_INLINE__)
36 #include "Server_i.inl"
37 #endif /* __ACE_INLINE__ */
39 #endif /* TAO_SERVER_I_H */