NS-3 based Named Data Networking (NDN) simulator
ndnSIM 2.5: NDN, CCN, CCNx, content centric networks
API Documentation
nfd::face::NFD_FINAL_UNLESS_WITH_TESTS Class Reference

generalization of a network interface More...

#include <face.hpp>

Inheritance diagram for nfd::face::NFD_FINAL_UNLESS_WITH_TESTS:
Collaboration diagram for nfd::face::NFD_FINAL_UNLESS_WITH_TESTS:

Classes

class  Options
 Options that control the behavior of GenericLinkService. More...
 

Public Types

using Counters = GenericLinkServiceCounters
 counters provided by GenericLinkService More...
 
- Public Types inherited from nfd::face::StreamTransport< boost::asio::ip::tcp >
using protocol = boost::asio::ip::tcp
 
- Public Types inherited from nfd::face::Transport
using Counters = TransportCounters
 Counters provided by a transport. More...
 
- Public Types inherited from nfd::face::LinkService
typedef LinkServiceCounters Counters
 counters provided by LinkService More...
 

Public Member Functions

 Face (unique_ptr< LinkService > service, unique_ptr< Transport > transport)
 
LinkServicegetLinkService () const
 
TransportgetTransport () const
 
void close ()
 Request that the face be closed. More...
 
void sendInterest (const Interest &interest)
 send Interest More...
 
void sendData (const Data &data)
 send Data More...
 
void sendNack (const lp::Nack &nack)
 send Nack More...
 
FaceId getId () const
 
void setId (FaceId id)
 sets face ID More...
 
void setMetric (uint64_t metric)
 
uint64_t getMetric () const
 
FaceUri getLocalUri () const
 
FaceUri getRemoteUri () const
 
ndn::nfd::FaceScope getScope () const
 
ndn::nfd::FacePersistency getPersistency () const
 
void setPersistency (ndn::nfd::FacePersistency persistency)
 changes face persistency setting More...
 
ndn::nfd::LinkType getLinkType () const
 
ssize_t getMtu () const
 Returns face effective MTU. More...
 
FaceState getState () const
 
time::steady_clock::TimePoint getExpirationTime () const
 
const FaceCountersgetCounters () const
 
FaceCountersgetCounters ()
 
weak_ptr< ChannelgetChannel () const
 Get channel on which face was created (unicast) or the associated channel (multicast) More...
 
void setChannel (weak_ptr< Channel > channel)
 Set channel on which face was created (unicast) or the associated channel (multicast) More...
 
 GenericLinkService (const Options &options={})
 
const OptionsgetOptions () const
 get Options used by GenericLinkService More...
 
void setOptions (const Options &options)
 sets Options used by GenericLinkService More...
 
const CountersgetCounters () const NFD_OVERRIDE_WITH_TESTS_ELSE_FINAL
 
ssize_t getEffectiveMtu () const NFD_OVERRIDE_WITH_TESTS_ELSE_FINAL
 
bool canOverrideMtuTo (ssize_t mtu) const
 Whether MTU can be overridden to the specified value. More...
 
void sendLpPacket (lp::Packet &&pkt)
 send an LpPacket More...
 
void doSendInterest (const Interest &interest) NFD_OVERRIDE_WITH_TESTS_ELSE_FINAL
 performs LinkService specific operations to send an Interest More...
 
void doSendData (const Data &data) NFD_OVERRIDE_WITH_TESTS_ELSE_FINAL
 performs LinkService specific operations to send a Data More...
 
void doSendNack (const ndn::lp::Nack &nack) NFD_OVERRIDE_WITH_TESTS_ELSE_FINAL
 performs LinkService specific operations to send a Nack More...
 
void assignSequences (std::vector< lp::Packet > &pkts)
 assign consecutive sequence numbers to LpPackets More...
 
 NullTransport (const FaceUri &localUri=FaceUri("null://"), const FaceUri &remoteUri=FaceUri("null://"), ndn::nfd::FaceScope scope=ndn::nfd::FACE_SCOPE_NON_LOCAL, ndn::nfd::FacePersistency persistency=ndn::nfd::FACE_PERSISTENCY_PERMANENT)
 
 TcpTransport (protocol::socket &&socket, ndn::nfd::FacePersistency persistency, ndn::nfd::FaceScope faceScope)
 
ssize_t getSendQueueLength () final
 
- Public Member Functions inherited from nfd::face::StreamTransport< boost::asio::ip::tcp >
 StreamTransport (typename protocol::socket &&socket)
 Construct stream transport. More...
 
ssize_t getSendQueueLength () override
 
- Public Member Functions inherited from nfd::face::Transport
 Transport ()
 Default constructor. More...
 
virtual ~Transport ()
 
void setFaceAndLinkService (Face &face, LinkService &service)
 set Face and LinkService for Transport More...
 
const FacegetFace () const
 
const LinkServicegetLinkService () const
 
LinkServicegetLinkService ()
 
void close ()
 Request the transport to be closed. More...
 
void send (const Block &packet)
 Send a link-layer packet. More...
 
FaceUri getLocalUri () const
 
FaceUri getRemoteUri () const
 
ndn::nfd::FaceScope getScope () const
 
ndn::nfd::FacePersistency getPersistency () const
 
bool canChangePersistencyTo (ndn::nfd::FacePersistency newPersistency) const
 check whether the face persistency can be changed to newPersistency More...
 
void setPersistency (ndn::nfd::FacePersistency newPersistency)
 changes face persistency setting More...
 
ndn::nfd::LinkType getLinkType () const
 
ssize_t getMtu () const
 
ssize_t getSendQueueCapacity () const
 
TransportState getState () const
 
time::steady_clock::TimePoint getExpirationTime () const
 
- 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 ()
 
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 (const Block &packet, const EndpointId &endpoint)
 performs LinkService specific operations to receive a lower-layer packet More...
 

Public Attributes

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< Transport, FaceState, FaceState > & afterStateChange
 signals after face state changed More...
 
NFD_PROTECTED_WITH_TESTS_ELSE_PRIVATE __pad0__: void requestIdlePacket()
 
- Public Attributes inherited from nfd::face::Transport
signal::Signal< Transport, TransportState, TransportStateafterStateChange
 signals when transport state changes More...
 
- Public Attributes inherited from nfd::face::LinkService
signal::Signal< LinkService, Interest, EndpointIdafterReceiveInterest
 signals on Interest received More...
 
signal::Signal< LinkService, Data, EndpointIdafterReceiveData
 signals on Data received More...
 
signal::Signal< LinkService, lp::Nack, EndpointIdafterReceiveNack
 signals on Nack received More...
 
signal::Signal< LinkService, InterestonDroppedInterest
 signals on Interest dropped by reliability system for exceeding allowed number of retx 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

void doClose () NFD_OVERRIDE_WITH_TESTS_ELSE_FINAL
 performs Transport specific operations to close the transport More...
 
bool canChangePersistencyToImpl (ndn::nfd::FacePersistency newPersistency) const final
 invoked by canChangePersistencyTo to perform the check More...
 
void afterChangePersistency (ndn::nfd::FacePersistency oldPersistency) final
 invoked after the persistency has been changed More...
 
void doClose () final
 performs Transport specific operations to close the transport More...
 
void handleError (const boost::system::error_code &error) final
 
NFD_VIRTUAL_WITH_TESTS void handleReconnect (const boost::system::error_code &error)
 
NFD_VIRTUAL_WITH_TESTS void handleReconnectTimeout ()
 
- Protected Member Functions inherited from nfd::face::StreamTransport< boost::asio::ip::tcp >
void doClose () override
 performs Transport specific operations to close the transport More...
 
void deferredClose ()
 
void doSend (const Block &packet) override
 performs Transport specific operations to send a packet More...
 
void sendFromQueue ()
 
void handleSend (const boost::system::error_code &error, size_t nBytesSent)
 
void startReceive ()
 
void handleReceive (const boost::system::error_code &error, size_t nBytesReceived)
 
void processErrorCode (const boost::system::error_code &error)
 
void resetReceiveBuffer ()
 
void resetSendQueue ()
 
size_t getSendQueueBytes () const
 
 NFD_LOG_MEMBER_DECL ()
 
- Protected Member Functions inherited from nfd::face::Transport
void receive (const Block &packet, const EndpointId &endpoint=0)
 Pass a received link-layer packet to the upper layer for further processing. More...
 
void setLocalUri (const FaceUri &uri)
 
void setRemoteUri (const FaceUri &uri)
 
void setScope (ndn::nfd::FaceScope scope)
 
void setLinkType (ndn::nfd::LinkType linkType)
 
void setMtu (ssize_t mtu)
 
void setSendQueueCapacity (ssize_t sendQueueCapacity)
 
void setState (TransportState newState)
 set transport state More...
 
void setExpirationTime (const time::steady_clock::TimePoint &expirationTime)
 
- 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)
 send a lower-layer packet via Transport More...
 
void notifyDroppedInterest (const Interest &packet)
 

Protected Attributes

NFD_PUBLIC_WITH_TESTS_ELSE_PRIVATE __pad1__: static time::milliseconds s_initialReconnectWait
 
- Protected Attributes inherited from nfd::face::StreamTransport< boost::asio::ip::tcp >
protocol::socket m_socket
 
- Protected Attributes inherited from nfd::face::TransportCounters
PacketCounter nInPackets
 count of incoming packets More...
 
PacketCounter nOutPackets
 count of outgoing packets More...
 
ByteCounter nInBytes
 total incoming bytes More...
 
ByteCounter nOutBytes
 total outgoing bytes More...
 
- Protected Attributes inherited from nfd::face::LinkServiceCounters
PacketCounter nInInterests
 count of incoming Interests More...
 
PacketCounter nOutInterests
 count of outgoing Interests More...
 
PacketCounter nInterestsExceededRetx
 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...
 
- Protected Attributes inherited from nfd::face::GenericLinkServiceCounters
PacketCounter nFragmentationErrors
 count of failed fragmentations More...
 
PacketCounter nOutOverMtu
 count of outgoing LpPackets dropped due to exceeding MTU limit More...
 
PacketCounter nInLpInvalid
 count of invalid LpPackets dropped before reassembly More...
 
SizeCounter< LpReassemblernReassembling
 count of network-layer packets currently being reassembled More...
 
PacketCounter nReassemblyTimeouts
 count of dropped partial network-layer packets due to reassembly timeout More...
 
PacketCounter nInNetInvalid
 count of invalid reassembled network-layer packets dropped More...
 
PacketCounter nAcknowledged
 count of network-layer packets that did not require retransmission of a fragment More...
 
PacketCounter nRetransmitted
 count of network-layer packets that had at least one fragment retransmitted, but were eventually received in full More...
 
PacketCounter nRetxExhausted
 count of network-layer packets dropped because a fragment reached the maximum number of retransmissions More...
 
PacketCounter nDuplicateSequence
 count of LpPackets dropped due to duplicate Sequence numbers More...
 
PacketCounter nCongestionMarked
 count of outgoing LpPackets that were marked with congestion marks More...
 

Static Protected Attributes

static time::milliseconds s_maxReconnectWait
 maximum amount of time to wait before a reconnection attempt More...
 
static float s_reconnectWaitMultiplier
 multiplier for the exponential backoff of the reconnection timer More...
 

Friends

class LpReliability
 

Detailed Description

generalization of a network interface

A Transport that communicates on a connected TCP socket.

A Transport that drops every packet.

GenericLinkService is a LinkService that implements the NDNLPv2 protocol.

A face generalizes a network interface. It provides best-effort network-layer packet delivery services on a physical interface, an overlay tunnel, or a link to a local application.

A face combines two parts: LinkService and Transport. Transport is the lower part, which provides best-effort TLV block deliveries. LinkService is the upper part, which translates between network-layer packets and TLV blocks, and may provide additional services such as fragmentation and reassembly.

See also
https://redmine.named-data.net/projects/nfd/wiki/NDNLPv2

When persistency is set to permanent, whenever the TCP connection is severed, the transport state is set to DOWN, and the connection is retried periodically with exponential backoff until it is reestablished

Definition at line 54 of file face.hpp.

Member Typedef Documentation

◆ Counters

counters provided by GenericLinkService

Definition at line 179 of file generic-link-service.hpp.

Member Function Documentation

◆ Face()

nfd::face::NFD_FINAL_UNLESS_WITH_TESTS::Face ( unique_ptr< LinkService service,
unique_ptr< Transport transport 
)

◆ getLinkService()

LinkService* nfd::face::NFD_FINAL_UNLESS_WITH_TESTS::getLinkService ( ) const

◆ getTransport()

Transport* nfd::face::NFD_FINAL_UNLESS_WITH_TESTS::getTransport ( ) const

◆ close()

void nfd::face::NFD_FINAL_UNLESS_WITH_TESTS::close ( )

Request that the face be closed.

This operation is effective only if face is in the UP or DOWN state; otherwise, it has no effect. The face will change state to CLOSING, and then perform a cleanup procedure. When the cleanup is complete, the state will be changed to CLOSED, which may happen synchronously or asynchronously.

Warning
The face must not be deallocated until its state changes to CLOSED.

◆ sendInterest()

void nfd::face::NFD_FINAL_UNLESS_WITH_TESTS::sendInterest ( const Interest interest)

send Interest

◆ sendData()

void nfd::face::NFD_FINAL_UNLESS_WITH_TESTS::sendData ( const Data data)

send Data

◆ sendNack()

void nfd::face::NFD_FINAL_UNLESS_WITH_TESTS::sendNack ( const lp::Nack nack)

send Nack

◆ getId()

FaceId nfd::face::NFD_FINAL_UNLESS_WITH_TESTS::getId ( ) const
Returns
face ID

◆ setId()

void nfd::face::NFD_FINAL_UNLESS_WITH_TESTS::setId ( FaceId  id)

sets face ID

Note
Normally, this should only be invoked by FaceTable.

◆ setMetric()

void nfd::face::NFD_FINAL_UNLESS_WITH_TESTS::setMetric ( uint64_t  metric)

◆ getMetric()

uint64_t nfd::face::NFD_FINAL_UNLESS_WITH_TESTS::getMetric ( ) const

◆ getLocalUri()

FaceUri nfd::face::NFD_FINAL_UNLESS_WITH_TESTS::getLocalUri ( ) const
Returns
a FaceUri representing local endpoint

◆ getRemoteUri()

FaceUri nfd::face::NFD_FINAL_UNLESS_WITH_TESTS::getRemoteUri ( ) const
Returns
a FaceUri representing remote endpoint

◆ getScope()

ndn::nfd::FaceScope nfd::face::NFD_FINAL_UNLESS_WITH_TESTS::getScope ( ) const
Returns
whether face is local or non-local for scope control purpose

◆ getPersistency()

ndn::nfd::FacePersistency nfd::face::NFD_FINAL_UNLESS_WITH_TESTS::getPersistency ( ) const
Returns
face persistency setting

◆ setPersistency()

void nfd::face::NFD_FINAL_UNLESS_WITH_TESTS::setPersistency ( ndn::nfd::FacePersistency  persistency)

changes face persistency setting

◆ getLinkType()

ndn::nfd::LinkType nfd::face::NFD_FINAL_UNLESS_WITH_TESTS::getLinkType ( ) const
Returns
whether face is point-to-point or multi-access

◆ getMtu()

ssize_t nfd::face::NFD_FINAL_UNLESS_WITH_TESTS::getMtu ( ) const

Returns face effective MTU.

This function is a wrapper. The effective MTU of a face is determined by the link service.

◆ getState()

FaceState nfd::face::NFD_FINAL_UNLESS_WITH_TESTS::getState ( ) const
Returns
face state

◆ getExpirationTime()

time::steady_clock::TimePoint nfd::face::NFD_FINAL_UNLESS_WITH_TESTS::getExpirationTime ( ) const
Returns
expiration time of the face
Return values
time::steady_clock::TimePoint::max()the face has an indefinite lifetime

◆ getCounters() [1/3]

const FaceCounters& nfd::face::NFD_FINAL_UNLESS_WITH_TESTS::getCounters ( ) const
inlinevirtual

Reimplemented from nfd::face::LinkService.

Definition at line 180 of file face.hpp.

◆ getCounters() [2/3]

FaceCounters& nfd::face::NFD_FINAL_UNLESS_WITH_TESTS::getCounters ( )
inline

Definition at line 186 of file face.hpp.

◆ getChannel()

weak_ptr<Channel> nfd::face::NFD_FINAL_UNLESS_WITH_TESTS::getChannel ( ) const
inline

Get channel on which face was created (unicast) or the associated channel (multicast)

Definition at line 195 of file face.hpp.

◆ setChannel()

void nfd::face::NFD_FINAL_UNLESS_WITH_TESTS::setChannel ( weak_ptr< Channel channel)
inline

Set channel on which face was created (unicast) or the associated channel (multicast)

Definition at line 204 of file face.hpp.

References close(), Face, ndn::net::detail::getLinkType(), and nonstd::optional_lite::std11::move().

◆ GenericLinkService()

nfd::face::NFD_FINAL_UNLESS_WITH_TESTS::GenericLinkService ( const Options options = {})
explicit

◆ getOptions()

const Options& nfd::face::NFD_FINAL_UNLESS_WITH_TESTS::getOptions ( ) const

get Options used by GenericLinkService

◆ setOptions()

void nfd::face::NFD_FINAL_UNLESS_WITH_TESTS::setOptions ( const Options options)

sets Options used by GenericLinkService

◆ getCounters() [3/3]

const Counters& nfd::face::NFD_FINAL_UNLESS_WITH_TESTS::getCounters ( ) const
virtual

Reimplemented from nfd::face::LinkService.

◆ getEffectiveMtu()

ssize_t nfd::face::NFD_FINAL_UNLESS_WITH_TESTS::getEffectiveMtu ( ) const
virtual

Reimplemented from nfd::face::LinkService.

◆ canOverrideMtuTo()

bool nfd::face::NFD_FINAL_UNLESS_WITH_TESTS::canOverrideMtuTo ( ssize_t  mtu) const

Whether MTU can be overridden to the specified value.

If the transport MTU is unlimited, then this will always return false.

◆ sendLpPacket()

void nfd::face::NFD_FINAL_UNLESS_WITH_TESTS::sendLpPacket ( lp::Packet &&  pkt)

send an LpPacket

◆ doSendInterest()

void nfd::face::NFD_FINAL_UNLESS_WITH_TESTS::doSendInterest ( const Interest interest)
virtual

performs LinkService specific operations to send an Interest

Implements nfd::face::LinkService.

◆ doSendData()

void nfd::face::NFD_FINAL_UNLESS_WITH_TESTS::doSendData ( const Data data)
virtual

performs LinkService specific operations to send a Data

Implements nfd::face::LinkService.

◆ doSendNack()

void nfd::face::NFD_FINAL_UNLESS_WITH_TESTS::doSendNack ( const ndn::lp::Nack nack)
virtual

performs LinkService specific operations to send a Nack

Implements nfd::face::LinkService.

◆ assignSequences()

void nfd::face::NFD_FINAL_UNLESS_WITH_TESTS::assignSequences ( std::vector< lp::Packet > &  pkts)

assign consecutive sequence numbers to LpPackets

◆ NullTransport()

nfd::face::NFD_FINAL_UNLESS_WITH_TESTS::NullTransport ( const FaceUri localUri = FaceUri("null://"),
const FaceUri remoteUri = FaceUri("null://"),
ndn::nfd::FaceScope  scope = ndn::nfd::FACE_SCOPE_NON_LOCAL,
ndn::nfd::FacePersistency  persistency = ndn::nfd::FACE_PERSISTENCY_PERMANENT 
)
explicit

◆ doClose() [1/2]

void nfd::face::NFD_FINAL_UNLESS_WITH_TESTS::doClose ( )
inlineprotectedvirtual

performs Transport specific operations to close the transport

This is invoked once by close() after changing state to CLOSING. It will not be invoked by Transport class if the transport is already CLOSING or CLOSED.

When the cleanup procedure is complete, this method should change state to CLOSED. This transition can happen synchronously or asynchronously.

Implements nfd::face::Transport.

Definition at line 47 of file null-transport.hpp.

References nfd::face::CLOSED, and NFD_OVERRIDE_WITH_TESTS_ELSE_FINAL.

◆ TcpTransport()

nfd::face::NFD_FINAL_UNLESS_WITH_TESTS::TcpTransport ( protocol::socket &&  socket,
ndn::nfd::FacePersistency  persistency,
ndn::nfd::FaceScope  faceScope 
)

◆ getSendQueueLength()

ssize_t nfd::face::NFD_FINAL_UNLESS_WITH_TESTS::getSendQueueLength ( )
finalvirtual
Returns
current send queue length of the transport (in octets)
Return values
QUEUE_UNSUPPORTEDtransport does not support queue length retrieval
QUEUE_ERRORtransport was unable to retrieve the queue length

Reimplemented from nfd::face::Transport.

◆ canChangePersistencyToImpl()

bool nfd::face::NFD_FINAL_UNLESS_WITH_TESTS::canChangePersistencyToImpl ( ndn::nfd::FacePersistency  newPersistency) const
finalprotectedvirtual

invoked by canChangePersistencyTo to perform the check

Base class implementation returns false.

Parameters
newPersistencythe new persistency, guaranteed to be different from current persistency

Reimplemented from nfd::face::Transport.

◆ afterChangePersistency()

void nfd::face::NFD_FINAL_UNLESS_WITH_TESTS::afterChangePersistency ( ndn::nfd::FacePersistency  oldPersistency)
finalprotectedvirtual

invoked after the persistency has been changed

The base class implementation does nothing. When overridden in a subclass, the function should update internal states after persistency setting has been changed.

Reimplemented from nfd::face::Transport.

◆ doClose() [2/2]

void nfd::face::NFD_FINAL_UNLESS_WITH_TESTS::doClose ( )
finalprotectedvirtual

performs Transport specific operations to close the transport

This is invoked once by close() after changing state to CLOSING. It will not be invoked by Transport class if the transport is already CLOSING or CLOSED.

When the cleanup procedure is complete, this method should change state to CLOSED. This transition can happen synchronously or asynchronously.

Implements nfd::face::Transport.

◆ handleError()

void nfd::face::NFD_FINAL_UNLESS_WITH_TESTS::handleError ( const boost::system::error_code &  error)
finalprotectedvirtual

◆ handleReconnect()

NFD_VIRTUAL_WITH_TESTS void nfd::face::NFD_FINAL_UNLESS_WITH_TESTS::handleReconnect ( const boost::system::error_code &  error)
protected

◆ handleReconnectTimeout()

NFD_VIRTUAL_WITH_TESTS void nfd::face::NFD_FINAL_UNLESS_WITH_TESTS::handleReconnectTimeout ( )
protected

Friends And Related Function Documentation

◆ LpReliability

friend class LpReliability
friend

Definition at line 321 of file generic-link-service.hpp.

Member Data Documentation

◆ afterReceiveInterest

signal::Signal<LinkService, Interest, EndpointId>& nfd::face::NFD_FINAL_UNLESS_WITH_TESTS::afterReceiveInterest

signals on Interest received

Definition at line 95 of file face.hpp.

◆ afterReceiveData

signal::Signal<LinkService, Data, EndpointId>& nfd::face::NFD_FINAL_UNLESS_WITH_TESTS::afterReceiveData

signals on Data received

Definition at line 99 of file face.hpp.

◆ afterReceiveNack

signal::Signal<LinkService, lp::Nack, EndpointId>& nfd::face::NFD_FINAL_UNLESS_WITH_TESTS::afterReceiveNack

signals on Nack received

Definition at line 103 of file face.hpp.

◆ onDroppedInterest

signal::Signal<LinkService, Interest>& nfd::face::NFD_FINAL_UNLESS_WITH_TESTS::onDroppedInterest

signals on Interest dropped by reliability system for exceeding allowed number of retx

Definition at line 107 of file face.hpp.

◆ afterStateChange

signal::Signal<Transport, FaceState, FaceState>& nfd::face::NFD_FINAL_UNLESS_WITH_TESTS::afterStateChange

signals after face state changed

Definition at line 171 of file face.hpp.

◆ __pad0__

NFD_PROTECTED_WITH_TESTS_ELSE_PRIVATE nfd::face::NFD_FINAL_UNLESS_WITH_TESTS::__pad0__

Definition at line 211 of file generic-link-service.hpp.

◆ __pad1__

NFD_PUBLIC_WITH_TESTS_ELSE_PRIVATE nfd::face::NFD_FINAL_UNLESS_WITH_TESTS::__pad1__
protected

Definition at line 77 of file tcp-transport.hpp.

◆ s_maxReconnectWait

time::milliseconds nfd::face::NFD_FINAL_UNLESS_WITH_TESTS::s_maxReconnectWait
staticprotected

maximum amount of time to wait before a reconnection attempt

Definition at line 81 of file tcp-transport.hpp.

◆ s_reconnectWaitMultiplier

float nfd::face::NFD_FINAL_UNLESS_WITH_TESTS::s_reconnectWaitMultiplier
staticprotected

multiplier for the exponential backoff of the reconnection timer

Definition at line 85 of file tcp-transport.hpp.


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