NS-3 based Named Data Networking (NDN) simulator
ndnSIM 2.0: NDN, CCN, CCNx, content centric networks
API Documentation
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
unix-stream-face.hpp
Go to the documentation of this file.
1
/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */
25
#ifndef NFD_DAEMON_FACE_UNIX_STREAM_FACE_HPP
26
#define NFD_DAEMON_FACE_UNIX_STREAM_FACE_HPP
27
28
#include "
stream-face.hpp
"
29
30
#ifndef HAVE_UNIX_SOCKETS
31
#error "Cannot include this file when UNIX sockets are not available"
32
#endif
33
34
namespace
nfd
{
35
40
class
UnixStreamFace
:
public
StreamFace
<boost::asio::local::stream_protocol, LocalFace>
41
{
42
public
:
43
UnixStreamFace
(
const
FaceUri
& remoteUri,
const
FaceUri
& localUri,
44
protocol::socket socket);
45
};
46
47
}
// namespace nfd
48
49
#endif // NFD_DAEMON_FACE_UNIX_STREAM_FACE_HPP
nfd::StreamFace
Definition:
stream-face.hpp:39
ndn::util::FaceUri
represents the underlying protocol and address used by a Face
Definition:
face-uri.hpp:44
nfd::UnixStreamFace
Implementation of Face abstraction that uses stream-oriented Unix domain sockets as underlying transp...
Definition:
unix-stream-face.hpp:40
nfd::UnixStreamFace::UnixStreamFace
UnixStreamFace(const FaceUri &remoteUri, const FaceUri &localUri, protocol::socket socket)
Definition:
unix-stream-face.cpp:36
nfd
Copyright (c) 2011-2015 Regents of the University of California.
Definition:
ndn-common.hpp:38
stream-face.hpp
ndnSIM
NFD
daemon
face
unix-stream-face.hpp
Generated on Tue Feb 23 2016 22:18:44 for ndnSIM by
1.8.11