26 #ifndef NFD_DAEMON_FACE_UNICAST_UDP_TRANSPORT_HPP
27 #define NFD_DAEMON_FACE_UNICAST_UDP_TRANSPORT_HPP
31 #include <boost/asio/ip/udp.hpp>
44 ndn::nfd::FacePersistency persistency,
45 time::nanoseconds idleTimeout);
56 scheduleClosureWhenIdle();
59 const time::nanoseconds m_idleTimeout;
60 scheduler::ScopedEventId m_closeIfIdleEvent;
Implements Transport for datagram-based protocols.
A Transport that communicates on a unicast UDP socket.
void afterChangePersistency(ndn::nfd::FacePersistency oldPersistency) final
Invoked after the persistency has been changed.
bool canChangePersistencyToImpl(ndn::nfd::FacePersistency newPersistency) const final
Invoked by canChangePersistencyTo to perform the check.
UnicastUdpTransport(protocol::socket &&socket, ndn::nfd::FacePersistency persistency, time::nanoseconds idleTimeout)
#define NFD_LOG_MEMBER_DECL_SPECIALIZED(cls)