blob: 5a4f39d8d54d0d83c2fb1dee6bbfd1a08f6bacb9 [file] [log] [blame] [view]
# Outgoing class
*[<Null safety>](https://dart.dev/null-safety)*
<p>Helper class to publish outgoing services and other directories for debug
and control purposes</p>
## Constructors
[Outgoing](../package-fuchsia_services_services/Outgoing/Outgoing.md) ()
This will setup outgoing directory and add required
directories to root of this class.
## Properties
##### [hashCode](../package-fuchsia_services_services/Outgoing/hashCode.md) &#8594; int
The hash code for this object.
_read-only, inherited_
##### [runtimeType](../package-fuchsia_services_services/Outgoing/runtimeType.md) &#8594; Type
A representation of the runtime type of the object.
_read-only, inherited_
## Methods
##### [addPublicService](../package-fuchsia_services_services/Outgoing/addPublicService.md)&lt;T>([Connector](../package-fuchsia_vfs_vfs/Connector.md)&lt;T> connector, String serviceName) int
Add and publish a public service.
Will return ZX_OK if successful, else will return error status.
##### [close](../package-fuchsia_services_services/Outgoing/close.md)() void
Closes root directory
##### [ctrlDir](../package-fuchsia_services_services/Outgoing/ctrlDir.md)() [PseudoDir](../package-fuchsia_vfs_vfs/PseudoDir-class.md)
return ctrl directory which can be used to publish control information
for /hub and system.
##### [debugDir](../package-fuchsia_services_services/Outgoing/debugDir.md)() [PseudoDir](../package-fuchsia_vfs_vfs/PseudoDir-class.md)
return debug directory which can be used to publish debug info to /hub
##### [diagnosticsDir](../package-fuchsia_services_services/Outgoing/diagnosticsDir.md)() [PseudoDir](../package-fuchsia_vfs_vfs/PseudoDir-class.md)
return diagnostics directory which can be used to publish debug info to /hub
##### [noSuchMethod](../package-fuchsia_services_services/Outgoing/noSuchMethod.md)(Invocation invocation) dynamic
Invoked when a non-existent method or property is accessed.
_inherited_
##### [publicDir](../package-fuchsia_services_services/Outgoing/publicDir.md)() [PseudoDir](../package-fuchsia_vfs_vfs/PseudoDir-class.md)
return public directory which usually contains all published services.
##### [rootDir](../package-fuchsia_services_services/Outgoing/rootDir.md)() [PseudoDir](../package-fuchsia_vfs_vfs/PseudoDir-class.md)
return root directory which can be used to host other directories
and extend this class.
##### [serve](../package-fuchsia_services_services/Outgoing/serve.md)([InterfaceRequest](../package-fidl_fidl/InterfaceRequest-class.md) request) void
Serves root dir to request channel and serve <code>fidl_fuchsia_io.Directory</code>
over it.
##### [serveFromStartupInfo](../package-fuchsia_services_services/Outgoing/serveFromStartupInfo.md)() void
Serves root dir to the out/ directory.
##### [toString](../package-fuchsia_services_services/Outgoing/toString.md)() String
A string representation of this object.
_inherited_
## Operators
##### [operator ==](../package-fuchsia_services_services/Outgoing/operator_equals.md)(Object other) bool
The equality operator.
_inherited_