nl:: Weave:: Profiles:: WeaveEchoClient
Ringkasan
Konstruktor dan Destruktor |
|
---|---|
WeaveEchoClient(void)
|
Jenis publik |
|
---|---|
EchoAckFunct)(void *msgCtxt)
|
typedefvoid(*
|
EchoFunct)(uint64_t nodeId, IPAddress nodeAddr, PacketBuffer *payload)
|
typedefvoid(*
|
Atribut publik |
|
---|---|
EncryptionType
|
uint8_t
|
ExchangeMgr
|
|
FabricState
|
const WeaveFabricState *
|
KeyId
|
uint16_t
|
OnAckRcvdReceived
|
EchoAckFunct
|
OnEchoResponseReceived
|
EchoFunct
|
Fungsi publik |
|
---|---|
Init(WeaveExchangeManager *exchangeMgr)
|
|
SendEchoRequest(WeaveConnection *con, PacketBuffer *payload)
|
Kirim permintaan echo melalui WeaveConnection.
|
SendEchoRequest(uint64_t nodeId, IPAddress nodeAddr, PacketBuffer *payload)
|
Mengirim permintaan echo ke node Weave menggunakan port Weave default dan mengizinkan tabel perutean sistem memilih antarmuka output.
|
SendEchoRequest(uint64_t nodeId, IPAddress nodeAddr, uint16_t port, InterfaceId sendIntfId, PacketBuffer *payload)
|
Mengirim permintaan echo ke node Weave.
|
SetRequestAck(bool requestAck)
|
void
|
SetWRMPACKDelay(uint16_t aWRMPACKDelay)
|
void
|
SetWRMPRetransCount(uint8_t aRetransCount)
|
void
|
SetWRMPRetransInterval(uint32_t aRetransInterval)
|
void
|
Shutdown(void)
|
Jenis publik
EchoAckFunct
void(* EchoAckFunct)(void *msgCtxt)
EchoFunct
void(* EchoFunct)(uint64_t nodeId, IPAddress nodeAddr, PacketBuffer *payload)
Atribut publik
EncryptionType
uint8_t EncryptionType
ExchangeMgr
WeaveExchangeManager * ExchangeMgr
FabricState
const WeaveFabricState * FabricState
KeyId
uint16_t KeyId
OnAckRcvdReceived
EchoAckFunct OnAckRcvdReceived
OnEchoResponseReceived
EchoFunct OnEchoResponseReceived
Fungsi publik
Init
WEAVE_ERROR Init( WeaveExchangeManager *exchangeMgr )
SendEchoRequest
WEAVE_ERROR SendEchoRequest( WeaveConnection *con, PacketBuffer *payload )
Kirim permintaan echo melalui WeaveConnection.
Detail | |||||
---|---|---|---|---|---|
Parameter |
|
||||
Hasil |
WEAVE_ERROR_NO_MEMORY jika ExchangeContext tidak tersedia. Kode WEAVE_ERROR lainnya seperti yang dikembalikan oleh lapisan bawah.
|
SendEchoRequest
WEAVE_ERROR SendEchoRequest( uint64_t nodeId, IPAddress nodeAddr, PacketBuffer *payload )
Mengirim permintaan echo ke node Weave menggunakan port Weave default dan mengizinkan tabel perutean sistem memilih antarmuka output.
Detail | |||||||
---|---|---|---|---|---|---|---|
Parameter |
|
||||||
Hasil |
WEAVE_ERROR_NO_MEMORY jika ExchangeContext tidak tersedia. Kode WEAVE_ERROR lainnya seperti yang dikembalikan oleh lapisan bawah.
|
SendEchoRequest
WEAVE_ERROR SendEchoRequest( uint64_t nodeId, IPAddress nodeAddr, uint16_t port, InterfaceId sendIntfId, PacketBuffer *payload )
Mengirim permintaan echo ke node Weave.
Detail | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Parameter |
|
||||||||||
Hasil |
WEAVE_ERROR_NO_MEMORY jika ExchangeContext tidak tersedia. Kode WEAVE_ERROR lainnya seperti yang dikembalikan oleh lapisan bawah.
|
SetRequestAck
void SetRequestAck( bool requestAck )
SetWRMPACKDelay
void SetWRMPACKDelay( uint16_t aWRMPACKDelay )
SetWRMPRetransCount
void SetWRMPRetransCount( uint8_t aRetransCount )
SetWRMPRetransInterval
void SetWRMPRetransInterval( uint32_t aRetransInterval )