Leosac  0.8.0
Open Source Access Control
Leosac::Module::TCPNotifier::PushSimpleCardNumber Class Reference

Simple protocol that sends the card number. More...

#include <PushSimpleCardNumber.hpp>

+ Inheritance diagram for Leosac::Module::TCPNotifier::PushSimpleCardNumber:
+ Collaboration diagram for Leosac::Module::TCPNotifier::PushSimpleCardNumber:

Public Member Functions

virtual ByteVector build_cred_msg (const Cred::RFIDCard &card) override
 Returns a binary buffer containing the data that shall be sent over the network to notify the client. More...
 

Additional Inherited Members

- Static Public Member Functions inherited from Leosac::Module::TCPNotifier::ProtocolHandler
static ProtocolHandlerUPtr create (int protocol_id)
 Create an instance of a protocol handler depending on the requested protocol id. More...
 
- Protected Member Functions inherited from Leosac::Module::TCPNotifier::ProtocolHandler
 ProtocolHandler ()
 ProtocolHandler shall not be created directly. More...
 

Detailed Description

Simple protocol that sends the card number.

Definition at line 33 of file PushSimpleCardNumber.hpp.

Member Function Documentation

◆ build_cred_msg()

Leosac::ByteVector Leosac::Module::TCPNotifier::PushSimpleCardNumber::build_cred_msg ( const Cred::RFIDCard card)
overridevirtual

Returns a binary buffer containing the data that shall be sent over the network to notify the client.

Implements Leosac::Module::TCPNotifier::ProtocolHandler.

Definition at line 29 of file PushSimpleCardNumber.cpp.


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