|
Samchon Framework for CPP
1.0.0
|
A boundary class interacting with a Chief system. More...
#include <ChiefDriver.hpp>

Public Member Functions | |
| ChiefDriver (IProtocol *master, int port) | |
| Construct from master and port number. More... | |
Protected Attributes | |
| IProtocol * | master |
| A Master object containing the ChiefDriver. More... | |
| int | port |
| A port number to open for the Chief system. More... | |
| mutex | mtx |
| A mutex for realizing 1:1 server. More... | |
A boundary class interacting with a Chief system.
ChiefDriver is a boundary class interacting with a chief system as a server. However, the ChiefDriver represents a weird server that accepts only a client, the chief system.
The ChiefDriver is built for providing a guidance for designing a boundary class which is representing an unusual system within framework of OOD, handling a network system like a software class of Object-Oriented Design.
Definition at line 46 of file ChiefDriver.hpp.
|
inline |
Construct from master and port number.
| master | A master object associated with the chief system. |
| port | A port number to open for chief system. |
Definition at line 76 of file ChiefDriver.hpp.
References samchon::protocol::IProtocol::replyData().

|
protected |
A Master object containing the ChiefDriver.
Definition at line 57 of file ChiefDriver.hpp.
|
protected |
A port number to open for the Chief system.
Definition at line 62 of file ChiefDriver.hpp.
|
protected |
A mutex for realizing 1:1 server.
Definition at line 67 of file ChiefDriver.hpp.