MCPcopy Create free account
hub / github.com/apache/nifi-minifi-cpp / get

Method get

extensions/script/lua/LuaProcessSession.cpp:32–47  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

30}
31
32std::shared_ptr<script::ScriptFlowFile> LuaProcessSession::get() {
33 if (!session_) {
34 throw std::runtime_error("Access of ProcessSession after it has been released");
35 }
36
37 auto flow_file = session_->get();
38
39 if (flow_file == nullptr) {
40 return nullptr;
41 }
42
43 auto result = std::make_shared<script::ScriptFlowFile>(flow_file);
44 flow_files_.push_back(result);
45
46 return result;
47}
48
49void LuaProcessSession::transfer(const std::shared_ptr<script::ScriptFlowFile> &script_flow_file,
50 core::Relationship relationship) {

Callers 12

processOnScheduleMethod · 0.45
onTriggerFunction · 0.45
onTriggerMethod · 0.45
onTriggerMethod · 0.45
ListSFTPTests.cppFile · 0.45
startServerMethod · 0.45
stopServerMethod · 0.45
mainMethod · 0.45
processOneMethod · 0.45
onTriggerMethod · 0.45

Calls

no outgoing calls

Tested by 3

startServerMethod · 0.36
stopServerMethod · 0.36
mainMethod · 0.36