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;
67 #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
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.