Kea  1.5.0
dhcp6to4_ipc.h
Go to the documentation of this file.
1 // Copyright (C) 2015-2016 Internet Systems Consortium, Inc. ("ISC")
2 //
3 // This Source Code Form is subject to the terms of the Mozilla Public
4 // License, v. 2.0. If a copy of the MPL was not distributed with this
5 // file, You can obtain one at http://mozilla.org/MPL/2.0/.
6 
7 #ifndef DHCP6TO4_IPC_H
8 #define DHCP6TO4_IPC_H
9 
14 #include <dhcpsrv/dhcp4o6_ipc.h>
15 #include <boost/shared_ptr.hpp>
16 
17 namespace isc {
18 namespace dhcp {
19 
21 class Dhcp6to4Ipc : public Dhcp4o6IpcBase {
22 protected:
26  Dhcp6to4Ipc();
27 
29  virtual ~Dhcp6to4Ipc() { }
30 
31 public:
37  static Dhcp6to4Ipc& instance();
38 
42  virtual void open();
43 
47  static void handler();
48 };
49 
50 } // namespace isc
51 } // namespace dhcp
52 
53 #endif
isc::dhcp::Dhcp6to4Ipc::instance
static Dhcp6to4Ipc & instance()
Returns pointer to the sole instance of Dhcp6to4Ipc.
Definition: dhcp6to4_ipc.cc:32
isc::dhcp::Dhcp6to4Ipc::~Dhcp6to4Ipc
virtual ~Dhcp6to4Ipc()
Destructor.
Definition: dhcp6to4_ipc.h:29
isc::dhcp::Dhcp6to4Ipc::open
virtual void open()
Open communication socket.
Definition: dhcp6to4_ipc.cc:37
dhcp4o6_ipc.h
isc::dhcp::Dhcp6to4Ipc::handler
static void handler()
On receive handler.
Definition: dhcp6to4_ipc.cc:55
isc::dhcp::Dhcp4o6IpcBase
This class implements the communication between the DHCPv4 and DHCPv6 servers to allow for transmissi...
Definition: dhcp4o6_ipc.h:61
isc
Defines the logger used by the top-level component of kea-dhcp-ddns.
Definition: agent_parser.cc:144
isc::dhcp::Dhcp6to4Ipc
Handles DHCPv4-over-DHCPv6 IPC on the DHCPv6 server side.
Definition: dhcp6to4_ipc.h:21
isc::dhcp::Dhcp6to4Ipc::Dhcp6to4Ipc
Dhcp6to4Ipc()
Constructor.
Definition: dhcp6to4_ipc.cc:30