nl:: Weave:: Profiles:: WeaveTunnel:: Platform
平台提供 Weave Addressing 和 Routeing 處理常式。
摘要
列舉 |
|
---|---|
TunnelAvailabilityMode{
|
列舉 Weave 通道可用性狀態組合。 |
Typedefs |
|
---|---|
TunnelAvailabilityMode
|
typedef Weave 通道可用性狀態組合。 |
函式 |
|
---|---|
DisableBorderRouting(void)
|
void
|
EnableBorderRouting(void)
|
void
|
ServiceTunnelDisconnected(InterfaceId tunIf)
|
void
通道代理程式使用的 TunnelAgent Platform API 實作以宣告通道介面中斷連線。
|
ServiceTunnelEstablished(InterfaceId tunIf, TunnelAvailabilityMode tunMode)
|
void
通道代理程式所使用的 TunnelAgent Platform API 實作以宣告通道介面連線。
|
ServiceTunnelModeChange(InterfaceId tunIf, TunnelAvailabilityMode tunMode)
|
void
通道代理程式使用的 TunnelAgent Platform API 實作以公告通道可用性變更。
|
TunnelInterfaceDown(InterfaceId tunIf)
|
void
通道代理程式,使用的 TunnelAgent Platform API 實作以宣告通道介面已停用。
|
TunnelInterfaceUp(InterfaceId tunIf)
|
void
通道代理程式,使用 TunnelAgent Platform API 實作,用來公告通道介面已啟用。
|
列舉
TunnelAvailabilityMode
TunnelAvailabilityMode
Weave 通道可用性狀態組合。
屬性 | |
---|---|
kMode_BackupOnly
|
設定 Weave 服務通道時,僅限透過備份介面使用。 |
kMode_Primary
|
設定在主要介面上使用 Weave 服務通道的時間。 |
kMode_PrimaryAndBackup
|
設定 Weave Service 通道在原始介面和備份介面使用的時間。 |
Typedefs
TunnelAvailabilityMode
enum nl::Weave::Profiles::WeaveTunnel::Platform::TunnelAvailabilityMode TunnelAvailabilityMode
Weave 通道可用性狀態組合。
函式
DisableBorderRouting
void DisableBorderRouting( void )
EnableBorderRouting
void EnableBorderRouting( void )
ServiceTunnelDisconnected
void ServiceTunnelDisconnected( InterfaceId tunIf )
ServiceTunnelEstablished
void ServiceTunnelEstablished( InterfaceId tunIf, TunnelAvailabilityMode tunMode )
ServiceTunnelModeChange
void ServiceTunnelModeChange( InterfaceId tunIf, TunnelAvailabilityMode tunMode )
TunnelInterfaceDown
void TunnelInterfaceDown( InterfaceId tunIf )
TunnelInterfaceUp
void TunnelInterfaceUp( InterfaceId tunIf )