NS-3 based Named Data Networking (NDN) simulator
ndnSIM 2.3: NDN, CCN, CCNx, content centric networks
API Documentation
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
unix-stream-transport.hpp
Go to the documentation of this file.
1
/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */
26
#ifndef NFD_DAEMON_FACE_UNIX_STREAM_TRANSPORT_HPP
27
#define NFD_DAEMON_FACE_UNIX_STREAM_TRANSPORT_HPP
28
29
#include "
stream-transport.hpp
"
30
31
#ifndef HAVE_UNIX_SOCKETS
32
#error "Cannot include this file when UNIX sockets are not available"
33
#endif
34
35
namespace
nfd
{
36
namespace
face
{
37
41
class
UnixStreamTransport
final :
public
StreamTransport
<boost::asio::local::stream_protocol>
42
{
43
public
:
44
explicit
45
UnixStreamTransport
(
protocol::socket
&&
socket
);
46
};
47
48
}
// namespace face
49
}
// namespace nfd
50
51
#endif // NFD_DAEMON_FACE_UNIX_STREAM_TRANSPORT_HPP
stream-transport.hpp
nfd::face::StreamTransport
Implements Transport for stream-based protocols.
Definition:
stream-transport.hpp:42
nfd
Copyright (c) 2011-2015 Regents of the University of California.
Definition:
ndn-common.hpp:40
nfd::face::UnixStreamTransport
A Transport that communicates on a stream-oriented Unix domain socket.
Definition:
unix-stream-transport.hpp:41
face
nfd::face::UnixStreamTransport::UnixStreamTransport
UnixStreamTransport(protocol::socket &&socket)
Definition:
unix-stream-transport.cpp:34
websocketpp::transport::asio::socket::error::socket
Catch-all error for socket component errors that don't fit in other categories.
Definition:
base.hpp:83
ndnSIM
NFD
daemon
face
unix-stream-transport.hpp
Generated on Thu Nov 2 2017 03:30:29 for ndnSIM by
1.8.11