Samchon Framework for CPP  1.0.0
samchon::protocol::IProtocol Class Reference

An interface of Invoke message chain. More...

#include <IProtocol.hpp>

Public Member Functions

 IProtocol ()
 Default Constructor. More...
 
virtual void replyData (std::shared_ptr< Invoke >)
 Reply a message. More...
 
virtual void sendData (std::shared_ptr< Invoke >)
 Send a message. More...
 

Detailed Description

An interface of Invoke message chain.

IProtocol is an interface for Invoke message, which is standard message of network I/O in Samchon Framework, chain. The IProtocol interface is used to network drivers and some classes which are in a relationship of chain of responsibility with those network drivers.

IProtocol is one of the basic 3 + 1 components that can make any type of network system in Samchon Framework with IServer and IClient. Following the "chain of responsibility" pattern, looking around classes in Samchon Framework, you can see all related classes with network I/O are implemented from the IProtocol.

protocol_interface.png
Author
Jeongho Nam http://samchon.org

Definition at line 31 of file IProtocol.hpp.

Constructor & Destructor Documentation

IProtocol::IProtocol ( )

Default Constructor.

Definition at line 4 of file IProtocol.cpp.

Member Function Documentation

virtual void samchon::protocol::IProtocol::replyData ( std::shared_ptr< Invoke )
virtual
virtual void samchon::protocol::IProtocol::sendData ( std::shared_ptr< Invoke )
virtual

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