Microchip® Advanced Software Framework

pubnub Struct Reference

#include <PubNub.h>

Data Fields

const char * auth
 
unsigned short chan_end
 
unsigned short chan_ofs
 
union {
   char   line [PUBNUB_BUF_MAXLEN]
 
   char   url [PUBNUB_BUF_MAXLEN]
 
http_buf
 
union {
   char   line [PUBNUB_BUF_MAXLEN]
 
   char   url [PUBNUB_BUF_MAXLEN]
 
http_buf
 
unsigned http_buf_len
 
bool http_chunked
 
int http_code
 
unsigned http_content_len
 
unsigned http_content_remaining_len
 
char http_reply [PUBNUB_REPLY_MAXLEN]
 
enum pubnub_res last_result
 The result of the last PubNub transaction. More...
 
unsigned short msg_end
 
unsigned short msg_ofs
 
const char * publish_key
 
enum pubnub_state state
 
const char * subscribe_key
 
SOCKET tcp_socket
 
char timetoken [64]
 
enum pubnub_trans trans
 Network communication state. More...
 
const char * uuid
 

const char * pubnub::auth

Referenced by pubnub_init(), and pubnub_subscribe().

unsigned short pubnub::chan_end
unsigned short pubnub::chan_ofs
union { ... } pubnub::http_buf
union { ... } pubnub::http_buf
unsigned pubnub::http_buf_len

Referenced by pubnub_publish(), and pubnub_subscribe().

bool pubnub::http_chunked
int pubnub::http_code
unsigned pubnub::http_content_len

Referenced by handle_tcpip_recv().

unsigned pubnub::http_content_remaining_len

Referenced by handle_tcpip_recv().

char pubnub::http_reply
enum pubnub_res pubnub::last_result

The result of the last PubNub transaction.

Referenced by handle_tcpip_connect(), handle_tcpip_recv(), main(), pubnub_init(), pubnub_publish(), and pubnub_subscribe().

char pubnub::line[PUBNUB_BUF_MAXLEN]
unsigned short pubnub::msg_end
unsigned short pubnub::msg_ofs
const char * pubnub::publish_key

Referenced by pubnub_init(), and pubnub_publish().

const char * pubnub::subscribe_key
enum pubnub_trans pubnub::trans

Network communication state.

Referenced by handle_tcpip_recv(), main(), pubnub_publish(), and pubnub_subscribe().

const char * pubnub::uuid

Referenced by pubnub_init(), and pubnub_subscribe().