The DummySocket class is a concrete derived class of IOSocket that is not associated with any real so...
DummySocket(const int protocol)
Constructor from the protocol number.
virtual int getNative() const
A dummy derived method of IOSocket::getNative().
virtual int getProtocol() const
Return the transport protocol of the socket.
The IOSocket class is an abstract base class to represent various types of network sockets.
static IOSocket & getDummyTCPSocket()
Return a non-usable "dummy" TCP socket for testing.
static IOSocket & getDummyUDPSocket()
Return a non-usable "dummy" UDP socket for testing.
A wrapper interface for the ASIO library.
Defines the logger used by the top-level component of kea-lfc.