[DEPRECATED]
PluginContext function API.
More...
#include <correlator_plugin.h>
|
| AP_uint32 (AP_PLUGIN_CALL *version)(const AP_PluginContext *ctx) |
|
AP_PluginChunk *AP_PLUGIN_CALL * | createChunk (const AP_PluginContext *ctx, const struct AP_PluginChunk_Callbacks *callbacks, void *userData) |
|
| void (AP_PLUGIN_CALL *deleteChunk)(const AP_PluginContext *ctx |
|
| AP_bool (AP_PLUGIN_CALL *checkException)(const AP_PluginContext *ctx) |
|
| AP_CorrelatorPluginExceptionType (AP_PLUGIN_CALL *getExceptionType)(const AP_PluginContext *ctx) |
|
const AP_char8 *AP_PLUGIN_CALL * | getExceptionMessage (const AP_PluginContext *ctx) |
|
| void (AP_PLUGIN_CALL *clearException)(const AP_PluginContext *ctx) |
|
AP_PluginCorrelatorInterface *AP_PLUGIN_CALL * | getCorrelator (const AP_PluginContext *ctx) |
|
| void (AP_PLUGIN_CALL *char8free)(AP_char8 *ptr) |
|
| AP_uint64 (AP_PLUGIN_CALL *getContextId)(const AP_PluginContext *ctx) |
|
[DEPRECATED]
PluginContext function API.
- Deprecated:
- This class has been deprecated.
◆ AP_bool()
AP_PluginContext_Functions::AP_bool |
( |
AP_PLUGIN_CALL * |
checkException | ) |
const |
- Deprecated:
- Returns true if an exception has occurred since the last time that clearException was called
◆ AP_CorrelatorPluginExceptionType()
AP_PluginContext_Functions::AP_CorrelatorPluginExceptionType |
( |
AP_PLUGIN_CALL * |
getExceptionType | ) |
const |
- Deprecated:
- Returns the type of the most recent exception
◆ AP_uint32()
AP_PluginContext_Functions::AP_uint32 |
( |
AP_PLUGIN_CALL * |
version | ) |
const |
◆ AP_uint64()
AP_PluginContext_Functions::AP_uint64 |
( |
AP_PLUGIN_CALL * |
getContextId | ) |
const |
- Deprecated:
- Return the identifier of the EPL (parallelism) context associated with this plugin execution context.
◆ createChunk()
AP_PluginChunk* AP_PLUGIN_CALL* AP_PluginContext_Functions::createChunk |
( |
const AP_PluginContext * |
ctx, |
|
|
const struct AP_PluginChunk_Callbacks * |
callbacks, |
|
|
void * |
userData |
|
) |
| |
- Deprecated:
- Create a chunk.
userData will always be freed using the supplied callback after using this in a call. You should not explicitly delete this chunk or the supplied userData.
- Parameters
-
ctx | the plug-in context. |
userData | a void pointer to your data to be held in the chunk |
callbacks | a function pointer structure to free or copy userData |
◆ getCorrelator()
AP_PluginCorrelatorInterface* AP_PLUGIN_CALL* AP_PluginContext_Functions::getCorrelator |
( |
const AP_PluginContext * |
ctx | ) |
|
◆ getExceptionMessage()
const AP_char8* AP_PLUGIN_CALL* AP_PluginContext_Functions::getExceptionMessage |
( |
const AP_PluginContext * |
ctx | ) |
|
- Deprecated:
- Returns the message of the most recent exception
◆ void() [1/3]
AP_PluginContext_Functions::void |
( |
AP_PLUGIN_CALL * |
deleteChunk | ) |
const |
◆ void() [2/3]
AP_PluginContext_Functions::void |
( |
AP_PLUGIN_CALL * |
clearException | ) |
const |
- Deprecated:
- Clears the flag of whether an exception has occurred
◆ void() [3/3]
AP_PluginContext_Functions::void |
( |
AP_PLUGIN_CALL * |
char8free | ) |
|
- Deprecated:
- Free the memory occupied by a string created by the plugin API.
ptr is the source string to be freed.
- Parameters
-
The documentation for this struct was generated from the following file: