summaryrefslogtreecommitdiff
path: root/TAO/tests/Bug_1020_Regression/Server_i.cpp
blob: b8d26e2843a28521d18c9d6e4c80aa2ed8995bf8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#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)
{
  Server_Task * task =
    new Server_Task(client);
  task->activate(THR_NEW_LWP|THR_DETACHED);
}