|
Couchbase C++ SDK 1.4.0 (rev. 59aa900)
|
#include <couchbase/endpoint_diagnostics.hxx>
Public Member Functions | |
| endpoint_diagnostics ()=default | |
| endpoint_diagnostics (service_type type, std::string id, std::optional< std::chrono::microseconds > last_activity, std::string local, std::string remote, std::optional< std::string > endpoint_namespace, endpoint_state state, std::optional< std::string > details) | |
| auto | type () const -> service_type |
| Returns the service type for this endpoint. | |
| auto | id () const -> std::string |
| Returns the ID for this endpoint. | |
| auto | last_activity () const -> std::optional< std::chrono::microseconds > |
| Returns the time since the last activity, if there has been one. | |
| 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 | endpoint_namespace () const -> std::optional< std::string > |
| Returns the namespace of this endpoint (likely the bucket name if present). | |
| auto | state () const -> endpoint_state |
| Returns the current state of the endpoint. | |
| auto | details () const -> std::optional< std::string > |
| Returns any additional details about the endpoint, if available. | |
|
default |
|
inline |
|
inlinenodiscard |
Returns any additional details about the endpoint, if available.
|
inlinenodiscard |
Returns the namespace of this endpoint (likely the bucket name if present).
|
inlinenodiscard |
Returns the ID for this endpoint.
|
inlinenodiscard |
Returns the time since the last activity, if there has been one.
|
inlinenodiscard |
Returns the local socket address for this endpoint.
|
inlinenodiscard |
Returns the remote socket address for this endpoint.
|
inlinenodiscard |
Returns the current state of the endpoint.
|
inlinenodiscard |
Returns the service type for this endpoint.