Samchon Framework for CPP  1.0.0
samchon::example::interaction::MasterDriver Class Reference

A driver for each system, master. More...

#include <MasterDriver.hpp>

Collaboration diagram for samchon::example::interaction::MasterDriver:

Public Member Functions

 MasterDriver (IProtocol *chief, const string &name, const string &ip, int port)
 Construct from parent(master), name, ip and port. More...
 

Private Attributes

IProtocolchief
 A chief, containing the driver object. More...
 

Detailed Description

A driver for each system, master.

MasterDriver is a boundary class interacting with a master system which is one of them; PackerMaster, TSPMaster and Reporter. The MasterDriver classes are belonged to a Chief logically and real systems associated with the MasterDriver classes are belonged to a Cheif physically.

example_interaction.png
example_interaction_network_diagram.png
[Inherited]
Author
Jeongho Nam http://samchon.org

Definition at line 35 of file MasterDriver.hpp.

Constructor & Destructor Documentation

samchon::example::interaction::MasterDriver::MasterDriver ( IProtocol chief,
const string &  name,
const string &  ip,
int  port 
)
inline

Construct from parent(master), name, ip and port.

Parameters
chiefA Chief object that the MasterDriver is belonged to.
nameName of the system the driver is connected to.
ipIP address of the slave system.
portPort number of the slave system.

Definition at line 57 of file MasterDriver.hpp.

References samchon::protocol::IProtocol::replyData().

Here is the call graph for this function:

Member Data Documentation

IProtocol* samchon::example::interaction::MasterDriver::chief
private

A chief, containing the driver object.

A Chief instance belonging the MasterDriver object.

Definition at line 46 of file MasterDriver.hpp.


The documentation for this class was generated from the following file: