| 
    Leosac
    0.7.0
    
   OpenSourceAccessControl 
   | 
 
Implements a given (TCP) protocol for notifying clients. More...
#include <ProtocolHandler.hpp>
 Inheritance diagram for Leosac::Module::TCPNotifier::ProtocolHandler:Public Member Functions | |
| 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.  More... | |
Static Public Member Functions | |
| static ProtocolHandlerUPtr | create (int protocol_id) | 
| Create an instance of a protocol handler depending on the requested protocol id.  More... | |
Protected Member Functions | |
| ProtocolHandler () | |
| ProtocolHandler shall not be created directly.  More... | |
Implements a given (TCP) protocol for notifying clients.
The ProtocolHandler is supposed to format on-the-wire data to notify a client of a credential read.
One instance of protocol handler is created by client.
Definition at line 65 of file ProtocolHandler.hpp.
      
  | 
  inlineprotected | 
ProtocolHandler shall not be created directly.
Call create() instead. 
Definition at line 72 of file ProtocolHandler.hpp.
      
  | 
  pure virtual | 
Returns a binary buffer containing the data that shall be sent over the network to notify the client.
Implemented in Leosac::Module::TCPNotifier::PushSimpleCardNumber.
      
  | 
  static | 
Create an instance of a protocol handler depending on the requested protocol id.
Definition at line 27 of file ProtocolHandler.cpp.