summaryrefslogtreecommitdiff
path: root/TAO/tests/Bug_1020_Regression/Server_i.cpp
blob: 5cc24c665484c696d1b80f8f5fb96ca789ff5caf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#include "Server_i.h"
#include "Server_Task.h"

ACE_RCSID (Bug_1230_Regression,
           Server, "$Id$")

Server::Server(CORBA::ORB_ptr orb)
  : orb_(CORBA::ORB::_duplicate(orb))
{
}

void
Server::start_task(Test::Echo_ptr client)
  ACE_THROW_SPEC((CORBA::SystemException))
{
  Server_Task * task =
    new Server_Task(client);
  task->activate(THR_NEW_LWP|THR_DETACHED);
}