28 #ifndef INCLUDED_BLPAPI_EVENT 29 #define INCLUDED_BLPAPI_EVENT 98 #ifndef INCLUDED_BLPAPI_MESSAGE 102 #ifndef INCLUDED_BLPAPI_DEFS 311 virtual void purge();
408 : d_impl_p(original.d_impl_p)
427 swap(tmp.d_impl_p, d_impl_p);
461 *
event =
Event(impl);
474 inline MessageIterator::MessageIterator(
const Event& event)
493 return d_current_p ? true :
false;
498 if (createClonable) {
501 return Message(d_current_p, createClonable);
507 #endif // #ifdef __cplusplus 508 #endif // #ifndef INCLUDED_BLPAPI_EVENT #define BLPAPI_EVENTTYPE_TOKEN_STATUS
Definition: blpapi_defs.h:93
Status updates for a request.
Definition: blpapi_event.h:195
Definition: blpapi_message.h:159
#define BLPAPI_EVENTTYPE_RESOLUTION_STATUS
Definition: blpapi_defs.h:91
Status updates for user authorization.
Definition: blpapi_event.h:207
Status updates for a subscription.
Definition: blpapi_event.h:193
int blpapi_Event_eventType(const blpapi_Event_t *event)
int blpapi_EventQueue_purge(blpapi_EventQueue_t *eventQueue)
#define BLPAPI_EVENTTYPE_RESPONSE
Definition: blpapi_defs.h:85
Common definitions used by the library.
struct blpapi_Event blpapi_Event_t
Definition: blpapi_types.h:139
blpapi_EventQueue_t * handle() const
Definition: blpapi_event.h:468
blpapi_EventQueue_t * blpapi_EventQueue_create(void)
void blpapi_MessageIterator_destroy(blpapi_MessageIterator_t *iterator)
Status updates about topics for service providers.
Definition: blpapi_event.h:211
#define BLPAPI_EVENTTYPE_SESSION_STATUS
Definition: blpapi_defs.h:82
Definition: blpapi_abstractsession.h:215
#define BLPAPI_EVENTTYPE_TIMEOUT
Definition: blpapi_defs.h:89
Event & operator=(const Event &rhs)
Definition: blpapi_event.h:422
Data updates resulting from a subscription.
Definition: blpapi_event.h:201
#define BLPAPI_EVENTTYPE_ADMIN
Definition: blpapi_defs.h:81
The final (possibly only) response to a request.
Definition: blpapi_event.h:197
virtual Event nextEvent(int timeout=0)
Definition: blpapi_event.h:449
bool isValid() const
Definition: blpapi_event.h:491
#define BLPAPI_EVENTTYPE_AUTHORIZATION_STATUS
Definition: blpapi_defs.h:90
Definition: blpapi_event.h:278
Status updates for a generate token request.
Definition: blpapi_event.h:213
Status updates for a service.
Definition: blpapi_event.h:203
virtual int tryNextEvent(Event *event)
Definition: blpapi_event.h:454
struct blpapi_EventQueue blpapi_EventQueue_t
Definition: blpapi_types.h:148
EventType
The possible types of event.
Definition: blpapi_event.h:188
struct blpapi_Message blpapi_Message_t
Definition: blpapi_message.h:70
EventQueue()
Definition: blpapi_event.h:445
#define BLPAPI_EVENTTYPE_SUBSCRIPTION_DATA
Definition: blpapi_defs.h:87
Status updates for a resolution operation.
Definition: blpapi_event.h:209
bool next()
Definition: blpapi_event.h:486
EventType eventType() const
Definition: blpapi_event.h:432
#define BLPAPI_EVENTTYPE_TOPIC_STATUS
Definition: blpapi_defs.h:92
~MessageIterator()
Definition: blpapi_event.h:481
struct blpapi_MessageIterator blpapi_MessageIterator_t
Definition: blpapi_types.h:151
~Event()
Definition: blpapi_event.h:415
int blpapi_MessageIterator_next(blpapi_MessageIterator_t *iterator, blpapi_Message_t **result)
Admin event.
Definition: blpapi_event.h:189
Defines a message containing elements.
#define BLPAPI_EVENTTYPE_PARTIAL_RESPONSE
Definition: blpapi_defs.h:86
Event()
Definition: blpapi_event.h:397
#define BLPAPI_EVENTTYPE_REQUEST_STATUS
Definition: blpapi_defs.h:84
virtual void purge()
Definition: blpapi_event.h:466
A partial response to a request.
Definition: blpapi_event.h:199
Request event. Provided to ProviderSession only.
Definition: blpapi_event.h:215
bool isValid() const
Definition: blpapi_event.h:437
Definition: blpapi_event.h:182
#define BLPAPI_EVENTTYPE_SERVICE_STATUS
Definition: blpapi_defs.h:88
blpapi_MessageIterator_t * blpapi_MessageIterator_create(const blpapi_Event_t *event)
Definition: blpapi_event.h:336
#define BLPAPI_EXPORT
Definition: blpapi_defs.h:171
blpapi_Event_t * blpapi_EventQueue_nextEvent(blpapi_EventQueue_t *eventQueue, int timeout)
int blpapi_EventQueue_destroy(blpapi_EventQueue_t *eventQueue)
#define BLPAPI_CALL_MESSAGE_ADDREF(a1)
Definition: blpapi_call.h:360
blpapi_Event_t * impl() const
Definition: blpapi_event.h:439
int blpapi_EventQueue_tryNextEvent(blpapi_EventQueue_t *eventQueue, blpapi_Event_t **eventPointer)
#define BLPAPI_EVENTTYPE_SUBSCRIPTION_STATUS
Definition: blpapi_defs.h:83
An Event returned from Session::nextEvent() if it timed out.
Definition: blpapi_event.h:205
#define BLPAPI_EVENTTYPE_REQUEST
Definition: blpapi_defs.h:94
int blpapi_Event_addRef(const blpapi_Event_t *event)
Message message(bool createClonable=false) const
Definition: blpapi_event.h:496
virtual ~EventQueue()
Definition: blpapi_event.h:447
Status updates for a session.
Definition: blpapi_event.h:191
Definition: blpapi_event.h:217
int blpapi_Event_release(const blpapi_Event_t *event)