Apache Ignite C++ Client
Loading...
Searching...
No Matches
ignite::end_point Struct Reference

#include <end_point.h>

Public Member Functions

 end_point (std::string host, uint16_t port)
std::string to_string () const
int compare (const end_point &other) const

Public Attributes

std::string host
uint16_t port {0}

Detailed Description

Connection end point structure.

Constructor & Destructor Documentation

◆ end_point()

ignite::end_point::end_point ( std::string host,
uint16_t port )
inline

Constructor.

Parameters
hostHost.
portPort.

Member Function Documentation

◆ compare()

int ignite::end_point::compare ( const end_point & other) const
inlinenodiscard

compare to another instance.

Parameters
otherAnother instance.
Returns
Negative value if less, positive if larger and zero, if equals another instance.

◆ to_string()

std::string ignite::end_point::to_string ( ) const
inlinenodiscard

Convert to string.

Returns
String form.

Member Data Documentation

◆ host

std::string ignite::end_point::host

Remote host.

◆ port

uint16_t ignite::end_point::port {0}

TCP port.


The documentation for this struct was generated from the following file: