|
Leosac
0.8.0
Open Source Access Control
|
static ProtocolHandlerUPtr create(int protocol_id)
Create an instance of a protocol handler depending on the requested protocol id.
ProtocolHandler()
ProtocolHandler shall not be created directly.
ProtocolException(const std::string &msg)
std::unique_ptr< ProtocolHandler > ProtocolHandlerUPtr
This is the header file for a generated source file, GitSHA1.cpp.
std::vector< uint8_t > ByteVector
virtual ByteVector build_cred_msg(const Cred::RFIDCard &card)=0
Returns a binary buffer containing the data that shall be sent over the network to notify the client.
An specialized exception that ProtocolHandler can throw when converting the credential to a message f...
Implements a given (TCP) protocol for notifying clients.