blob: fdde9dc70e65831f7c34b88c8e3f6f872bc7060f (
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
|
/**
* @file Echo_Caller.cpp
*
* $Id$
*
* @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(void)
{
ACE_DEBUG ((LM_DEBUG, "(%P|%t) Server received shutdown message\n"));
pool_->shutdown();
}
|