Documentation Home
MySQL NDB Cluster API Developer Guide
Download this Manual

2.3.16.4 Ndb::createEventOperation()

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

Note

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.

Signature. 

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”.


User Comments
Sign Up Login You must be logged in to post a comment.