template <>
class WireServer
Defined at line 1132 of file fidling/gen/sdk/fidl/fuchsia.dash/fuchsia.dash/cpp/fidl/fuchsia.dash/cpp/wire_messaging.h
Pure-virtual interface to be implemented by a server.
This interface uses typed channels (i.e. |::fidl::ClientEnd
<
::fuchsia_dash::Launcher>|
and |::fidl::ServerEnd
<
::fuchsia_dash::Launcher>|).
Public Methods
void ExploreComponentOverPty (::fuchsia_dash::wire::LauncherExploreComponentOverPtyRequest * request, ExploreComponentOverPtyCompleter::Sync & completer)
Launch a dash process scoped to the component with the given moniker, forwarding the given
stdio PTY.
void ExploreComponentOverSocket (::fuchsia_dash::wire::LauncherExploreComponentOverSocketRequest * request, ExploreComponentOverSocketCompleter::Sync & completer)
Launch a dash process scoped to the component with the given moniker, forwarding the given
stdio socket.
The dash launcher will implicitly create a PTY and transfer bytes between the PTY and
the socket.
void ExplorePackageOverSocket (::fuchsia_dash::wire::LauncherExplorePackageOverSocketRequest * request, ExplorePackageOverSocketCompleter::Sync & completer)
Launch a dash process with the indicated [sub]package loaded into the namespace at /pkg,
forwarding the given stdio socket.
The dash launcher will implicitly create a PTY and transfer bytes between the PTY and
the socket.
Always uses [`fuchsia.dash/FuchsiaPkgResolver.FULL`] to resolve package URLs with scheme
"fuchsia-pkg".
Use [`fuchsia.dash/Launcher.ExplorePackageOverSocket2`] instead to pick which resolver to
use with "fuchsia-pkg" URLs.
void ExplorePackageOverSocket2 (::fuchsia_dash::wire::LauncherExplorePackageOverSocket2Request * request, ExplorePackageOverSocket2Completer::Sync & completer)
Launch a dash process with the indicated [sub]package loaded into the namespace at /pkg,
forwarding the given stdio socket.
The dash launcher will implicitly create a PTY and transfer bytes between the PTY and
the socket.
void WireServer ()
Defined at line 1135 of file fidling/gen/sdk/fidl/fuchsia.dash/fuchsia.dash/cpp/fidl/fuchsia.dash/cpp/wire_messaging.h
Handler bind_handler (async_dispatcher_t * dispatcher)
|bind_handler| returns a handler that binds incoming connections to this
server implementation.
The returned handler borrows the server instance.
The server must outlive the provided |dispatcher|. Only after
the dispatcher is shutdown will it be safe to destroy the servers.
The server should not be moved.
void ~WireServer ()
Defined at line 1136 of file fidling/gen/sdk/fidl/fuchsia.dash/fuchsia.dash/cpp/fidl/fuchsia.dash/cpp/wire_messaging.h