1 #include <samchon/protocol/slave/ParallelSystem.hpp> 3 #include <samchon/protocol/Invoke.hpp> 4 #include <samchon/protocol/InvokeHistory.hpp> 12 ParallelSystem::ParallelSystem()
23 if (invoke->has(
"invoke_history_uid") ==
true)
31 size_t index = invoke->get(
"invoke_history_index")->getValue<
size_t>();
32 size_t size = invoke->get(
"invoke_history_size")->getValue<
size_t>();
virtual auto createChild(std::shared_ptr< library::XML >) -> ExternalSystemRole *override
Factory method of a child Entity.
Package of external system, within the framework of slave.
A history of an Invoke message.
virtual void sendData(std::shared_ptr< Invoke >)
Sends message to a related system.
virtual void replyData(std::shared_ptr< Invoke >) override
Handling replied message from an external system.
An Entity and a container of children Entity objects.
Package of network protocol and libraries.
virtual void replyPieceData(std::shared_ptr< Invoke >, size_t, size_t)=0
Handle requested processes which are segmented.
A role belongs to an external system.
virtual void notifyEnd()
Notify end of the process.
auto toInvoke() const -> std::shared_ptr< Invoke >
Get an Invoke message.
virtual void _replyData(std::shared_ptr< Invoke >) override
Pre-processor for segmented processes and reporting elapsed time.