Reads an event notification.
public ul_bool ULGetNotification(
SQLCA * sqlca,
char const * queue_name,
char * event_name_buf,
ul_length event_name_buf_len,
ul_u_long wait_ms
)
sqlca A pointer to the SQLCA.
queue_name The queue to read or NULL for the default connection queue.
event_name_buf A buffer to hold the name of the event.
event_name_buf_len The size of the buffer in bytes.
wait_ms The time, in milliseconds, to wait (block) before returning.
True on success; otherwise, returns false.
This call blocks until a notification is received or until the given wait period expires. Pass UL_READ_WAIT_INFINITE to the wait_ms parameter to wait indefinitely. To cancel a wait, send another notification to the given queue or use the ULCancelGetNotification method. After reading a notification, use the ULGetNotificationParameter method to retrieve additional parameters by name.
![]() |
Discuss this page in DocCommentXchange.
|
Copyright © 2012, iAnywhere Solutions, Inc. - SQL Anywhere 12.0.1 |