27 lines
527 B
C++
27 lines
527 B
C++
/*
|
||
* ICommunicationLink.hh
|
||
*
|
||
* Created on: 29 апр. 2020 г.
|
||
* Author: LeonidTitov
|
||
*/
|
||
|
||
#ifndef UMLIBRARY_COMMUNICATION_SERVICE_ICOMMUNICATIONLINK_HH_
|
||
#define UMLIBRARY_COMMUNICATION_SERVICE_ICOMMUNICATIONLINK_HH_
|
||
|
||
#include "IMessageHandler.hh"
|
||
|
||
namespace communication {
|
||
|
||
struct ICommunicationLink {
|
||
|
||
virtual bool registerMessageHandler( IMessageHandler * handler, std::size_t id ) = 0;
|
||
|
||
virtual ~ICommunicationLink() = default;
|
||
};
|
||
|
||
}
|
||
|
||
|
||
|
||
#endif /* UMLIBRARY_COMMUNICATION_SERVICE_ICOMMUNICATIONLINK_HH_ */
|