36 , m_transport(nullptr)
47 BOOST_ASSERT(m_face ==
nullptr);
48 BOOST_ASSERT(m_transport ==
nullptr);
51 m_transport = &transport;
57 BOOST_ASSERT(m_transport !=
nullptr);
62 doSendInterest(interest);
70 BOOST_ASSERT(m_transport !=
nullptr);
83 BOOST_ASSERT(m_transport !=
nullptr);
134 if (face ==
nullptr) {
135 os <<
"[id=0,local=unknown,remote=unknown] ";
signal::Signal< LinkService, Data > afterReceiveData
signals on Data received
void sendInterest(const Interest &interest)
send Interest
PacketCounter nOutData
count of outgoing Data packets
void sendData(const Data &data)
send Data
#define NFD_LOG_FACE_TRACE(msg)
Log a message at TRACE level.
PacketCounter nInInterests
count of incoming Interests
generalization of a network interface
std::ostream & operator<<(std::ostream &os, const Face &face)
void notifyDroppedInterest(const Interest &packet)
const Face * getFace() const
PacketCounter nInNacks
count of incoming Nacks
Represents an Interest packet.
FaceUri getLocalUri() const
FaceUri getRemoteUri() const
PacketCounter nDroppedInterests
count of Interests dropped by reliability system for exceeding allowed number of retx
signal::Signal< LinkService, Interest > onDroppedInterest
signals on Interest dropped by reliability system for exceeding allowed number of retx
represents a Network Nack
Copyright (c) 2011-2015 Regents of the University of California.
signal::Signal< LinkService, lp::Nack > afterReceiveNack
signals on Nack received
void receiveNack(const lp::Nack &nack)
delivers received Nack to forwarding
PacketCounter nOutInterests
count of outgoing Interests
signal::Signal< LinkService, Interest > afterSendInterest
signals on Interest sent
PacketCounter nInData
count of incoming Data packets
PacketCounter nOutNacks
count of outgoing Nacks
void receiveData(const Data &data)
delivers received Data to forwarding
void sendNack(const ndn::lp::Nack &nack)
send Nack
void setFaceAndTransport(Face &face, Transport &transport)
set Face and Transport for LinkService
for internal use by FaceLogging macros
#define NFD_LOG_INIT(name)
Represents a Data packet.
signal::Signal< LinkService, lp::Nack > afterSendNack
signals on Nack sent
signal::Signal< LinkService, Data > afterSendData
signals on Data sent
signal::Signal< LinkService, Interest > afterReceiveInterest
signals on Interest received
void receiveInterest(const Interest &interest)
delivers received Interest to forwarding