blob: 05649be424404ad66feaf5633861015fc2436b53 (
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
|
/**
* @file Echo_Caller.cpp
*
* @author Carlos O'Ryan <coryan@atdesk.com>
*/
#include "Echo_Caller.h"
#include "tao/ORB_Core.h"
#include "Server_Thread_Pool.h"
Echo_Caller::Echo_Caller(Thread_Pool *pool)
: pool_(pool)
{
}
void
Echo_Caller::start_task(Test::Echo_ptr client)
{
pool_->put(client);
}
void
Echo_Caller::shutdown()
{
ACE_DEBUG ((LM_DEBUG, "(%P|%t) Server received shutdown message\n"));
pool_->shutdown();
}
|