NS-3 based Named Data Networking (NDN) simulator
ndnSIM 2.3: NDN, CCN, CCNx, content centric networks
API Documentation
ns3::ndn::AppLinkService Class Reference

Implementation of LinkService for ndnSIM application. More...

#include <ndn-app-link-service.hpp>

Inheritance diagram for ns3::ndn::AppLinkService:
Collaboration diagram for ns3::ndn::AppLinkService:

Public Member Functions

 AppLinkService (Ptr< App > app)
 Default constructor. More...
 
virtual ~AppLinkService ()
 
void onReceiveInterest (const Interest &interest)
 
void onReceiveData (const Data &data)
 
void onReceiveNack (const lp::Nack &nack)
 
- 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 FacegetFace () const
 
const TransportgetTransport () const
 
TransportgetTransport ()
 
virtual const CountersgetCounters () const
 
void sendInterest (const Interest &interest)
 send Interest More...
 
void sendData (const Data &data)
 send Data More...
 
void sendNack (const ndn::lp::Nack &nack)
 send Nack More...
 
void receivePacket (Transport::Packet &&packet)
 performs LinkService specific operations to receive a lower-layer packet More...
 

Additional Inherited Members

- Public Types inherited from nfd::face::LinkService
typedef LinkServiceCounters Counters
 counters provided by LinkService More...
 
- Public Attributes inherited from nfd::face::LinkService
signal::Signal< LinkService, InterestafterReceiveInterest
 signals on Interest received More...
 
signal::Signal< LinkService, DataafterReceiveData
 signals on Data received More...
 
signal::Signal< LinkService, lp::NackafterReceiveNack
 signals on Nack received More...
 
signal::Signal< LinkService, InterestafterSendInterest
 signals on Interest sent More...
 
signal::Signal< LinkService, DataafterSendData
 signals on Data sent More...
 
signal::Signal< LinkService, lp::NackafterSendNack
 signals on Nack sent More...
 
- Protected Member Functions inherited from nfd::face::LinkService
void receiveInterest (const Interest &interest)
 delivers received Interest to forwarding More...
 
void receiveData (const Data &data)
 delivers received Data to forwarding More...
 
void receiveNack (const lp::Nack &nack)
 delivers received Nack to forwarding More...
 
void sendPacket (Transport::Packet &&packet)
 sends a lower-layer packet via Transport More...
 
- Protected Attributes inherited from nfd::face::LinkServiceCounters
PacketCounter nInInterests
 count of incoming Interests More...
 
PacketCounter nOutInterests
 count of outgoing Interests More...
 
PacketCounter nInData
 count of incoming Data More...
 
PacketCounter nOutData
 count of outgoing Data More...
 
PacketCounter nInNacks
 count of incoming Nacks More...
 
PacketCounter nOutNacks
 count of outgoing Nacks More...
 

Detailed Description

Implementation of LinkService for ndnSIM application.

See also
NetDeviceLinkService

Definition at line 41 of file ndn-app-link-service.hpp.

Constructor & Destructor Documentation

ns3::ndn::AppLinkService::AppLinkService ( Ptr< App app)

Default constructor.

Definition at line 35 of file ndn-app-link-service.cpp.

ns3::ndn::AppLinkService::~AppLinkService ( )
virtual

Member Function Documentation

void ns3::ndn::AppLinkService::onReceiveInterest ( const Interest &  interest)
void ns3::ndn::AppLinkService::onReceiveData ( const Data &  data)
void ns3::ndn::AppLinkService::onReceiveNack ( const lp::Nack nack)

Definition at line 91 of file ndn-app-link-service.cpp.

References nfd::face::LinkService::receiveNack().


The documentation for this class was generated from the following files: