26 #ifndef NFD_DAEMON_FACE_UNICAST_UDP_TRANSPORT_HPP 27 #define NFD_DAEMON_FACE_UNICAST_UDP_TRANSPORT_HPP 44 ndn::nfd::FacePersistency persistency,
45 time::nanoseconds idleTimeout,
46 optional<ssize_t> overrideMtu = {});
57 scheduleClosureWhenIdle();
60 const time::nanoseconds m_idleTimeout;
61 scheduler::ScopedEventId m_closeIfIdleEvent;
67 #endif // NFD_DAEMON_FACE_UNICAST_UDP_TRANSPORT_HPP UnicastUdpTransport(protocol::socket &&socket, ndn::nfd::FacePersistency persistency, time::nanoseconds idleTimeout, optional< ssize_t > overrideMtu={})
#define NFD_LOG_MEMBER_DECL_SPECIALIZED(cls)
A Transport that communicates on a unicast UDP socket.
Copyright (c) 2014-2015, Regents of the University of California, Arizona Board of Regents...
void afterChangePersistency(ndn::nfd::FacePersistency oldPersistency) final
invoked after the persistency has been changed
Implements Transport for datagram-based protocols.
bool canChangePersistencyToImpl(ndn::nfd::FacePersistency newPersistency) const final
invoked by canChangePersistencyTo to perform the check