2 * @file virtualservice_udp.cpp
3 * @brief VirtualService class implementations for UDP
5 * L7VSD: Linux Virtual Server for Layer7 Load Balancing
6 * Copyright (C) 2009 NTT COMWARE Corporation.
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.
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.
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
23 **********************************************************************/
25 #include <boost/date_time/posix_time/posix_time.hpp>
27 #include "virtualservice.h"
29 // implementation for virtualservice_udp
31 * virtualservice_udp class constructor.
33 l7vs::virtualservice_udp::virtualservice_udp(const l7vs::l7vsd &invsd,
34 const l7vs::replication &inrep,
35 const l7vs::virtualservice_element &inelement) :
36 l7vs::virtualservice_base(invsd, inrep, inelement) {}
37 l7vs::virtualservice_udp::~virtualservice_udp() {}
39 void l7vs::virtualservice_udp::handle_replication_interrupt(const boost::system::error_code &in)
42 void l7vs::virtualservice_udp::read_replicationdata()
46 void l7vs::virtualservice_udp::initialize(l7vs::error_code &err)
50 void l7vs::virtualservice_udp::finalize(l7vs::error_code &err)
55 bool l7vs::virtualservice_udp::operator==(const l7vs::virtualservice_base &in)
59 bool l7vs::virtualservice_udp::operator!=(const l7vs::virtualservice_base &in)
64 void l7vs::virtualservice_udp::set_virtualservice(const l7vs::virtualservice_element &in, l7vs::error_code &err)
68 void l7vs::virtualservice_udp::edit_virtualservice(const l7vs::virtualservice_element &in, l7vs::error_code &err)
73 void l7vs::virtualservice_udp::add_realserver(const l7vs::virtualservice_element &in, l7vs::error_code &err)
77 void l7vs::virtualservice_udp::edit_realserver(const l7vs::virtualservice_element &in, l7vs::error_code &err)
81 void l7vs::virtualservice_udp::del_realserver(const l7vs::virtualservice_element &in, l7vs::error_code &err)
86 void l7vs::virtualservice_udp::run() {}
87 void l7vs::virtualservice_udp::stop() {}
89 void l7vs::virtualservice_udp::release_session(const tcp_session *session_ptr) {}