summaryrefslogtreecommitdiff
path: root/TAO/orbsvcs/tests/ImplRepo/MT_stress/server_i.h
blob: 52f0b223f14da6e3bed3450bd9b1e61e2e17b6cb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
// -*- C++ -*-

#if !defined (SERVER_I_H)
#define SERVER_I_H

#include "testS.h"

#include "ace/Auto_Ptr.h"
#include "ace/SString.h"

class Server_i
{
public:
  Server_i ();
  ~Server_i ();

  int init (int argc, ACE_TCHAR **argv);

  int run ();

private:
  int parse_args (int argc, ACE_TCHAR* argv[]);

  CORBA::ORB_var orb_;
  PortableServer::POA_var root_poa_;

  ACE_CString server_name_;
  ACE_CString second_name_;
};

#endif /* SERVER_I_H */