nfd::FaceEndpoint Class Reference

Represents a face-endpoint pair in the forwarder. More...

#include <daemon/face/face-endpoint.hpp>

+ Collaboration diagram for nfd::FaceEndpoint:

Public Member Functions

 FaceEndpoint (Face &face, const EndpointId &endpoint={})
 

Public Attributes

const EndpointId endpoint
 
Faceface
 

Friends

std::ostream & operator<< (std::ostream &os, const FaceEndpoint &fe)
 

Detailed Description

Represents a face-endpoint pair in the forwarder.

See also
face::Face, face::EndpointId

Definition at line 37 of file face-endpoint.hpp.

Constructor & Destructor Documentation

◆ FaceEndpoint()

nfd::FaceEndpoint::FaceEndpoint ( Face face,
const EndpointId &  endpoint = {} 
)
explicit

Definition at line 32 of file face-endpoint.cpp.

Friends And Related Function Documentation

◆ operator<<

std::ostream& operator<< ( std::ostream &  os,
const FaceEndpoint fe 
)
friend

Definition at line 47 of file face-endpoint.hpp.

Member Data Documentation

◆ endpoint

const EndpointId nfd::FaceEndpoint::endpoint

Definition at line 56 of file face-endpoint.hpp.

◆ face

Face& nfd::FaceEndpoint::face

Definition at line 55 of file face-endpoint.hpp.