Merge pull request #1551 from DOCGroup/plm_jira_333
[ACE_TAO.git] / TAO / orbsvcs / tests / Bug_2285_Regression / Hello.h
blobaa5305f1866a277bbf3a4a1d0ca0fe3b5b464cdf
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 (void);
24 virtual void shutdown (void);
26 virtual void throw_exception (void);
28 virtual CORBA::Boolean call_me_back (Test::Hello_ptr me);
30 virtual CORBA::Boolean call_back (void);
32 virtual CORBA::Boolean check_request_id (void);
34 virtual CORBA::ULong drop_down_dead (void);
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 */