For AI agents: a documentation index is available at the root level at /llms.txt and /llms-full.txt. Append /llms.txt to any URL for a page-level index, or .md for the markdown version of any page.
  • Introduction
    • Overview
    • Relevant Technologies
    • Getting Started
  • Setup
    • SDK Installation
    • Additional Setup
    • Third Party Hardware Setup
  • Using the SDK
    • Holoscan Core
    • GPU Resident Execution
    • Holoscan by Example
    • Create an Application
    • Create a Distributed Application
    • Create an Operator
    • Create an Operator via Decorator
    • Create a Condition
    • Dynamic Flow Control
    • CUDA Stream Handling
    • Logging
    • Data Logging
    • Debugging
    • Python Operator Bindings
  • Operators
    • Operators and Extensions
    • Visualization
    • Inference
    • Testing
    • Video I/O Vendor Implementation Guide
  • Components
    • Schedulers
    • Conditions
    • Resources
    • Analytics
  • AI Skills
    • Ai Skills
  • API reference
              • AppDriverServer
              • AppWorkerServer
              • ServiceDriverEndpoint
              • ServiceWorkerEndpoint
  • Performance
    • Performance Considerations
    • Flow Tracking
    • GXF Job Statistics
    • Nsight Profiling
  • HoloHub
    • HoloHub Overview
  • FAQ
    • FAQ
NVIDIANVIDIA
Developer-friendly docs for your API
Privacy Policy | Your Privacy Choices | Terms of Service | Accessibility | Corporate Policies | Product Security | Contact

Copyright © 2026, NVIDIA Corporation.

LogoLogoDocumentation
On this page
  • Constructors
  • ServiceWorkerEndpoint
  • Destructor
  • ~ServiceWorkerEndpoint
  • Methods
  • worker_connect
  • worker_disconnect
API referenceC++ APIHoloscanNamespacesDistributedClasses

holoscan::distributed::ServiceWorkerEndpoint

Beta
||View as Markdown|
Previous

holoscan::distributed::ServiceDriverEndpoint

Next

holoscan::distributed::kDefaultAppDriverPort

Interface for services that act as worker endpoints in distributed applications.

ServiceWorkerEndpoint defines the interface for services that participate as workers in a distributed application. Workers typically connect to a driver fragment to participate in distributed coordination.

#include <holoscan/distributed/fragment_service.hpp>

Constructors

ServiceWorkerEndpoint

holoscan::distributed::ServiceWorkerEndpoint::ServiceWorkerEndpoint() = defaultholoscan::distributed::ServiceWorkerEndpoint::ServiceWorkerEndpoint() = default

Destructor

~ServiceWorkerEndpoint

virtual holoscan::distributed::ServiceWorkerEndpoint::~ServiceWorkerEndpoint() = defaultvirtual holoscan::distributed::ServiceWorkerEndpoint::~ServiceWorkerEndpoint() = default

Methods

worker_connect

virtual void holoscan::distributed::ServiceWorkerEndpoint::worker_connect(
std::string_view driver_ip
)

Connect the worker endpoint to the driver.

This method is called by the framework on worker fragments to establish a connection with the driver fragment. Implementations should connect to the driver and prepare to participate in distributed operations.

Parameters

driver_ip
std::string_view

The IP address of the driver fragment to connect to.

worker_disconnect

virtual void holoscan::distributed::ServiceWorkerEndpoint::worker_disconnect()

Disconnect the worker endpoint from the driver.

This method is called by the framework when the worker needs to disconnect from the driver. Implementations should clean up the connection and any associated resources.