2 #include <samchon/API.hpp> 4 #include <samchon/templates/external/ExternalSystem.hpp> 5 #include <samchon/templates/external/base/ExternalServerBase.hpp> 7 #include <samchon/protocol/ServerConnector.hpp> 27 public base::ExternalServerBase
77 if (communicator_ !=
nullptr || ip.empty() ==
true)
82 this->communicator_ = connector;
84 connector->connect(ip, port);
88 for (
size_t i = 0; i < systemArray->size(); i++)
89 if (systemArray->at(i).
get() ==
this)
91 systemArray->erase(systemArray->begin() + i);
virtual auto createServerConnector() -> protocol::ServerConnector *
auto get(const typename child_type::key_type &key) -> typename container_type::value_type &
Access the element by specified identifier(key).
An Entity and a container of children Entity objects.
ExternalServer(base::ExternalSystemArrayBase *systemArray)