The watcher.objects.base
Module¶
Watcher common internal object model
-
class
watcher.objects.base.
WatcherComparableObject
[source]¶ Bases:
oslo_versionedobjects.base.ComparableVersionedObject
-
class
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.
-
class
watcher.objects.base.
WatcherObjectDictCompat
[source]¶ Bases:
oslo_versionedobjects.base.VersionedObjectDictCompat
-
class
watcher.objects.base.
WatcherObjectRegistry
[source]¶ Bases:
oslo_versionedobjects.base.VersionedObjectRegistry
-
classmethod
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.
-
classmethod
-
class
watcher.objects.base.
WatcherObjectSerializer
[source]¶ Bases:
oslo_versionedobjects.base.VersionedObjectSerializer
-
OBJ_BASE_CLASS
¶ alias of
WatcherObject
-