A LinkService that drops every packet. More...
#include <null-link-service.hpp>
Additional Inherited Members | |
Public Types inherited from nfd::face::LinkService | |
typedef LinkServiceCounters | Counters |
counters provided by LinkService More... | |
Public Member Functions inherited from nfd::face::LinkService | |
LinkService () | |
virtual | ~LinkService () |
void | setFaceAndTransport (Face &face, Transport &transport) |
set Face and Transport for LinkService More... | |
const Face * | getFace () const |
const Transport * | getTransport () const |
Transport * | getTransport () |
virtual const Counters & | getCounters () const |
void | sendInterest (const Interest &interest, const EndpointId &endpoint) |
Send Interest to endpoint . More... | |
void | sendData (const Data &data, const EndpointId &endpoint) |
Send Data to endpoint . More... | |
void | sendNack (const ndn::lp::Nack &nack, const EndpointId &endpoint) |
Send Nack to endpoint . More... | |
void | receivePacket (const Block &packet, const EndpointId &endpoint) |
performs LinkService specific operations to receive a lower-layer packet More... | |
Public Attributes inherited from nfd::face::LinkService | |
signal::Signal< LinkService, Interest, EndpointId > | afterReceiveInterest |
signals on Interest received More... | |
signal::Signal< LinkService, Data, EndpointId > | afterReceiveData |
signals on Data received More... | |
signal::Signal< LinkService, lp::Nack, EndpointId > | afterReceiveNack |
signals on Nack received More... | |
signal::Signal< LinkService, Interest > | onDroppedInterest |
signals on Interest dropped by reliability system for exceeding allowed number of retx More... | |
signal::Signal< LinkService, Interest > | afterSendInterest |
signals on Interest sent More... | |
signal::Signal< LinkService, Data > | afterSendData |
signals on Data sent More... | |
signal::Signal< LinkService, lp::Nack > | afterSendNack |
signals on Nack sent More... | |
Protected Member Functions inherited from nfd::face::LinkService | |
void | receiveInterest (const Interest &interest, const EndpointId &endpoint) |
delivers received Interest to forwarding More... | |
void | receiveData (const Data &data, const EndpointId &endpoint) |
delivers received Data to forwarding More... | |
void | receiveNack (const lp::Nack &nack, const EndpointId &endpoint) |
delivers received Nack to forwarding More... | |
void | sendPacket (const Block &packet, const EndpointId &endpoint) |
send a lower-layer packet via Transport to endpoint More... | |
void | notifyDroppedInterest (const Interest &packet) |
Protected Attributes inherited from nfd::face::LinkServiceCounters | |
PacketCounter | nInInterests |
count of incoming Interests More... | |
PacketCounter | nOutInterests |
count of outgoing Interests More... | |
PacketCounter | nDroppedInterests |
count of Interests dropped by reliability system for exceeding allowed number of retx More... | |
PacketCounter | nInData |
count of incoming Data packets More... | |
PacketCounter | nOutData |
count of outgoing Data packets More... | |
PacketCounter | nInNacks |
count of incoming Nacks More... | |
PacketCounter | nOutNacks |
count of outgoing Nacks More... | |
A LinkService that drops every packet.
Definition at line 36 of file null-link-service.hpp.