2 #include <samchon/API.hpp> 4 #include <samchon/templates/external/ExternalSystemArray.hpp> 6 #include <samchon/protocol/Server.hpp> 7 #include <samchon/protocol/ClientDriver.hpp> 29 template <
class System = ExternalSystem>
66 virtual void addClient(std::shared_ptr<protocol::ClientDriver> driver)
override final 69 if (system ==
nullptr)
72 system->communicator_ = driver;
77 driver->listen(system.get());
79 for (
size_t i = 0; i < size(); i++)
100 virtual auto createChild(std::shared_ptr<library::XML> xml) -> System*
override
virtual auto createExternalClient(std::shared_ptr< protocol::ClientDriver >) -> System *=0
virtual auto createChild(std::shared_ptr< library::XML > xml) -> System *override
virtual void addClient(std::shared_ptr< protocol::ClientDriver > driver) override final