26 #ifndef NFD_DAEMON_FACE_INTERNAL_TRANSPORT_HPP
27 #define NFD_DAEMON_FACE_INTERNAL_TRANSPORT_HPP
31 #include <ndn-cxx/transport/transport.hpp>
56 const FaceUri& remoteUri = FaceUri(
"internal://"),
57 ndn::nfd::FaceScope scope = ndn::nfd::FACE_SCOPE_LOCAL,
58 ndn::nfd::LinkType linkType = ndn::nfd::LINK_TYPE_POINT_TO_POINT);
75 doSend(const Block& packet) final;
106 send(
const Block& block)
final;
127 signal::ScopedConnection m_fwTransportStateConn;
Implements a client-side transport that can be paired with an InternalForwarderTransport.
Implements a forwarder-side transport that can be paired with another transport.
void setPeer(InternalTransportBase *peer) noexcept
InternalForwarderTransport(const FaceUri &localUri=FaceUri("internal://"), const FaceUri &remoteUri=FaceUri("internal://"), ndn::nfd::FaceScope scope=ndn::nfd::FACE_SCOPE_LOCAL, ndn::nfd::LinkType linkType=ndn::nfd::LINK_TYPE_POINT_TO_POINT)
void doClose() final
Performs Transport specific operations to close the transport.
void receivePacket(const Block &packet) final
Abstracts a transport that can be paired with another.
~InternalTransportBase()=default
virtual void receivePacket(const Block &packet)=0
The lower half of a Face.
void send(const Block &packet)
Send a link-layer packet.
#define NFD_LOG_MEMBER_DECL()