NS-3 based Named Data Networking (NDN) simulator
ndnSIM 2.3: NDN, CCN, CCNx, content centric networks
API Documentation
step-source.cpp
Go to the documentation of this file.
1 /* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */
22 #include "step-source.hpp"
23 
24 namespace ndn {
25 namespace security {
26 namespace transform {
27 
28 size_t
29 StepSource::write(const uint8_t* buf, size_t size)
30 {
31  return m_next->write(buf, size);
32 }
33 
34 void
36 {
37  m_next->end();
38 }
39 
40 
41 void
42 StepSource::doPump()
43 {
44 }
45 
46 } // namespace transform
47 } // namespace security
48 } // namespace ndn
void end()
Close the input interface and directly notify the next module the end of input.
Definition: step-source.cpp:35
Copyright (c) 2011-2015 Regents of the University of California.
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
unique_ptr< Downstream > m_next