Represents a local UCX address.
More...
#include <ucxpp/address.h>
Represents a local UCX address.
◆ local_address() [1/2]
ucxpp::local_address::local_address |
( |
std::shared_ptr< worker const > |
worker, |
|
|
ucp_address_t * |
address, |
|
|
size_t |
address_length |
|
) |
| |
Construct a new local address object.
- Parameters
-
worker | UCX worker |
address | UCP address |
address_length | UCP address length |
◆ local_address() [2/2]
Construct a new local address object.
- Parameters
-
other | Another local address object to move from |
◆ get_address()
const ucp_address_t * ucxpp::local_address::get_address |
( |
| ) |
const |
Get the UCP address.
- Returns
- const ucp_address_t* The UCP address
◆ get_length()
size_t ucxpp::local_address::get_length |
( |
| ) |
const |
Get the length of the address.
- Returns
- size_t The address length
◆ operator=()
Move assignment operator.
- Parameters
-
other | Another local address object to move from |
- Returns
- local_address& This object
◆ serialize()
std::vector< char > ucxpp::local_address::serialize |
( |
| ) |
const |
Serialize the address to a buffer ready to be sent to a remote peer.
- Returns
- std::vector<char> The serialized address
The documentation for this class was generated from the following files: