ESP-IDF
ot::Dns::ServiceDiscovery::Server::Counters
is only used within ESP-IDF.
Symbol previews are coming soon...
Symbols
loading...
Files
loading...
Summary
Syntax
Methods
Examples
References
Call Tree
Data Use
Class Tree
Override Tree
Implementations
Instances
Lifecycle
SourceVu
ESP-IDF Framework and Examples
ESP-IDF
ot::Dns::ServiceDiscovery::Server::Counters
ot::Dns::ServiceDiscovery::Server::Counters class
Contains the counters of the DNS-SD server.
Syntax
Show:
Summary
Declaration
from
dnssd_server.hpp:97
class
Counters
:
public
otDnssdCounters
,
public
Clearable
<
Counters
>
{
public
:
uint32_t
GetTotalQueries
(
void
)
const
{
return
mSuccessResponse
+
GetTotalFailedQueries
(
)
;
}
uint32_t
GetTotalFailedQueries
(
void
)
const
{
return
mServerFailureResponse
+
mFormatErrorResponse
+
mNameErrorResponse
+
mNotImplementedResponse
+
mOtherResponse
;
}
}
;
Methods
GetTotalQueries() const
Returns the total number of processed queries (successful or failed responses).
GetTotalFailedQueries() const
Returns the total number of failed queries (any error response code).
Examples
References
from
examples
Code
Location
Scope
Referrer
class
Counters
:
public
otDnssdCounters
,
public
Clearable
<
Counters
>
dnssd_server.hpp:97
const
Counters
&
GetCounters
(
void
)
const
{
return
mCounters
;
}
;
dnssd_server.hpp:285
ot::Dns::ServiceDiscovery::Server
ot::Dns::ServiceDiscovery::Server::GetCounters() const
Counters
mCounters
;
dnssd_server.hpp:593
ot::Dns::ServiceDiscovery::Server
ot::Dns::ServiceDiscovery::Server::mCounters
Call Tree
from
examples
All items filtered out
All items filtered out
Data Use
from
examples
All items filtered out
All items filtered out
Class Tree
from
examples
ot::Dns::ServiceDiscovery::Server::Counters
is inherited by 1 classes:
All items filtered out
ot::Dns::ServiceDiscovery::Server::Counters
otDnssdCounters
All items filtered out
Override Tree
from
examples
All items filtered out
All items filtered out
Implementations
from
examples
All items filtered out
All items filtered out
Instances
from
examples
Instance
Scope
Location
Project
return
ot::Dns::ServiceDiscovery::Server::GetCounters() const
dnssd_server.hpp:285
ot::Dns::ServiceDiscovery::Server::mCounters
ot::Dns::ServiceDiscovery::Server
dnssd_server.hpp:593
Lifecycle
from
examples
All items filtered out
All items filtered out