summaryrefslogtreecommitdiff
path: root/TAO/orbsvcs/tests/ImplRepo/scale/server_i.h
blob: 1fbf4d27f2badc465b4e175ce17a6187b700bf5c (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
// -*- 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 (void);
  ~Server_i (void);

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

  int run (void);

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

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

  ACE_CString server_name_;
  int count_;
};

#endif /* SERVER_I_H */