Samchon Framework for CPP  1.0.0
ParallelSlaveClientMediator.cpp
1 #include <samchon/protocol/master/ParallelSlaveClientMediator.hpp>
2 
3 using namespace std;
4 using namespace samchon::library;
5 using namespace samchon::protocol;
6 using namespace samchon::protocol::master;
7 
8 ParallelSlaveClientMediator::ParallelSlaveClientMediator()
9  : super(),
11 {
12 }
13 
14 void ParallelSlaveClientMediator::setAddress(const string &ip, int port, const string &myIP)
15 {
16  this->ip = ip;
17  this->port = port;
18  this->myIP = myIP;
19 }
int port
A port number of an external system.
Package for external system, within the framework of master.
Definition: RWMutex.hpp:4
Package of libraries.
Definition: library.hpp:84
std::string ip
An ip address of an external system.
Package of network protocol and libraries.
Definition: protocol.hpp:185
A network driver for an external system.
std::string myIP
A custom ip address of my system to bind.