10 #include <ucp/api/ucp.h>
12 #include <ucxx/address_builder.h>
13 #include <ucxx/component.h>
14 #include <ucxx/worker.h>
28 ucp_address_t* _handle{
nullptr};
47 Address(std::shared_ptr<Worker> worker, ucp_address_t* address,
size_t length);
59 friend class detail::ConstructorFactory;
Component encapsulating the address of a UCP worker.
Definition: address.h:26
size_t getLength() const
Get the length of the ucp_address_t* handle.
ucp_address_t * getHandle() const
Get the underlying ucp_address_t* handle.
std::string_view getStringView() const
Get a non-owning view of the address as a string.
A UCXX component class to prevent early destruction of parent object.
Definition: component.h:21