watcher.objects.base
Module¶Watcher common internal object model
watcher.objects.base.
WatcherComparableObject
[source]¶Bases: oslo_versionedobjects.base.ComparableVersionedObject
watcher.objects.base.
WatcherObject
(context=None, **kwargs)[source]¶Bases: oslo_versionedobjects.base.VersionedObject
Base class and object factory.
This forms the base of all objects that can be remoted or instantiated via RPC. Simply defining a class that inherits from this base class will make it remotely instantiatable. Objects should implement the necessary “get” classmethod routines as well as “save” object methods as appropriate.
watcher.objects.base.
WatcherObjectDictCompat
[source]¶Bases: oslo_versionedobjects.base.VersionedObjectDictCompat
watcher.objects.base.
WatcherObjectRegistry
[source]¶Bases: oslo_versionedobjects.base.VersionedObjectRegistry
register_notification
(notification_cls)[source]¶Register a class as notification.
Use only to register concrete notification or payload classes, do not register base classes intended for inheritance only.
watcher.objects.base.
WatcherObjectSerializer
[source]¶Bases: oslo_versionedobjects.base.VersionedObjectSerializer
OBJ_BASE_CLASS
¶alias of WatcherObject
Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.