OSDN Git Service

ソースツリー再構成中(ほぼOK?)
[ultramonkey-l7/ultramonkey-l7-v3.git] / l7vsd / src / udp_request_thread_control.cpp
1 /*!
2  *      @file   udp_request_thread_control.cpp
3  *      @brief  request used 1 threads. thread pooling unit is 1 thread control.
4  *
5  * L7VSD: Linux Virtual Server for Layer7 Load Balancing
6  * Copyright (C) 2009  NTT COMWARE Corporation.
7  *
8  * This program is free software; you can redistribute it and/or
9  * modify it under the terms of the GNU Lesser General Public
10  * License as published by the Free Software Foundation; either
11  * version 2.1 of the License, or (at your option) any later version.
12  *
13  * This program is distributed in the hope that it will be useful,
14  * but WITHOUT ANY WARRANTY; without even the implied warranty of
15  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
16  * Lesser General Public License for more details.
17  *
18  * You should have received a copy of the GNU Lesser General Public
19  * License along with this library; if not, write to the Free Software
20  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
21  * 02110-1301 USA
22  *
23  **********************************************************************/
24
25 #include "udp_request_thread_control.h"
26
27 namespace l7vs{
28
29         udp_request_thread_control::udp_request_thread_control(request_ptr request) : 
30                 my_request(request){
31         }
32
33         udp_request_thread_control::~udp_request_thread_control(void){
34         }
35
36         void udp_request_thread_control::start(void){
37         }
38
39         void udp_request_thread_control::stop(void){
40         }
41
42         void udp_request_thread_control::join(void){
43         }
44
45         boost::thread::id udp_request_thread_control::get_thread_id(){
46                 return request_thread->get_id();
47         }
48
49         boost::shared_ptr< l7vs::udp_request > udp_request_thread_control::get_request(){
50                 return my_request;
51         }
52
53         void udp_request_thread_control::run(void){
54         }
55
56 }// namespace l7vs