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
tcp-face.cpp
Go to the documentation of this file.
1
/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */
25
#include "
tcp-face.hpp
"
26
27
namespace
nfd
{
28
29
NFD_LOG_INCLASS_TEMPLATE_SPECIALIZATION_DEFINE(
StreamFace
,
TcpFace::protocol
,
"TcpFace"
);
30
31
NFD_LOG_INCLASS_2TEMPLATE_SPECIALIZATION_DEFINE(
StreamFace
,
32
TcpLocalFace::protocol
,
LocalFace
,
33
"TcpLocalFace"
);
34
35
TcpFace::TcpFace
(
const
FaceUri
& remoteUri,
const
FaceUri
& localUri,
36
protocol::socket socket,
bool
isOnDemand)
37
:
StreamFace
<
protocol
>(remoteUri, localUri,
std
::move(socket), isOnDemand)
38
{
39
}
40
41
TcpLocalFace::TcpLocalFace
(
const
FaceUri
& remoteUri,
const
FaceUri
& localUri,
42
protocol::socket socket,
bool
isOnDemand)
43
:
StreamFace
<
protocol
,
LocalFace
>(remoteUri, localUri,
std
::move(socket), isOnDemand)
44
{
45
}
46
47
}
// namespace nfd
nfd::StreamFace
Definition:
stream-face.hpp:39
nfd::TcpFace::TcpFace
TcpFace(const FaceUri &remoteUri, const FaceUri &localUri, protocol::socket socket, bool isOnDemand)
Definition:
tcp-face.cpp:35
ndn::util::FaceUri
represents the underlying protocol and address used by a Face
Definition:
face-uri.hpp:44
std
STL namespace.
nfd::StreamFace< boost::asio::ip::tcp >::protocol
boost::asio::ip::tcp protocol
Definition:
stream-face.hpp:42
tcp-face.hpp
nfd
Copyright (c) 2011-2015 Regents of the University of California.
Definition:
ndn-common.hpp:38
nfd::LocalFace
represents a face
Definition:
local-face.hpp:40
nfd::TcpLocalFace::TcpLocalFace
TcpLocalFace(const FaceUri &remoteUri, const FaceUri &localUri, protocol::socket socket, bool isOnDemand)
Definition:
tcp-face.cpp:41
ndnSIM
NFD
daemon
face
tcp-face.cpp
Generated on Tue Feb 23 2016 22:18:44 for ndnSIM by
1.8.11