NS-3 based Named Data Networking (NDN) simulator
ndnSIM 2.0: NDN, CCN, CCNx, content centric networks
API Documentation
nfd::StreamFaceValidator< Protocol, U > Struct Template Reference

Class allowing validation of the StreamFace use. More...

#include <stream-face.hpp>

Static Public Member Functions

static void validateSocket (const typename Protocol::socket &socket)
 

Detailed Description

template<class Protocol, class U>
struct nfd::StreamFaceValidator< Protocol, U >

Class allowing validation of the StreamFace use.

For example, partial specialization based on boost::asio::ip::tcp should check that local endpoint is loopback

Exceptions
Face::Errorif validation failed

Definition at line 104 of file stream-face.hpp.

Member Function Documentation

template<class Protocol , class U >
static void nfd::StreamFaceValidator< Protocol, U >::validateSocket ( const typename Protocol::socket &  socket)
inlinestatic

Definition at line 107 of file stream-face.hpp.

Referenced by nfd::StreamFace< Protocol, FaceBase >::StreamFace().


The documentation for this struct was generated from the following file: