Abstract interface for giving notifications about errors and status changes.
More...
#include <icluster_manager_configuration.h>
|
typedef Interface_declare< id1, ... > | Self |
| Own type. More...
|
|
typedef Uuid_t< id1, ... > | IID |
| Declares the interface ID (IID) of this interface. More...
|
|
typedef Uuid_t<0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0> | IID |
| Declares the interface ID (IID) of this interface. More...
|
|
static bool | compare_iid (const Uuid &iid) |
| Compares the interface ID iid against the interface ID of this interface and of its ancestors. More...
|
|
static bool | compare_iid (const Uuid &iid) |
| Compares the interface ID iid against the interface ID of this interface. More...
|
|
Abstract interface for giving notifications about errors and status changes.
- See also
- mi::neuraylib::ICluster_manager_connection::set_cluster_notification_callback()
◆ cluster_change_callback()
virtual void mi::neuraylib::ICluster_notification_callback::cluster_change_callback |
( |
| ) |
|
|
pure virtual |
This callback will be called when the user's cluster changed.
It will be called after a cluster reservation succeeded and after the cluster got released.
◆ cluster_ready_callback()
virtual void mi::neuraylib::ICluster_notification_callback::cluster_ready_callback |
( |
bool |
is_ready | ) |
|
|
pure virtual |
This callback will be called when the cluster is fully started and connected.
- Parameters
-
is_ready | True , if the cluster is up and ready to be connected |
◆ error_callback()
virtual void mi::neuraylib::ICluster_notification_callback::error_callback |
( |
| ) |
|
|
pure virtual |
This callback will be called when an error occurred, like the connection broke down.
◆ status_change_callback()
virtual void mi::neuraylib::ICluster_notification_callback::status_change_callback |
( |
| ) |
|
|
pure virtual |
This callback will be called when some node in the pool changed status, e.g., a cluster was reserved or released.