- open an annotation connection
#include <$OV_HEADER/ecs/ANNO/ANNO.h> int32 ANNO_open ( ESOK_ConnectionId conId, const char *circuitName, const char *annotateNodeName, ANNO_ConnectionId *annoId );
This function opens a connection between the caller and a specified correlation engine to receive specified annotation requests.
Annotation connections can be opened to a single correlation engine or to multiple correlation engines. A new annotation connection ID is set by each call of ANNO_open.
As part of the open operation, an annotate request filter can be specified. The filter limits the annotate requests received to those that match the circuit name and/or the Annotate node name specified.
Neither, one, or both of the circuitName and annotateNodeNameparameters can be specified. If neither parameter is specified then all annotation requests are received.
ESOK_ConnectionId conId
ESOK_open). This parameter identifies the target correlation engine.
const char *circuitName
const char *annotateNodeName
ANNO_ConnectionId *annoId
ECS_SUCCESS
ANNO_NOT_INITIALISED
ANNO_stackInit has not been called.
ANNO_BAD_CONNECTION
ESOK_RESOURCE_LIMIT
ESOK_COMMUNICATION_ERROR