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
step-source.hpp
Go to the documentation of this file.
1
/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */
22
#ifndef NDN_CXX_SECURITY_TRANSFORM_STEP_SOURCE_HPP
23
#define NDN_CXX_SECURITY_TRANSFORM_STEP_SOURCE_HPP
24
25
#include "
transform-base.hpp
"
26
27
namespace
ndn
{
28
namespace
security
{
29
namespace
transform
{
30
45
class
StepSource
:
public
Source
46
{
47
public
:
56
size_t
57
write
(
const
uint8_t* buf,
size_t
size);
58
62
void
63
end
();
64
65
private
:
71
void
72
doPump()
final
;
73
};
74
75
typedef
StepSource
stepSource
;
76
77
}
// namespace transform
78
}
// namespace security
79
}
// namespace ndn
80
81
#endif // NDN_CXX_SECURITY_TRANSFORM_STEP_SOURCE_HPP
ndn::security::transform::StepSource::end
void end()
Close the input interface and directly notify the next module the end of input.
Definition:
step-source.cpp:35
transform-base.hpp
There are three types of module in a transformation chain: Source, Transform, and Sink...
ndn
Copyright (c) 2011-2015 Regents of the University of California.
Definition:
ndn-strategy-choice-helper.hpp:34
ndn::security::transform::StepSource::write
size_t write(const uint8_t *buf, size_t size)
Accept input data and directly write input into next transformation module.
Definition:
step-source.cpp:29
websocketpp::transport::asio::socket::error::security
Catch-all error for security policy errors that don't fit in other categories.
Definition:
base.hpp:79
ndn::security::transform::StepSource
A source that can accept input step by step, and can close input explicitly.
Definition:
step-source.hpp:45
ndn::security::transform::stepSource
StepSource stepSource
Definition:
step-source.hpp:75
transform
ndn::security::transform::Source
Abstraction of the transformation source module.
Definition:
transform-base.hpp:288
ndnSIM
ndn-cxx
src
security
transform
step-source.hpp
Generated on Thu Nov 2 2017 03:30:28 for ndnSIM by
1.8.11