Revert "Minor modernization of DynamicAny code"
[ACE_TAO.git] / TAO / performance-tests / Callback / Server_i.h
blob2c67802f8f409c60e8dde59dad90f8140a484693
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 ();
13 /// Return 1 when the shutdown method has been invoked.
14 int done ();
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 ();
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 */