class ConnectResolver
Defined at line 71 of file ../../src/lib/fidl/contrib/connection/service_reconnector.h
ConnectResolver is used to give the ServiceReconnector back an instance of
|fidl::ClientEnd
<Service
>|.
When the connection has been made successfully, resolve is called with the client end of the
channel. If the connection fails, resolve can be called manually with std::nullopt, or the
ConnectResolver can be dropped, which will implicitly resolve with std::nullopt.
Public Methods
void ConnectResolver (const ConnectResolver & )
Connect resolver should be move-only.
Defined at line 79 of file ../../src/lib/fidl/contrib/connection/service_reconnector.h
ConnectResolver & operator= (const ConnectResolver & )
Defined at line 80 of file ../../src/lib/fidl/contrib/connection/service_reconnector.h
void ConnectResolver (ConnectResolver && other)
Defined at line 81 of file ../../src/lib/fidl/contrib/connection/service_reconnector.h
ConnectResolver & operator= (ConnectResolver && other)
Defined at line 82 of file ../../src/lib/fidl/contrib/connection/service_reconnector.h
void ~ConnectResolver ()
Defined at line 89 of file ../../src/lib/fidl/contrib/connection/service_reconnector.h
void resolve (std::optional<fidl::ClientEnd<Service>> result)
Resolve the current connection request.
Note: if resolve is called multiple times on ConnectResolver, only the first call will be
handled, and all future calls will be ignored.
Defined at line 95 of file ../../src/lib/fidl/contrib/connection/service_reconnector.h
Friends
class ServiceReconnector