A LinkService that drops every packet.
More...
#include <daemon/face/null-link-service.hpp>
A LinkService that drops every packet.
Definition at line 36 of file null-link-service.hpp.
◆ Counters
◆ getCounters()
◆ getEffectiveMtu()
ssize_t nfd::face::LinkService::getEffectiveMtu |
( |
| ) |
const |
|
inlinevirtualinherited |
◆ getFace()
const Face * nfd::face::LinkService::getFace |
( |
| ) |
const |
|
inlineinherited |
◆ getTransport() [1/2]
const Transport * nfd::face::LinkService::getTransport |
( |
| ) |
const |
|
inlineinherited |
◆ getTransport() [2/2]
Transport * nfd::face::LinkService::getTransport |
( |
| ) |
|
|
inlineinherited |
◆ notifyDroppedInterest()
void nfd::face::LinkService::notifyDroppedInterest |
( |
const Interest & |
packet | ) |
|
|
protectedinherited |
◆ receiveData()
void nfd::face::LinkService::receiveData |
( |
const Data & |
data, |
|
|
const EndpointId & |
endpoint |
|
) |
| |
|
protectedinherited |
◆ receiveInterest()
void nfd::face::LinkService::receiveInterest |
( |
const Interest & |
interest, |
|
|
const EndpointId & |
endpoint |
|
) |
| |
|
protectedinherited |
◆ receiveNack()
void nfd::face::LinkService::receiveNack |
( |
const lp::Nack & |
nack, |
|
|
const EndpointId & |
endpoint |
|
) |
| |
|
protectedinherited |
◆ receivePacket()
void nfd::face::LinkService::receivePacket |
( |
const Block & |
packet, |
|
|
const EndpointId & |
endpoint |
|
) |
| |
|
inlineinherited |
◆ sendData()
void nfd::face::LinkService::sendData |
( |
const Data & |
data | ) |
|
|
inherited |
Send Data.
- Precondition
- setTransport has been called
Definition at line 66 of file link-service.cpp.
◆ sendInterest()
void nfd::face::LinkService::sendInterest |
( |
const Interest & |
interest | ) |
|
|
inherited |
Send Interest.
- Precondition
- setTransport has been called
Definition at line 55 of file link-service.cpp.
◆ sendNack()
void nfd::face::LinkService::sendNack |
( |
const ndn::lp::Nack & |
nack | ) |
|
|
inherited |
Send Nack.
- Precondition
- setTransport has been called
Definition at line 77 of file link-service.cpp.
◆ sendPacket()
void nfd::face::LinkService::sendPacket |
( |
const Block & |
packet | ) |
|
|
inlineprotectedinherited |
◆ setFaceAndTransport()
void nfd::face::LinkService::setFaceAndTransport |
( |
Face & |
face, |
|
|
Transport & |
transport |
|
) |
| |
|
inherited |
◆ afterReceiveData
◆ afterReceiveInterest
◆ afterReceiveNack
◆ nInData
◆ nInInterests
◆ nInNacks
◆ nInterestsExceededRetx
PacketCounter nfd::face::LinkServiceCounters::nInterestsExceededRetx |
|
inherited |
count of Interests dropped by reliability system for exceeding allowed number of retx
Definition at line 53 of file link-service.hpp.
◆ nOutData
◆ nOutInterests
◆ nOutNacks
◆ onDroppedInterest
signal::Signal<LinkService, Interest> nfd::face::LinkService::onDroppedInterest |
|
inherited |
signals on Interest dropped by reliability system for exceeding allowed number of retx
Definition at line 148 of file link-service.hpp.