26 #ifndef NFD_DAEMON_FACE_INTERNAL_TRANSPORT_HPP 27 #define NFD_DAEMON_FACE_INTERNAL_TRANSPORT_HPP 30 #include <ndn-cxx/transport/transport.hpp> 48 signal::Signal<InternalTransportBase, Block>
afterSend;
51 DECLARE_SIGNAL_EMIT(afterSend)
60 const FaceUri& remoteUri = FaceUri(
"internal://"),
61 ndn::nfd::FaceScope scope = ndn::nfd::FACE_SCOPE_LOCAL,
62 ndn::nfd::LinkType linkType = ndn::nfd::LINK_TYPE_POINT_TO_POINT);
73 doSend(
Packet&& packet)
override;
114 send(
const Block& wire)
override;
117 send(
const Block& header,
const Block& payload)
override;
122 signal::ScopedConnection m_fwToClientTransmitConn;
123 signal::ScopedConnection m_clientToFwTransmitConn;
124 signal::ScopedConnection m_fwTransportStateConn;
130 #endif // NFD_DAEMON_FACE_INTERNAL_TRANSPORT_HPP virtual ~InternalTransportBase()=default
implements a forwarder-side transport that can be paired with another
#define NFD_LOG_INCLASS_DECLARE()
virtual void receiveFromLink(const Block &packet)=0
causes the transport to receive a link-layer packet
stores a packet along with the remote endpoint
Copyright (c) 2014-2015, Regents of the University of California, Arizona Board of Regents...
signal::Signal< InternalTransportBase, Block > afterSend
abstracts a transport that can be paired with another
implements a client-side transport that can be paired with another