kea-custom-hooks
FeM custom hooks libraries for Kea DHCP
|
An adapter to the RPC interface of ARPwatch. More...
#include <ArpwatchRPC.hpp>
Public Member Functions | |
ArpwatchRPC (std::string_view rpc_endpoint) | |
ArpwatchRPC (const ArpwatchRPC &)=delete | |
virtual | ~ArpwatchRPC () |
virtual void | push_seen_entry (const isc::dhcp::SubnetID &subnet_id, const isc::dhcp::HWAddr &mac, const isc::asiolink::IOAddress &ip4) |
RPC method callers. More... | |
Static Public Attributes | |
static constexpr const char * | RPC_METHOD_PUSH_SEEN_ENTRY {"pushSeenEntry"} |
An adapter to the RPC interface of ARPwatch.
This class abstracts away the RPC calls which can be made against ARPwatch. It is reduced only to the calls which are actually needed by this project.
Definition at line 18 of file ArpwatchRPC.hpp.
ArpwatchRPC::ArpwatchRPC | ( | std::string_view | rpc_endpoint | ) |
Definition at line 18 of file ArpwatchRPC.cpp.
|
delete |
|
virtual |
Definition at line 23 of file ArpwatchRPC.cpp.
|
virtual |
RPC method callers.
The names of the method callers correspond to the respective RPC method name, but (if necessary) adjusted to match our function naming convention. Furthermore, parameter type conversion usually happens in the method caller so that it doesn't have to be done in outside code.
Definition at line 26 of file ArpwatchRPC.cpp.
|
staticconstexpr |
Definition at line 21 of file ArpwatchRPC.hpp.