Merge pull request #2303 from jwillemsen/jwi-803
[ACE_TAO.git] / TAO / orbsvcs / tests / Bug_2285_Regression / Hello.h
blob5b58bbb8183d61d80babab69601352e289a17b2d
2 #ifndef HELLO_H
3 #define HELLO_H
4 #include /**/ "ace/pre.h"
6 #include "TestS.h"
8 #if defined (_MSC_VER)
9 # pragma warning(push)
10 # pragma warning (disable:4250)
11 #endif /* _MSC_VER */
13 /// Implement the Test::Hello interface
14 class Hello
15 : public virtual POA_Test::Hello
17 public:
18 /// Constructor
19 Hello (CORBA::ORB_ptr orb, Test::Hello_ptr server, CORBA::ULong server_id = 0);
21 // = The skeleton methods
22 virtual char * get_string ();
24 virtual void shutdown ();
26 virtual void throw_exception ();
28 virtual CORBA::Boolean call_me_back (Test::Hello_ptr me);
30 virtual CORBA::Boolean call_back ();
32 virtual CORBA::Boolean check_request_id ();
34 virtual CORBA::ULong drop_down_dead ();
36 static CORBA::Boolean ids_differ_;
38 private:
39 /// Use an ORB reference to convert strings to objects and shutdown
40 /// the application.
41 CORBA::ORB_var orb_;
43 Test::Hello_var server_;
45 CORBA::ULong server_id_;
48 #if defined(_MSC_VER)
49 # pragma warning(pop)
50 #endif /* _MSC_VER */
52 #include /**/ "ace/post.h"
53 #endif /* HELLO_H */