ESP-IDF
ot::NetworkData::Publisher::DnsSrpServiceEntry::Info
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::NetworkData::Publisher::DnsSrpServiceEntry::Info
ot::NetworkData::Publisher::DnsSrpServiceEntry::Info class
Syntax
Show:
Summary
Declaration
from
network_data_publisher.hpp:389
class
Info
:
public
Clearable
<
Info
>
,
public
Equatable
<
Info
>
{
public
:
Info
(
void
)
{
Clear
(
)
;
}
Type
GetType
(
void
)
const
{
return
mType
;
}
uint8_t
GetSequenceNumber
(
void
)
const
{
return
static_cast
<
uint8_t
>
(
mPortOrSeqNumber
)
;
}
uint16_t
GetPort
(
void
)
const
{
return
mPortOrSeqNumber
;
}
const
Ip6
::
Address
&
GetAddress
(
void
)
const
{
return
mAddress
;
}
void
SetAddress
(
const
Ip6
::
Address
&
aAddress
)
{
mAddress
=
aAddress
;
}
static
Info
InfoAnycast
(
uint8_t
aSequenceNumber
)
{
return
Info
(
kTypeAnycast
,
aSequenceNumber
)
;
}
static
Info
InfoUnicast
(
Type
aType
,
const
Ip6
::
Address
&
aAddress
,
uint16_t
aPort
)
{
return
Info
(
aType
,
aPort
,
&
aAddress
)
;
}
private
:
Info
(
Type
aType
,
uint16_t
aPortOrSeqNumber
,
const
Ip6
::
Address
*
aAddress
=
nullptr
)
;
Ip6
::
Address
mAddress
;
uint16_t
mPortOrSeqNumber
;
Type
mType
;
}
;
Fields
Field
Declared as
ot::NetworkData::Publisher::DnsSrpServiceEntry::Info::mAddress
Ip6
::
Address
ot::NetworkData::Publisher::DnsSrpServiceEntry::Info::mPortOrSeqNumber
uint16_t
ot::NetworkData::Publisher::DnsSrpServiceEntry::Info::mType
Type
Methods
GetType() const
GetSequenceNumber() const
GetPort() const
GetAddress() const
SetAddress()
InfoAnycast()
InfoUnicast()
Examples
References
from
examples
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
All items filtered out
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
Lifecycle
from
examples
All items filtered out
All items filtered out