|
Couchbase C++ SDK 1.4.0 (rev. 59aa900)
|
#include <couchbase/endpoint_ping_report.hxx>
Public Member Functions | |
| endpoint_ping_report ()=default | |
| endpoint_ping_report (service_type type, std::string id, std::string local, std::string remote, ping_state state, std::optional< std::string > error, std::optional< std::string > endpoint_namespace, std::chrono::microseconds latency) | |
| auto | type () const -> service_type |
| Returns the service type for this endpoint. | |
| auto | id () const -> std::string |
| Returns the ID for this endpoint. | |
| auto | local () const -> std::string |
| Returns the local socket address for this endpoint. | |
| auto | remote () const -> std::string |
| Returns the remote socket address for this endpoint. | |
| auto | state () const -> ping_state |
| Returns the state of this ping when assembling the report. | |
| auto | error () const -> std::optional< std::string > |
| Returns the reason this ping did not succeed, if applicable. | |
| auto | endpoint_namespace () const -> std::optional< std::string > |
| Returns the namespace of this endpoint (likely the bucket name if present). | |
| auto | latency () const -> std::chrono::microseconds |
| Returns the latency of this ping. | |
|
default |
|
inline |
|
inlinenodiscard |
Returns the namespace of this endpoint (likely the bucket name if present).
|
inlinenodiscard |
Returns the reason this ping did not succeed, if applicable.
|
inlinenodiscard |
Returns the ID for this endpoint.
|
inlinenodiscard |
Returns the latency of this ping.
|
inlinenodiscard |
Returns the local socket address for this endpoint.
|
inlinenodiscard |
Returns the remote socket address for this endpoint.
|
inlinenodiscard |
Returns the state of this ping when assembling the report.
|
inlinenodiscard |
Returns the service type for this endpoint.