- send an annotation response
#include <$OV_HEADER/ecs/ANNO/ANNO.h> int32 ANNO_sendResponse ( const ANNO_ConnectionId annoId, ANNO_RequestId requestId, EV_AttrValue *annoResponse );
This function is used to send an annotation response to a correlation engine over an already open annotation connection. With an annoResponse value of zero, this function is used to free resources without sending a response, for example, after an error.
const ANNO_ConnectionId annoId
ANNO_RequestId requestId
EV_AttrValue *annoResponse
EV_AttrValue of type EV_LIST. If zero is specified, resources associated with the annotation request are deallocated, but no response is sent to the correlation engine.
ECS_SUCCESS
ECS_BAD_PARAMETER
ECS_ERROR
ANNO_NOT_INITIALISED
ANNO_stackInit has not been called.
ANNO_BAD_CONNECTION
ESOK_COMMUNICATION_ERROR