The Active Replication Fabric Applications in C page describes the general principles of eXtremeDB Active Replication Fabric application design and implementation.
Please use the links below to view Reference Guide pages for the eXtremeDB Active Replication Fabric API functions:
Initialization
Communicator Functions
Set the default values for the communicator.Create a communicator object.Register callback functions.Delete the callback function from the specified context.Create a socket to listen on the specified IP address.Close the listen socket.Callconnect()on the specified address asynchronously.Interrupt the asynchronous connect initiated throughmco_iot_comm_connect_async().Find a connection byagentId.Get the next active connection.Stop the communicator.Destroy the communicator.Connection Handle API
Return the connection address.Return the remote nodeagentId.Receive connection statistics.Receive the last error description.Return the communicator the current connection belongs to.Release the "pinned" connection.Drop the connection.Replicator Functions
Set the default values for the replicator.Create a replicator object.Callconnect()synchronously.Return the underlying communicator for the specified replicator.Return theagent_idof the specified node.Return the level of the specified node.Change the level of the router at runtime.Start the node's synchronization.Delete data that has been transmitted and acknowledged by the peer.Delete data only from the specified class that has been transmitted and acknowledged by the peer.Enumerate the active connections.Stop the replicator.Destroy the replicator.Edge Database API
Initializes the edge runtime.Shuts down the edge runtime.Initializes the edge parameters.Opens(creates) an edge database.Closes an edge database.Connects to an edge database.Disconnects from an edge database.Transaction Control API (Edge Database)
Starts a transaction.Commits a transaction.Rolls back a transaction.Checks if the edge database has space available.Returns the total space available in the edge database.Returns the amount of space used in the edge database.Sends successfully committed transactions to the server.Removes completed transactions from the edge database.For details on network interaction between the Edge Client and the IoT Server, see the Edge Client Socket Interface page.