26 #ifndef NFD_DAEMON_FACE_UNICAST_ETHERNET_TRANSPORT_HPP
27 #define NFD_DAEMON_FACE_UNICAST_ETHERNET_TRANSPORT_HPP
44 const ethernet::Address& remoteEndpoint,
45 ndn::nfd::FacePersistency persistency,
46 time::nanoseconds idleTimeout);
57 scheduleClosureWhenIdle();
60 const time::nanoseconds m_idleTimeout;
61 scheduler::ScopedEventId m_closeIfIdleEvent;
Base class for Ethernet-based Transports.
A unicast Transport that uses raw Ethernet II frames.
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
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.
Copyright (c) 2014-2015, Regents of the University of California, Arizona Board of Regents,...