class EchoImpl
Defined at line 16 of file ../../sdk/lib/component/tests/echo_service_server.cc
An implementation of the Echo protocol. Protocols are implemented in the new
C++ bindings by creating a subclass of the |Server| or |WireServer| class for
the protocol.
Public Methods
void EchoString (EchoStringRequest & request, EchoStringCompleter::Sync & completer)
Defined at line 14 of file ../../src/performance/experimental/profiler/tests/component_with_children/child.cc
void EchoImpl (bool reverse)
Defined at line 18 of file ../../sdk/lib/component/tests/echo_service_server.cc
void SendString (SendStringRequest & request, SendStringCompleter::Sync & completer)
Defined at line 18 of file ../../src/performance/experimental/profiler/tests/component_with_children/child.cc
void SendString (SendStringRequestView request, SendStringCompleter::Sync & completer)
Handle a SendString request by sending on OnString event with the request value. For
fire and forget methods, the completer can be used to close the channel with an epitaph.
Defined at line 22 of file ../../sdk/lib/component/tests/echo_service_server.cc
void EchoString (EchoStringRequestView request, EchoStringCompleter::Sync & completer)
Handle an EchoString request by responding with the request value. For two-way
methods, the completer is also used to send a response.
Defined at line 26 of file ../../sdk/lib/component/tests/echo_service_server.cc
void OnFidlClosed (fidl::UnbindInfo info)
Defined at line 37 of file ../../sdk/lib/component/tests/echo_service_server.cc