class TestWeaveTunnelAgent

Defined at line 33 of file ../../src/connectivity/weave/adaptation/tests/test_connectivity_manager.h

Public Methods

WEAVE_ERROR StartServiceTunnel ()

Starts the service tunnel.

Defined at line 36 of file ../../src/connectivity/weave/adaptation/tests/test_connectivity_manager.h

void StopServiceTunnel (WEAVE_ERROR error)

Stops the service tunnel.

Defined at line 41 of file ../../src/connectivity/weave/adaptation/tests/test_connectivity_manager.h

bool IsTunnelRoutingRestricted ()

Returns whether tunnel routing is restricted.

Defined at line 47 of file ../../src/connectivity/weave/adaptation/tests/test_connectivity_manager.h

void set_start_service_tunnel_error (std::optional<WEAVE_ERROR> start_service_tunnel_error)

Set StartServiceTunnel error.

Defined at line 52 of file ../../src/connectivity/weave/adaptation/tests/test_connectivity_manager.h

void set_is_tunnel_routing_restricted (std::optional<bool> is_tunnel_routing_restricted)

Set whether tunnel routing is restricted.

Defined at line 57 of file ../../src/connectivity/weave/adaptation/tests/test_connectivity_manager.h

void acquire ()

Mark ownership of this instance.

Defined at line 62 of file ../../src/connectivity/weave/adaptation/tests/test_connectivity_manager.h

void release ()

Release ownership of this instance.

Defined at line 71 of file ../../src/connectivity/weave/adaptation/tests/test_connectivity_manager.h