12 #include <ucp/api/ucp.h>
37 EndpointBuilder(std::shared_ptr<Worker> worker, std::string ipAddress, uint16_t port);
45 EndpointBuilder(std::shared_ptr<Listener> listener, ucp_conn_request_h connRequest);
53 EndpointBuilder(std::shared_ptr<Worker> worker, std::shared_ptr<Address> address);
93 std::unique_ptr<Impl> _impl;
105 std::
string ipAddress,
119 ucp_conn_request_h connRequest)
132 std::shared_ptr<Address> address)
Builder class for constructing std::shared_ptr<ucxx::Endpoint> objects.
Definition: endpoint_builder.h:28
EndpointBuilder(std::shared_ptr< Worker > worker, std::shared_ptr< Address > address)
Constructor for EndpointBuilder from a worker address.
EndpointBuilder & endpointErrorHandling(bool enable=true)
Configure endpoint error handling.
EndpointBuilder(std::shared_ptr< Worker > worker, std::string ipAddress, uint16_t port)
Constructor for EndpointBuilder from hostname and port.
std::shared_ptr< Endpoint > build()
Build and return the Endpoint.
EndpointBuilder(EndpointBuilder &&) noexcept
Move constructor.
EndpointBuilder(const EndpointBuilder &other)
Copy constructor (deep-copies internal state).
~EndpointBuilder()
EndpointBuilder destructor.
EndpointBuilder & operator=(const EndpointBuilder &other)
Copy assignment operator (deep-copies internal state).
EndpointBuilder(std::shared_ptr< Listener > listener, ucp_conn_request_h connRequest)
Constructor for EndpointBuilder from a connection request.
Component encapsulating a UCP endpoint.
Definition: endpoint.h:69
Component encapsulating a UCP worker.
Definition: worker.h:62
EndpointBuilder endpointBuilder(std::shared_ptr< Worker > worker, std::string ipAddress, uint16_t port)
Create an EndpointBuilder from hostname and port.
Definition: endpoint_builder.h:104