class StackImpl
Defined at line 24 of file ../../src/connectivity/weave/weavestack/fidl/stack_impl.h
Handler for all fuchsia.weave/Stack FIDL protocol calls. Registers as a
public service with the ComponentContext and handles incoming connections.
Public Methods
void StackImpl (sys::ComponentContext * context)
Construct a new instance of |StackImpl|.
This method does not take ownership of the |context|.
Defined at line 116 of file ../../src/connectivity/weave/weavestack/fidl/stack_impl.cc
void ~StackImpl ()
The destructor must be defined after the full definitions of the watcher
classes to avoid attempting to use an incomplete definition in the compiler
generated default destructor.
Defined at line 143 of file ../../src/connectivity/weave/weavestack/fidl/stack_impl.cc
zx_status_t Init ()
Initialize and register this instance as FIDL handler.
Defined at line 118 of file ../../src/connectivity/weave/weavestack/fidl/stack_impl.cc
void GetPairingStateWatcher (fidl::InterfaceRequest<fuchsia::weave::PairingStateWatcher> watcher)
Get a |PairingStateWatcher| to get or watch for changes in pairing state.
Defined at line 145 of file ../../src/connectivity/weave/weavestack/fidl/stack_impl.cc
void GetSvcDirectoryWatcher (uint64_t endpoint_id, fidl::InterfaceRequest<fuchsia::weave::SvcDirectoryWatcher> watcher)
Get a |ServiceDirectoryWatcher| watching an endpoint ID.
Defined at line 150 of file ../../src/connectivity/weave/weavestack/fidl/stack_impl.cc
void GetQrCode (GetQrCodeCallback callback)
Retrieve a QR code that can be used in the pairing process.
Defined at line 156 of file ../../src/connectivity/weave/weavestack/fidl/stack_impl.cc
void ResetConfig (fuchsia::weave::ResetConfigFlags flags, ResetConfigCallback callback)
Reset the Weave configuration.
Defined at line 179 of file ../../src/connectivity/weave/weavestack/fidl/stack_impl.cc
void NotifyPairingState ()
Notify all active |PairingStateWatcher|s.
Defined at line 193 of file ../../src/connectivity/weave/weavestack/fidl/stack_impl.cc
void NotifySvcDirectory ()
Notify all active |SvcDirectoryWatcher|s.
Defined at line 200 of file ../../src/connectivity/weave/weavestack/fidl/stack_impl.cc