ESP-IDF
ot::Srp::Server::TtlConfig
is only used within ESP-IDF.
Symbol previews are coming soon...
Symbols
loading...
Files
loading...
Summary
Syntax
Methods
Related
Examples
References
Call Tree
Data Use
Class Tree
Override Tree
Implementations
Instances
Lifecycle
SourceVu
ESP-IDF Framework and Examples
ESP-IDF
ot::Srp::Server::TtlConfig
ot::Srp::Server::TtlConfig class
Handles TTL configuration.
Syntax
Show:
Summary
Declaration
from
srp_server.hpp:598
class
TtlConfig
:
public
otSrpServerTtlConfig
{
friend
class
Server
;
public
:
TtlConfig
(
void
)
;
private
:
bool
IsValid
(
void
)
const
{
return
mMinTtl
<=
mMaxTtl
;
}
uint32_t
GrantTtl
(
uint32_t
aLease
,
uint32_t
aTtl
)
const
;
}
;
Methods
IsValid() const
GrantTtl() const
Related Functions
Found 2 other functions taking a
TtlConfig
argument:
Function
Description
ot::Srp::Server::SetTtlConfig()
Sets the TTL configuration.
ot::Srp::Server::GetTtlConfig() const
Returns the TTL configuration.
Examples
References
from
examples
Code
Location
Scope
Referrer
class
TtlConfig
:
public
otSrpServerTtlConfig
srp_server.hpp:598
DefineCoreType
(
otSrpServerTtlConfig
,
Srp
::
Server
::
TtlConfig
)
;
srp_server.hpp:1019
Server
::
TtlConfig
::
TtlConfig
(
void
)
srp_server.cpp:189
ot::Srp::Server::TtlConfig::TtlConfig()
Error
Server
::
SetTtlConfig
(
const
TtlConfig
&
aTtlConfig
)
srp_server.cpp:195
ot::Srp::Server::SetTtlConfig()
ot::Srp::Server::SetTtlConfig()::aTtlConfig
uint32_t
Server
::
TtlConfig
::
GrantTtl
(
uint32_t
aLease
,
uint32_t
aTtl
)
const
srp_server.cpp:206
ot::Srp::Server::TtlConfig::GrantTtl() const
const
TtlConfig
&
aTtlConfig
,
srp_server.cpp:444
ot::Srp::Server::CommitSrpUpdate()
const
TtlConfig
&
aTtlConfig
,
srp_server.cpp:1569
ot::Srp::Server::ProcessMessage()
void
GetTtlConfig
(
TtlConfig
&
aTtlConfig
)
const
{
aTtlConfig
=
mTtlConfig
;
}
srp_server.hpp:769
ot::Srp::Server::GetTtlConfig() const
ot::Srp::Server::GetTtlConfig() const::aTtlConfig
Error
SetTtlConfig
(
const
TtlConfig
&
aTtlConfig
)
;
srp_server.hpp:779
ot::Srp::Server::SetTtlConfig()
ot::Srp::Server::SetTtlConfig()::aTtlConfig
TtlConfig
mTtlConfig
;
srp_server.hpp:862
ot::Srp::Server::MessageMetadata
ot::Srp::Server::MessageMetadata::mTtlConfig
const
TtlConfig
&
GetTtlConfig
(
void
)
const
{
return
mTtlConfig
;
}
srp_server.hpp:880
ot::Srp::Server::UpdateMetadata
ot::Srp::Server::UpdateMetadata::GetTtlConfig() const
TtlConfig
mTtlConfig
;
// TTL config to use when processing the message.
srp_server.hpp:896
ot::Srp::Server::UpdateMetadata
ot::Srp::Server::UpdateMetadata::mTtlConfig
const
TtlConfig
&
aTtlConfig
,
srp_server.hpp:930
ot::Srp::Server::CommitSrpUpdate()
const
TtlConfig
&
aTtlConfig
,
srp_server.hpp:935
ot::Srp::Server::ProcessMessage()
TtlConfig
mTtlConfig
;
srp_server.hpp:993
ot::Srp::Server
ot::Srp::Server::mTtlConfig
DefineCoreType
(
otSrpServerTtlConfig
,
Srp
::
Server
::
TtlConfig
)
;
srp_server.hpp:1019
ot::CoreType::Type
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::Srp::Server::TtlConfig
is inherited by 1 classes:
All items filtered out
ot::Srp::Server::TtlConfig
otSrpServerTtlConfig
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
ot::Srp::Server::GetTtlConfig() const::aTtlConfig
ot::Srp::Server::GetTtlConfig() const
srp_server.hpp:769
ot::Srp::Server::SetTtlConfig()::aTtlConfig
ot::Srp::Server::SetTtlConfig()
srp_server.hpp:779
ot::Srp::Server::MessageMetadata::mTtlConfig
ot::Srp::Server::MessageMetadata
srp_server.hpp:862
return
ot::Srp::Server::UpdateMetadata::GetTtlConfig() const
srp_server.hpp:880
ot::Srp::Server::UpdateMetadata::mTtlConfig
ot::Srp::Server::UpdateMetadata
srp_server.hpp:896
ot::Srp::Server::mTtlConfig
ot::Srp::Server
srp_server.hpp:993
ot::CoreType::Type
srp_server.hpp:1019
ot::Srp::Server::SetTtlConfig()::aTtlConfig
ot::Srp::Server::SetTtlConfig()
srp_server.cpp:195
Lifecycle
from
examples
All items filtered out
All items filtered out