TIBCO ActiveSpaces®
|
Table Listeners receive event objects in their callback to indicate that a change has occurred on the table they are listening on. More...
Enumerations | |
enum | tibdgEventErrorCode { TIBDG_EVENT_ERROR_CODE_INVALID, TIBDG_EVENT_ERROR_CODE_TABLE_DELETED, TIBDG_EVENT_ERROR_CODE_COPYSET_LEADER_FAILURE, TIBDG_EVENT_ERROR_CODE_GRID_REDISTRIBUTING } |
Enum representing the type of error. More... | |
enum | tibdgEventType { TIBDG_EVENT_TYPE_INVALID, TIBDG_EVENT_TYPE_PUT, TIBDG_EVENT_TYPE_DELETE, TIBDG_EVENT_TYPE_ERROR, TIBDG_EVENT_TYPE_EXPIRED } |
Enum representing the type of a tibdgEvent. More... | |
Functions | |
TIBDG_API tibdgRow | tibdgEvent_GetCurrent (tibEx e, tibdgEvent event) |
Get the value of the tibdgRow after the Put operation. More... | |
TIBDG_API tibdgEventErrorCode | tibdgEvent_GetErrorCode (tibEx e, tibdgEvent event) |
Get the tibdgEventErrorCode from an error event. More... | |
TIBDG_API const char * | tibdgEvent_GetErrorDescription (tibEx e, tibdgEvent event) |
Get the description of the error from an error event. More... | |
TIBDG_API tibdgRow | tibdgEvent_GetPrevious (tibEx e, tibdgEvent event) |
Get the value of the tibdgRow prior to the Put or Delete operation. More... | |
TIBDG_API tibdgEventType | tibdgEvent_GetType (tibEx e, tibdgEvent event) |
Get the tibdgEventType for this event. More... | |
TIBDG_API const char * | tibdgEventErrorCode_ToString (tibEx e, tibdgEventErrorCode eventErrorCode) |
Get the string representation of the event error code. More... | |
TIBDG_API const char * | tibdgEventType_ToString (tibEx e, tibdgEventType eventType) |
Get the string representation of the event type. More... | |
Table Listeners receive event objects in their callback to indicate that a change has occurred on the table they are listening on.
Event objects are owned by the ActiveSpaces library and must not be accessed outside of the span of the Table Listener's callback function.
enum tibdgEventErrorCode |
Enum representing the type of error.
enum tibdgEventType |
Enum representing the type of a tibdgEvent.
TIBDG_API tibdgRow tibdgEvent_GetCurrent | ( | tibEx | e, |
tibdgEvent | event | ||
) |
Get the value of the tibdgRow after the Put operation.
e | The exception object captures information about failures. |
event | The event |
TIBDG_API tibdgEventErrorCode tibdgEvent_GetErrorCode | ( | tibEx | e, |
tibdgEvent | event | ||
) |
Get the tibdgEventErrorCode from an error event.
e | The exception object captures information about failures. |
event | The event |
TIBDG_API const char* tibdgEvent_GetErrorDescription | ( | tibEx | e, |
tibdgEvent | event | ||
) |
Get the description of the error from an error event.
e | The exception object captures information about failures. |
event | The event |
TIBDG_API tibdgRow tibdgEvent_GetPrevious | ( | tibEx | e, |
tibdgEvent | event | ||
) |
Get the value of the tibdgRow prior to the Put or Delete operation.
e | The exception object captures information about failures. |
event | The event |
TIBDG_API tibdgEventType tibdgEvent_GetType | ( | tibEx | e, |
tibdgEvent | event | ||
) |
Get the tibdgEventType for this event.
e | The exception object captures information about failures. |
event | The event |
TIBDG_API const char* tibdgEventErrorCode_ToString | ( | tibEx | e, |
tibdgEventErrorCode | eventErrorCode | ||
) |
Get the string representation of the event error code.
e | The exception object captures information about failures. |
eventErrorCode | The error code to convert |
NULL
. TIBDG_API const char* tibdgEventType_ToString | ( | tibEx | e, |
tibdgEventType | eventType | ||
) |
Get the string representation of the event type.
e | The exception object captures information about failures. |
eventType | The type to convert |
NULL
.