26 #ifndef NFD_DAEMON_FACE_NULL_TRANSPORT_HPP 27 #define NFD_DAEMON_FACE_NULL_TRANSPORT_HPP 41 const FaceUri& remoteUri = FaceUri(
"null://"),
42 ndn::nfd::FaceScope scope = ndn::nfd::FACE_SCOPE_NON_LOCAL,
43 ndn::nfd::FacePersistency persistency = ndn::nfd::FACE_PERSISTENCY_PERMANENT);
62 #endif // NFD_DAEMON_FACE_NULL_TRANSPORT_HPP NullTransport(const FaceUri &localUri=FaceUri("null://"), const FaceUri &remoteUri=FaceUri("null://"), ndn::nfd::FaceScope scope=ndn::nfd::FACE_SCOPE_NON_LOCAL, ndn::nfd::FacePersistency persistency=ndn::nfd::FACE_PERSISTENCY_PERMANENT)
A Transport that drops every packet.
The lower half of a Face.
void doClose() final
performs Transport specific operations to close the transport
#define OVERRIDE_WITH_TESTS_ELSE_FINAL
Copyright (c) 2014-2015, Regents of the University of California, Arizona Board of Regents...
the transport is closed, and can be safely deallocated
void setState(TransportState newState)
set transport state
#define FINAL_UNLESS_WITH_TESTS