holoscan::distributed::ServiceDriverEndpoint
holoscan::distributed::ServiceDriverEndpoint
holoscan::distributed::ServiceDriverEndpoint
Interface for services that act as driver endpoints in distributed applications.
ServiceDriverEndpoint defines the interface for services that need to coordinate distributed operations from a driver fragment. The driver typically acts as a central coordinator for distributed services across multiple worker fragments.
Start the driver endpoint for distributed coordination.
This method is called by the framework on the driver fragment when the distributed application starts. Implementations should initialize any necessary resources for coordinating with worker fragments.
Parameters
The IP address of the driver fragment.
Shutdown the driver endpoint.
This method is called by the framework when the distributed application is shutting down. Implementations should clean up resources and notify any connected workers of the shutdown.