Samchon Framework for CPP  1.0.0
ParallelSystem.hpp
1 #pragma once
2 #include <samchon/API.hpp>
3 
4 #include <samchon/protocol/slave/SlaveSystem.hpp>
5 
6 namespace samchon
7 {
8 namespace protocol
9 {
10 namespace slave
11 {
21  class SAMCHON_FRAMEWORK_API ParallelSystem
22  : public virtual SlaveSystem
23  {
24  protected:
25  typedef SlaveSystem super;
26 
27  public:
32  virtual ~ParallelSystem() = default;
33 
34  protected:
35  virtual auto createChild(std::shared_ptr<library::XML>)->ExternalSystemRole* override;
36 
43  virtual void _replyData(std::shared_ptr<Invoke>) override;
44 
45  public:
53  virtual void replyPieceData(std::shared_ptr<Invoke>, size_t, size_t) = 0;
54  };
55 };
56 };
57 };
An Entity and a container of children Entity objects.
Definition: EntityGroup.hpp:52
Top level namespace of products built from samchon.
Definition: ByteArray.hpp:7