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);
68 BOOST_ASSERT(m_transport !=
nullptr);
79 BOOST_ASSERT(m_transport !=
nullptr);
118 operator<<(std::ostream& os, const FaceLogHelper<LinkService>& flh)
120 const Face* face = flh.obj.getFace();
121 if (face ==
nullptr) {
122 os <<
"[id=0,local=unknown,remote=unknown] ";
PacketCounter nOutInterests
count of outgoing Interests
#define NFD_LOG_FACE_TRACE(msg)
Log a message at TRACE level.
signal::Signal< LinkService, lp::Nack > afterReceiveNack
signals on Nack received
void receiveData(const Data &data)
delivers received Data to forwarding
signal::Signal< LinkService, Interest > afterReceiveInterest
signals on Interest received
FaceUri getRemoteUri() const
void setFaceAndTransport(Face &face, Transport &transport)
set Face and Transport for LinkService
PacketCounter nInInterests
count of incoming Interests
Copyright (c) 2014-2015, Regents of the University of California, Arizona Board of Regents...
PacketCounter nOutData
count of outgoing Data
PacketCounter nOutNacks
count of outgoing Nacks
void receiveNack(const lp::Nack &nack)
delivers received Nack to forwarding
generalization of a network interface
FaceUri getLocalUri() const
void sendData(const Data &data)
send Data
PacketCounter nInData
count of incoming Data
void sendNack(const ndn::lp::Nack &nack)
send Nack
#define NFD_LOG_INIT(name)
PacketCounter nInNacks
count of incoming Nacks
void receiveInterest(const Interest &interest)
delivers received Interest to forwarding
void sendInterest(const Interest &interest)
send Interest
signal::Signal< LinkService, Data > afterReceiveData
signals on Data received