MySQL NDB Cluster API Developer Guide Ndb::createEventOperation()

Description.  This method creates a subscription to a database event.


NDB API event subscriptions do not persist after an NDB Cluster has been restored using ndb_restore; in such cases, all of the subscriptions must be recreated explicitly.


NdbEventOperation* createEventOperation
      const char *eventName

Parameters.  This method takes a single argument, the unique eventName identifying the event to which you wish to subscribe.

Return value.  A pointer to an NdbEventOperation object (or NULL, in the event of failure). See Section 2.3.21, “The NdbEventOperation Class”.