NS-3 based Named Data Networking (NDN) simulator
ndnSIM 2.0: NDN, CCN, CCNx, content centric networks
API Documentation
tcp-transport.hpp
Go to the documentation of this file.
1
/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */
25
#ifndef NFD_DAEMON_FACE_TCP_TRANSPORT_HPP
26
#define NFD_DAEMON_FACE_TCP_TRANSPORT_HPP
27
28
#include "
stream-transport.hpp
"
29
30
namespace
nfd
{
31
namespace
face
{
32
36
class
TcpTransport
DECL_CLASS_FINAL
:
public
StreamTransport
<boost::asio::ip::tcp>
37
{
38
public
:
39
TcpTransport
(protocol::socket&& socket,
40
ndn::nfd::FacePersistency
persistency);
41
42
protected
:
43
virtual
void
44
beforeChangePersistency(
ndn::nfd::FacePersistency
newPersistency)
DECL_FINAL
;
45
};
46
47
}
// namespace face
48
}
// namespace nfd
49
50
#endif // NFD_DAEMON_FACE_TCP_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
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
nfd::face::TcpTransport
TcpTransport
Definition:
tcp-transport.cpp:31
face
ndnSIM
NFD
daemon
face
tcp-transport.hpp
Generated on Sat Nov 12 2016 16:02:54 for ndnSIM by
1.8.12