|
virtual void | onObjectAdded (CBE::ObjectPtr object) |
|
virtual void | onMetadataAdded (CBE::ObjectPtr object) |
|
virtual void | onObjectMoved (CBE::ObjectPtr object) |
|
virtual void | onObjectRemoved (CBE::item_id_t objectId, std::string name) |
|
virtual void | onObjectRenamed (CBE::ObjectPtr object) |
|
virtual void | onObjectUpdated (CBE::ObjectPtr object) |
|
virtual void | onStreamsLoaded (CBE::ObjectPtr object) |
|
virtual void | onContainerAdded (CBE::ContainerPtr container) |
|
virtual void | onContainerMoved (CBE::ContainerPtr container) |
|
virtual void | onContainerRemoved (CBE::item_id_t containerId, std::string name) |
|
virtual void | onContainerRenamed (CBE::ContainerPtr container) |
|
virtual void | onContainerRestored (CBE::ContainerPtr container) |
|
virtual void | onQueryLoaded (CBE::QueryResultPtr dir) |
|
virtual void | onLoadError (CBE::Filter filter, uint32_t operation, uint32_t code, std::string reason, std::string message) |
|
virtual void | onJoinError (uint32_t operation, uint32_t code, std::string reason, std::string message) |
|
virtual void | onItemError (CBE::ItemPtr container, CBE::item_t type, uint32_t operation, uint32_t failedAtState, uint32_t code, std::string reason, std::string message) |
|
◆ onObjectAdded()
virtual void CBE::ItemEventProtocol::onObjectAdded |
( |
CBE::ObjectPtr |
object | ) |
|
|
inlinevirtual |
Gets called when a Object has been added.
◆ onMetadataAdded()
virtual void CBE::ItemEventProtocol::onMetadataAdded |
( |
CBE::ObjectPtr |
object | ) |
|
|
inlinevirtual |
Gets called when Metadata has been saved/Added.
◆ onObjectMoved()
virtual void CBE::ItemEventProtocol::onObjectMoved |
( |
CBE::ObjectPtr |
object | ) |
|
|
inlinevirtual |
Gets called when a Object has been moved.
◆ onObjectRemoved()
virtual void CBE::ItemEventProtocol::onObjectRemoved |
( |
CBE::item_id_t |
objectId, |
|
|
std::string |
name |
|
) |
| |
|
inlinevirtual |
Gets called when a Object has been removed.
◆ onObjectRenamed()
virtual void CBE::ItemEventProtocol::onObjectRenamed |
( |
CBE::ObjectPtr |
object | ) |
|
|
inlinevirtual |
Gets called when a Object has been renamed.
◆ onObjectUpdated()
virtual void CBE::ItemEventProtocol::onObjectUpdated |
( |
CBE::ObjectPtr |
object | ) |
|
|
inlinevirtual |
Gets called when a Object has been Updated.
◆ onStreamsLoaded()
virtual void CBE::ItemEventProtocol::onStreamsLoaded |
( |
CBE::ObjectPtr |
object | ) |
|
|
inlinevirtual |
Gets called when a Object has been Updated.
◆ onContainerAdded()
virtual void CBE::ItemEventProtocol::onContainerAdded |
( |
CBE::ContainerPtr |
container | ) |
|
|
inlinevirtual |
◆ onContainerMoved()
virtual void CBE::ItemEventProtocol::onContainerMoved |
( |
CBE::ContainerPtr |
container | ) |
|
|
inlinevirtual |
◆ onContainerRemoved()
virtual void CBE::ItemEventProtocol::onContainerRemoved |
( |
CBE::item_id_t |
containerId, |
|
|
std::string |
name |
|
) |
| |
|
inlinevirtual |
Gets called when a Container has been removed.
◆ onContainerRenamed()
virtual void CBE::ItemEventProtocol::onContainerRenamed |
( |
CBE::ContainerPtr |
container | ) |
|
|
inlinevirtual |
Gets called when a Container has been renamed.
◆ onContainerRestored()
virtual void CBE::ItemEventProtocol::onContainerRestored |
( |
CBE::ContainerPtr |
container | ) |
|
|
inlinevirtual |
Gets called when a Container has been restored.
◆ onQueryLoaded()
virtual void CBE::ItemEventProtocol::onQueryLoaded |
( |
CBE::QueryResultPtr |
dir | ) |
|
|
inlinevirtual |
Gets called when a Query has been loaded either from cache or edge / cloud
◆ onLoadError()
virtual void CBE::ItemEventProtocol::onLoadError |
( |
CBE::Filter |
filter, |
|
|
uint32_t |
operation, |
|
|
uint32_t |
code, |
|
|
std::string |
reason, |
|
|
std::string |
message |
|
) |
| |
|
inlinevirtual |
If a query fail e.g a filter requesting a container or object that does not exists, a loadError will happen. "In the future when there will be micro clouds with edge nodes including central clouds you will be able to ask for containers and objects from different peering points in the hierarchy and might then fail if the object or container is not loacated in that point (due to settings in where you want data replicated).
◆ onJoinError()
virtual void CBE::ItemEventProtocol::onJoinError |
( |
uint32_t |
operation, |
|
|
uint32_t |
code, |
|
|
std::string |
reason, |
|
|
std::string |
message |
|
) |
| |
|
inlinevirtual |
Gets called when an join error has happened, ex: Bad Request in form of key word searching for table does not exist.
◆ onItemError()
virtual void CBE::ItemEventProtocol::onItemError |
( |
CBE::ItemPtr |
container, |
|
|
CBE::item_t |
type, |
|
|
uint32_t |
operation, |
|
|
uint32_t |
failedAtState, |
|
|
uint32_t |
code, |
|
|
std::string |
reason, |
|
|
std::string |
message |
|
) |
| |
|
inlinevirtual |
Gets called when an error regarding an item occurred. e.g create rename, move, remove
The documentation for this class was generated from the following file: