Kea: dhcp_ddns_messages.cc Source File

| Kea 3.2.0-git

dhcp_ddns_messages.cc
Go to the documentation of this file.
1// File created from src/lib/dhcp_ddns/dhcp_ddns_messages.mes
2
3#include <cstddef>
4#include <log/message_types.h>
5#include <log/message_initializer.h>
6
7namespace isc {
8namespace dhcp_ddns {
9
10extern const isc::log::MessageID DHCP_DDNS_INVALID_NCR = "DHCP_DDNS_INVALID_NCR";
11extern const isc::log::MessageID DHCP_DDNS_NCR_FLUSH_IO_ERROR = "DHCP_DDNS_NCR_FLUSH_IO_ERROR";
12extern const isc::log::MessageID DHCP_DDNS_NCR_LISTEN_CLOSE_ERROR = "DHCP_DDNS_NCR_LISTEN_CLOSE_ERROR";
13extern const isc::log::MessageID DHCP_DDNS_NCR_RECV_NEXT_ERROR = "DHCP_DDNS_NCR_RECV_NEXT_ERROR";
14extern const isc::log::MessageID DHCP_DDNS_NCR_SEND_CLOSE_ERROR = "DHCP_DDNS_NCR_SEND_CLOSE_ERROR";
15extern const isc::log::MessageID DHCP_DDNS_NCR_SEND_NEXT_ERROR = "DHCP_DDNS_NCR_SEND_NEXT_ERROR";
16extern const isc::log::MessageID DHCP_DDNS_NCR_UDP_CLEAR_READY_ERROR = "DHCP_DDNS_NCR_UDP_CLEAR_READY_ERROR";
17extern const isc::log::MessageID DHCP_DDNS_NCR_UDP_RECV_CANCELED = "DHCP_DDNS_NCR_UDP_RECV_CANCELED";
18extern const isc::log::MessageID DHCP_DDNS_NCR_UDP_RECV_ERROR = "DHCP_DDNS_NCR_UDP_RECV_ERROR";
19extern const isc::log::MessageID DHCP_DDNS_NCR_UDP_SEND_CANCELED = "DHCP_DDNS_NCR_UDP_SEND_CANCELED";
20extern const isc::log::MessageID DHCP_DDNS_NCR_UDP_SEND_ERROR = "DHCP_DDNS_NCR_UDP_SEND_ERROR";
21extern const isc::log::MessageID DHCP_DDNS_UDP_SENDER_WATCH_SOCKET_CLOSE_ERROR = "DHCP_DDNS_UDP_SENDER_WATCH_SOCKET_CLOSE_ERROR";
22extern const isc::log::MessageID DHCP_DDNS_UNCAUGHT_NCR_RECV_HANDLER_ERROR = "DHCP_DDNS_UNCAUGHT_NCR_RECV_HANDLER_ERROR";
23extern const isc::log::MessageID DHCP_DDNS_UNCAUGHT_NCR_SEND_HANDLER_ERROR = "DHCP_DDNS_UNCAUGHT_NCR_SEND_HANDLER_ERROR";
24
25} // namespace dhcp_ddns
26} // namespace isc
27
28namespace {
29
30const char* values[] = {
31 "DHCP_DDNS_INVALID_NCR", "application received an invalid DNS update request: %1",
32 "DHCP_DDNS_NCR_FLUSH_IO_ERROR", "DHCP-DDNS Last send before stopping did not complete successfully: %1",
33 "DHCP_DDNS_NCR_LISTEN_CLOSE_ERROR", "application encountered an error while closing the listener used to receive NameChangeRequests : %1",
34 "DHCP_DDNS_NCR_RECV_NEXT_ERROR", "application could not initiate the next read following a request receive.",
35 "DHCP_DDNS_NCR_SEND_CLOSE_ERROR", "DHCP-DDNS client encountered an error while closing the sender connection used to send NameChangeRequests: %1",
36 "DHCP_DDNS_NCR_SEND_NEXT_ERROR", "DHCP-DDNS client could not initiate the next request send following send completion: %1",
37 "DHCP_DDNS_NCR_UDP_CLEAR_READY_ERROR", "NCR UDP watch socket failed to clear: %1",
38 "DHCP_DDNS_NCR_UDP_RECV_CANCELED", "UDP socket receive was canceled while listening for DNS Update requests",
39 "DHCP_DDNS_NCR_UDP_RECV_ERROR", "UDP socket receive error while listening for DNS Update requests: %1",
40 "DHCP_DDNS_NCR_UDP_SEND_CANCELED", "UDP socket send was canceled while sending a DNS Update request to DHCP_DDNS: %1",
41 "DHCP_DDNS_NCR_UDP_SEND_ERROR", "UDP socket send error while sending a DNS Update request: %1",
42 "DHCP_DDNS_UDP_SENDER_WATCH_SOCKET_CLOSE_ERROR", "watch socket failed to close: %1",
43 "DHCP_DDNS_UNCAUGHT_NCR_RECV_HANDLER_ERROR", "unexpected exception thrown from the application receive completion handler: %1",
44 "DHCP_DDNS_UNCAUGHT_NCR_SEND_HANDLER_ERROR", "unexpected exception thrown from the DHCP-DDNS client send completion handler: %1",
45 NULL
46};
47
48const isc::log::MessageInitializer initializer(values);
49
50} // Anonymous namespace
51
isc::log::MessageInitializer
Initialize Message Dictionary.
Definition message_initializer.h:72
message_initializer.h
message_types.h
isc::dhcp_ddns
Definition dhcp_ddns_log.cc:14
isc::dhcp_ddns::DHCP_DDNS_NCR_UDP_RECV_ERROR
const isc::log::MessageID DHCP_DDNS_NCR_UDP_RECV_ERROR
Definition dhcp_ddns_messages.h:19
isc::dhcp_ddns::DHCP_DDNS_NCR_SEND_CLOSE_ERROR
const isc::log::MessageID DHCP_DDNS_NCR_SEND_CLOSE_ERROR
Definition dhcp_ddns_messages.h:15
isc::dhcp_ddns::DHCP_DDNS_NCR_SEND_NEXT_ERROR
const isc::log::MessageID DHCP_DDNS_NCR_SEND_NEXT_ERROR
Definition dhcp_ddns_messages.h:16
isc::dhcp_ddns::DHCP_DDNS_NCR_FLUSH_IO_ERROR
const isc::log::MessageID DHCP_DDNS_NCR_FLUSH_IO_ERROR
Definition dhcp_ddns_messages.h:12
isc::dhcp_ddns::DHCP_DDNS_NCR_UDP_SEND_CANCELED
const isc::log::MessageID DHCP_DDNS_NCR_UDP_SEND_CANCELED
Definition dhcp_ddns_messages.h:20
isc::dhcp_ddns::DHCP_DDNS_NCR_UDP_SEND_ERROR
const isc::log::MessageID DHCP_DDNS_NCR_UDP_SEND_ERROR
Definition dhcp_ddns_messages.h:21
isc::dhcp_ddns::DHCP_DDNS_NCR_UDP_CLEAR_READY_ERROR
const isc::log::MessageID DHCP_DDNS_NCR_UDP_CLEAR_READY_ERROR
Definition dhcp_ddns_messages.h:17
isc::dhcp_ddns::DHCP_DDNS_UNCAUGHT_NCR_SEND_HANDLER_ERROR
const isc::log::MessageID DHCP_DDNS_UNCAUGHT_NCR_SEND_HANDLER_ERROR
Definition dhcp_ddns_messages.h:24
isc::dhcp_ddns::DHCP_DDNS_NCR_UDP_RECV_CANCELED
const isc::log::MessageID DHCP_DDNS_NCR_UDP_RECV_CANCELED
Definition dhcp_ddns_messages.h:18
isc::dhcp_ddns::DHCP_DDNS_UNCAUGHT_NCR_RECV_HANDLER_ERROR
const isc::log::MessageID DHCP_DDNS_UNCAUGHT_NCR_RECV_HANDLER_ERROR
Definition dhcp_ddns_messages.h:23
isc::dhcp_ddns::DHCP_DDNS_INVALID_NCR
const isc::log::MessageID DHCP_DDNS_INVALID_NCR
Definition dhcp_ddns_messages.h:11
isc::dhcp_ddns::DHCP_DDNS_NCR_LISTEN_CLOSE_ERROR
const isc::log::MessageID DHCP_DDNS_NCR_LISTEN_CLOSE_ERROR
Definition dhcp_ddns_messages.h:13
isc::dhcp_ddns::DHCP_DDNS_UDP_SENDER_WATCH_SOCKET_CLOSE_ERROR
const isc::log::MessageID DHCP_DDNS_UDP_SENDER_WATCH_SOCKET_CLOSE_ERROR
Definition dhcp_ddns_messages.h:22
isc::dhcp_ddns::DHCP_DDNS_NCR_RECV_NEXT_ERROR
const isc::log::MessageID DHCP_DDNS_NCR_RECV_NEXT_ERROR
Definition dhcp_ddns_messages.h:14
isc::log::MessageID
const char * MessageID
Definition message_types.h:15
isc
Defines the logger used by the top-level component of kea-lfc.
Definition check_exists_add.cc:18