|
OXY-SYNC-CONTAINER 1.0
OXY-SYNC-CONTAINER Library Documentation
|
Interface for sync container operations. More...
#include <api.hpp>
Public Member Functions | |
| virtual | ~ISyncContainer ()=default |
| Virtual destructor for the interface. | |
| virtual void | clone (oid_t const &container, std::string const &identifier)=0 |
| Clone a container with a given customer identifier. | |
| virtual void | fetch (connection_ptr const &conn, std::string const &identifier)=0 |
| Fetch data from a connection with a given customer identifier. | |
| virtual oids | merge (connection_ptr const &conn, signature_t const &author)=0 |
| Merge data from a connection with a given author signature. | |
| virtual void | push (connection_ptr const &conn, signature_t const &author, std::string const &identifier)=0 |
| Push data to a connection with a given author signature and identifier. | |
Interface for sync container operations.
This interface defines methods for cloning, fetching, merging, and pushing data in a sync container.
|
pure virtual |
Clone a container with a given customer identifier.
| container | - The identifier of the container to clone. |
| identifier | - The customer identifier to use for the operation. |
|
pure virtual |
Fetch data from a connection with a given customer identifier.
| conn | - The connection pointer to use for the operation. |
| identifier | - The customer identifier to use for the operation. |
|
pure virtual |
Merge data from a connection with a given author signature.
| conn | - The connection pointer to use for the operation. |
| author | - The author signature to use for the operation. |
|
pure virtual |
Push data to a connection with a given author signature and identifier.
| conn | - The connection pointer to use for the operation. |
| author | - The author signature to use for the operation. |
| identifier | - The customer identifier to use for the operation. |