summaryrefslogtreecommitdiff
path: root/TAO/tests/Bug_3384_Regression/Server_i.h
blob: b4ad651c6b52dd5ce173349de376d5a5ab132e2a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#include "TestS.h"

class Server : public POA_Test::Server
{
public:
  Server (CORBA::ORB_ptr orb)
    : POA_Test::Server(),
      orb_ (CORBA::ORB::_duplicate (orb)) {}
  virtual ~Server () = default;

  virtual void setup (::Test::Client_ptr cli);

  virtual void request (::CORBA::Long sel);

  virtual void shutdown ();

private:
  CORBA::ORB_var orb_;
  ::Test::Client_var cli_;
};