This is the Pubnub library for MBed2 ("classic") with the "sync" interface. It is based on the Pubnub C-core library.

Dependencies:   Pubnub_c_core_mbed2_pal

Dependents:   Pubnub_ATT_IoT_SK_WNC_sync Pubnub_ATT_IOT_SK_WNC_AnalogIn_Issue Pubnub_ATT_IoT_SK_WNC_sync_3_27_Fork pubnub_sync

pubnub_sync.h

Committer:
sveljko
Date:
2016-11-11
Revision:
2:4d49720c7200
Parent:
0:243e0d70a1d5

File content as of revision 2:4d49720c7200:

/* -*- c-file-style:"stroustrup"; indent-tabs-mode: nil -*- */
#if !defined INC_PUBNUB_MBED_SYNC
#define	INC_PUBNUB_MBED_SYNC

/** @mainpage The MBed Pubnub client library - sync interface

    This is the "sync" interface of the Pubnub client library for
    MBed. 

    The "sync" interface has these characteristics:
    - There is no "callback" on the end of a transaction. Instead,
    you should check (via pubnub_last_result()) to see if the 
    transaction completed, or if you don't need to do anything
    else on the thread until the transaction is completed (including
    possible thread shutdown), you can call pubnub_await() which
    will do it for you (and return the final result).

    You can have multiple pubnub contexts established; in each
    context, at most one Pubnub API call/transaction may be ongoing
    (typically a "publish" or a "subscribe").
    
 */

/** @file pubnub_sync.h */

#include "pubnub_config.h"

/* -- You should not change anything below this line -- */

#include "pubnub_alloc.h"
#include "pubnub_assert.h"
#include "pubnub_coreapi.h"
#include "pubnub_ntf_sync.h"
#include "pubnub_generate_uuid.h"
#include "pubnub_blocking_io.h"


#endif /* !defined INC_PUBNUB_MBED_SYNC */