NS-3 based Named Data Networking (NDN) simulator
ndnSIM 2.0: NDN, CCN, CCNx, content centric networks
API Documentation
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
DECL_CLASS_FINAL
:
public
StreamTransport
<boost::asio::local::stream_protocol>
42
{
43
public
:
44
explicit
45
UnixStreamTransport
(protocol::socket&& socket);
46
47
protected
:
48
virtual
void
49
beforeChangePersistency(
ndn::nfd::FacePersistency
newPersistency)
DECL_FINAL
;
50
};
51
52
}
// namespace face
53
}
// namespace nfd
54
55
#endif // NFD_DAEMON_FACE_UNIX_STREAM_TRANSPORT_HPP
DECL_CLASS_FINAL
#define DECL_CLASS_FINAL
expands to 'final' if compiler supports 'final' specifier on class, otherwise expands to nothing ...
Definition:
common.hpp:70
nfd::face::StreamTransport
StreamTransport
Definition:
tcp-transport.cpp:31
nfd::face::UnixStreamTransport
UnixStreamTransport
Definition:
unix-stream-transport.cpp:31
DECL_FINAL
#define DECL_FINAL
expands to 'final' if compiler supports 'final' specifier on method, otherwise expands to nothing ...
Definition:
common.hpp:60
stream-transport.hpp
ndn::nfd::FacePersistency
FacePersistency
Definition:
nfd-constants.hpp:49
nfd
Copyright (c) 2011-2015 Regents of the University of California.
Definition:
ndn-common.hpp:40
face
ndnSIM
NFD
daemon
face
unix-stream-transport.hpp
Generated on Sat Nov 12 2016 16:02:54 for ndnSIM by
1.8.12