Revert "Use a variable on the stack to not have a temporary in the call"
[ACE_TAO.git] / TAO / examples / CSD_Strategy / ThreadPool4 / ServerApp.h
blob7cdd32318fc28547139f00662b353ec25dd4db21
1 #ifndef SERVERAPP_H
2 #define SERVERAPP_H
4 #include "FooC.h"
5 #include "tao/PortableServer/PortableServer.h"
6 #include "ace/SString.h"
8 class ServerApp
10 public:
11 ServerApp();
12 ~ServerApp();
14 int run(int argc, ACE_TCHAR* argv[]);
17 private:
18 int parse_args(int argc, ACE_TCHAR* argv[]);
19 void usage_statement();
21 Foo_ptr
22 create_foo(
23 PortableServer::POA_ptr poa,
24 const char* servant_name);
26 Callback_ptr
27 create_callback(
28 PortableServer::POA_ptr poa,
29 const char* servant_name);
32 ACE_TString exe_name_;
34 CORBA::ORB_var orb_;
36 int synch_with_server_;
39 #endif