26 #ifndef NFD_DAEMON_FACE_UNICAST_ETHERNET_TRANSPORT_HPP 27 #define NFD_DAEMON_FACE_UNICAST_ETHERNET_TRANSPORT_HPP 45 const ethernet::Address& remoteEndpoint,
46 ndn::nfd::FacePersistency persistency,
47 time::nanoseconds idleTimeout);
58 scheduleClosureWhenIdle();
61 const time::nanoseconds m_idleTimeout;
68 #endif // NFD_DAEMON_FACE_UNICAST_ETHERNET_TRANSPORT_HPP UnicastEthernetTransport(const ndn::net::NetworkInterface &localEndpoint, const ethernet::Address &remoteEndpoint, ndn::nfd::FacePersistency persistency, time::nanoseconds idleTimeout)
Creates an Ethernet-based transport for unicast communication.
bool canChangePersistencyToImpl(ndn::nfd::FacePersistency newPersistency) const final
invoked by canChangePersistencyTo to perform the check
cancels an event automatically upon destruction
Base class for Ethernet-based Transports.
void afterChangePersistency(ndn::nfd::FacePersistency oldPersistency) final
invoked after the persistency has been changed
Copyright (c) 2014-2015, Regents of the University of California, Arizona Board of Regents...
A unicast Transport that uses raw Ethernet II frames.