#include <ELClientResponse.h>
Public Member Functions | |
| ELClientResponse (ELClientPacket *packet) | |
| Constructor for ELClientResponse with ELClientPacket packet. | |
| ELClientResponse (void *packet) | |
| Constructor for ELClientResponse with void packet. | |
| uint16_t | argc () |
| uint16_t | cmd () |
| uint32_t | value () |
| uint16_t | argLen () |
| int16_t | popArg (void *data, uint16_t maxLen) |
| Extract an argument from the response packet. | |
| int16_t | popArgPtr (void **data) |
| Extract pointer to an argument from the response packet. | |
| void | popChar (char *buffer) |
| Extract a character from the response packet. | |
| String | popString () |
| Extract a string from the response packet. | |
| void | popString (String *data) |
| Extract the pointer to a string from the response packet. | |
Definition at line 26 of file ELClientResponse.h.
| ELClientResponse::ELClientResponse | ( | ELClientPacket * | packet | ) |
Constructor for ELClientResponse with ELClientPacket packet.
ELClientResponse(ELClientPacket* packet)
| packet | Pointer to packet for response |
Definition at line 15 of file ELClientResponse.cpp.
| ELClientResponse::ELClientResponse | ( | void * | packet | ) |
Constructor for ELClientResponse with void packet.
ELClientResponse(void* packet)
| packet | Pointer to packet for response |
Definition at line 30 of file ELClientResponse.cpp.
|
inline |
Get number of arguments
Definition at line 33 of file ELClientResponse.h.

|
inline |
Get length of argument
Definition at line 38 of file ELClientResponse.h.
|
inline |
Get command
Definition at line 34 of file ELClientResponse.h.
| int16_t ELClientResponse::popArg | ( | void * | d, |
| uint16_t | maxLen | ||
| ) |
Extract an argument from the response packet.
popArg(void* d, uint16_t maxLen)
| d | Pointer to buffer for the argument |
| maxLen | Size of the buffer for the argument |
int16_t Size of argument Definition at line 73 of file ELClientResponse.cpp.

| int16_t ELClientResponse::popArgPtr | ( | void ** | data | ) |
Extract pointer to an argument from the response packet.
| data | Pointer to buffer for the argument pointer |
int16_t Size of argument Definition at line 47 of file ELClientResponse.cpp.
| void ELClientResponse::popChar | ( | char * | buffer | ) |
Extract a character from the response packet.
| buffer | Pointer to buffer for the character |
Definition at line 100 of file ELClientResponse.cpp.
| String ELClientResponse::popString | ( | ) |
Extract a string from the response packet.
String String extracted from the response packet Definition at line 124 of file ELClientResponse.cpp.

| void ELClientResponse::popString | ( | String * | data | ) |
Extract the pointer to a string from the response packet.
| data | Pointer to be set to the string in the response packet |
Definition at line 147 of file ELClientResponse.cpp.
|
inline |
Get returned value
Definition at line 35 of file ELClientResponse.h.