1 #include <samchon/protocol/master/DistributedSystem.hpp> 3 #include <samchon/protocol/master/DistributedSystemArray.hpp> 4 #include <samchon/protocol/master/DistributedSystemRole.hpp> 6 #include <samchon/protocol/Invoke.hpp> 7 #include <samchon/protocol/master/DSInvokeHistoryArray.hpp> 8 #include <samchon/protocol/master/DSInvokeHistory.hpp> 19 DistributedSystem::DistributedSystem()
24 DistributedSystem::~DistributedSystem()
33 performance = xml->getProperty<
double>(
"performance");
51 const string &listener = invoke->getListener();
53 for (
size_t i = 0; i < size(); i++)
55 if (at(i)->hasSendListener(listener) ==
true)
57 shared_ptr<DSInvokeHistory> history(
new DSInvokeHistory(
this, at(i).
get(), invoke));
59 at(i)->invokeHistoryArray->push_back(history);
DSInvokeHistoryArray * invokeHistoryArray
A list of history log for reported Invoke messages.
virtual auto createChild(std::shared_ptr< library::XML >) -> ExternalSystemRole *override
Factory method of a child Entity.
A reported history of an Invoke message.
virtual auto toXML() const -> std::shared_ptr< library::XML > override
Get an XML object represents the EntityGroup.
Package for external system, within the framework of master.
virtual void replyData(std::shared_ptr< Invoke >) override
Handling replied message from an external system.
virtual auto toXML() const -> std::shared_ptr< library::XML > override
Get an XML object represents the EntityGroup.
virtual void sendData(std::shared_ptr< Invoke >)
Sends message to a related system.
double performance
A performance index.
An Entity and a container of children Entity objects.
virtual auto toXML() const -> std::shared_ptr< library::XML >
Get an XML object represents the EntityGroup.
Package of network protocol and libraries.
A role of distributed processing system.
A network driver for a distributed system.
A role belongs to an external system.
Standard message of network I/O.
virtual void construct(std::shared_ptr< library::XML >) override
Construct data of the Entity from an XML object.
virtual void construct(std::shared_ptr< library::XML >) override
Construct data of the Entity from an XML object.
XML is a class representing xml object.
virtual void sendData(std::shared_ptr< Invoke >) override
Sends message to a related system.
An array of PRInvokeHistory.
Top level namespace of products built from samchon.