![]() |
HAN-FUN API
1.5.3
This project provides the common implementation of ULE Alliance's HAN-FUN application protocol.
|
Helper template to inject session management functionality into services requiring it - Client side. More...
#include <session_management.h>
Public Member Functions | |
Events | |
virtual void | entries (const GetEntriesResponse< _Entry > &response) |
This event is called when a response to a get entries is received. More... | |
Additional Inherited Members | |
![]() | |
Common::Result | handle_command (CMD cmd, Protocol::Packet &packet, Common::ByteArray &payload, uint16_t offset=0) |
Handle command request/response messages. More... | |
uint16_t | payload_size (CMD cmd) const |
Get the minimum number of bytes necessary to pack/unpack a message of the given command. More... | |
template<uint8_t _role, uint16_t _uid, uint8_t _member> | |
void | get_entries (uint16_t offset, uint8_t count=0) const |
Helper method to send a message to read, count entries starting at offset from the server. More... | |
template<uint8_t _role, uint16_t _uid, uint8_t _member> | |
void | request () const |
Helper method to create a session management request. More... | |
virtual void | send (const Protocol::Address &addr, Protocol::Message &message)=0 |
Send message msg to the network address given by addr . More... | |
Helper template to inject session management functionality into services requiring it - Client side.
Definition at line 824 of file session_management.h.