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_sync
pubnub_sync.h
00001 /* -*- c-file-style:"stroustrup"; indent-tabs-mode: nil -*- */ 00002 #if !defined INC_PUBNUB_MBED_SYNC 00003 #define INC_PUBNUB_MBED_SYNC 00004 00005 /** @mainpage The MBed Pubnub client library - sync interface 00006 00007 This is the "sync" interface of the Pubnub client library for 00008 MBed. 00009 00010 The "sync" interface has these characteristics: 00011 - There is no "callback" on the end of a transaction. Instead, 00012 you should check (via pubnub_last_result()) to see if the 00013 transaction completed, or if you don't need to do anything 00014 else on the thread until the transaction is completed (including 00015 possible thread shutdown), you can call pubnub_await() which 00016 will do it for you (and return the final result). 00017 00018 You can have multiple pubnub contexts established; in each 00019 context, at most one Pubnub API call/transaction may be ongoing 00020 (typically a "publish" or a "subscribe"). 00021 00022 */ 00023 00024 /** @file pubnub_sync.h */ 00025 00026 #include "pubnub_config.h" 00027 00028 /* -- You should not change anything below this line -- */ 00029 00030 #include "pubnub_alloc.h" 00031 #include "pubnub_assert.h" 00032 #include "pubnub_coreapi.h" 00033 #include "pubnub_ntf_sync.h" 00034 #include "pubnub_generate_uuid.h" 00035 #include "pubnub_blocking_io.h" 00036 00037 00038 #endif /* !defined INC_PUBNUB_MBED_SYNC */
Generated on Thu Jul 28 2022 01:33:33 by 1.7.2