Parse Arduino Yun SDK
1
Parse Arduino Yun SDK
|
Class with a push. Not created directly. More...
#include <ParsePush.h>
Public Member Functions | |
void | close () |
free resource including data buffer. | |
Public Member Functions inherited from ParseResponse | |
void | setBuffer (char *buffer, int size) |
set the customer buffer for writing response data. More... | |
int | getErrorCode () |
get the "error" field in the response. More... | |
int | getInt (const char *key) |
get the integer value in the response by key More... | |
double | getDouble (const char *key) |
get the double value in the response by key. More... | |
bool | getBoolean (const char *key) |
get the boolean value in the response by key More... | |
const char * | getString (const char *key) |
get the string value in the response by key More... | |
const char * | getJSONBody () |
get the complete json value of response. More... | |
bool | nextObject () |
ParseQuery ONLY: iterate to next object in query result. More... | |
int | count () |
ParseQuery ONLY: get the count of the objects in query results. More... | |
void | close () |
free resource including system data buffer and client More... | |
Protected Member Functions | |
ParsePush (Process *pushClient) | |
Protected Member Functions inherited from ParseResponse | |
void | read () |
void | readWithTimeout (int maxSec) |
int | available () |
void | freeBuffer () |
ParseResponse (Process *client) | |
Friends | |
class | ParseClient |
Additional Inherited Members | |
Protected Attributes inherited from ParseResponse | |
int | bufSize |
char * | buf |
char * | tmpBuf |
bool | isUserBuffer |
int | p = 0 |
int | resultCount = -1 |
Process * | client |
Static Protected Attributes inherited from ParseResponse | |
static const int | BUFSIZE = 128 |
Class with a push. Not created directly.