26 #ifndef NFD_DAEMON_FACE_INTERNAL_TRANSPORT_HPP 27 #define NFD_DAEMON_FACE_INTERNAL_TRANSPORT_HPP 31 #include <ndn-cxx/transport/transport.hpp> 55 const FaceUri& remoteUri = FaceUri(
"internal://"),
56 ndn::nfd::FaceScope scope = ndn::nfd::FACE_SCOPE_LOCAL,
57 ndn::nfd::LinkType linkType = ndn::nfd::LINK_TYPE_POINT_TO_POINT);
74 doSend(
const Block& packet)
final;
104 send(
const Block& wire)
final;
107 send(
const Block& header,
const Block& payload)
final;
128 signal::ScopedConnection m_fwTransportStateConn;
134 #endif // NFD_DAEMON_FACE_INTERNAL_TRANSPORT_HPP virtual ~InternalTransportBase()=default
Implements a forwarder-side transport that can be paired with another transport.
#define NFD_LOG_MEMBER_DECL()
The lower half of a Face.
virtual void receivePacket(const Block &packet)=0
Copyright (c) 2014-2015, Regents of the University of California, Arizona Board of Regents...
void setPeer(InternalTransportBase *peer)
Abstracts a transport that can be paired with another.
Implements a client-side transport that can be paired with an InternalForwarderTransport.