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);
125 operator<<(std::ostream& os, const FaceLogHelper<LinkService>& flh)
127 const Face* face = flh.obj.getFace();
128 if (face ==
nullptr) {
129 os <<
"[id=0,local=unknown,remote=unknown] ";
FaceUri getRemoteUri() const
PacketCounter nOutInterests
count of outgoing Interests
#define NFD_LOG_FACE_TRACE(msg)
Log a message at TRACE level.
signal::Signal< LinkService, Interest > onDroppedInterest
signals on Interest dropped by reliability system for exceeding allowed number of retx ...
The lower half of a Face.
uint64_t EndpointId
Identifies a remote endpoint on the link.
void setFaceAndTransport(Face &face, Transport &transport)
set Face and Transport for LinkService
void receiveData(const Data &data, const EndpointId &endpoint)
delivers received Data to forwarding
PacketCounter nInInterests
count of incoming Interests
void receiveNack(const lp::Nack &nack, const EndpointId &endpoint)
delivers received Nack to forwarding
Copyright (c) 2014-2015, Regents of the University of California, Arizona Board of Regents...
void receiveInterest(const Interest &interest, const EndpointId &endpoint)
delivers received Interest to forwarding
PacketCounter nOutData
count of outgoing Data packets
FaceUri getLocalUri() const
PacketCounter nOutNacks
count of outgoing Nacks
signal::Signal< LinkService, Interest, EndpointId > afterReceiveInterest
signals on Interest received
signal::Signal< LinkService, lp::Nack, EndpointId > afterReceiveNack
signals on Nack received
PacketCounter nInterestsExceededRetx
count of Interests dropped by reliability system for exceeding allowed number of retx ...
generalization of a network interface
void sendData(const Data &data)
Send Data.
PacketCounter nInData
count of incoming Data packets
void sendNack(const ndn::lp::Nack &nack)
Send Nack.
#define NFD_LOG_INIT(name)
PacketCounter nInNacks
count of incoming Nacks
void notifyDroppedInterest(const Interest &packet)
signal::Signal< LinkService, Data, EndpointId > afterReceiveData
signals on Data received
void sendInterest(const Interest &interest)
Send Interest.