Helper class to publish outgoing services and other directories for debug and control purposes
This will setup outgoing directory and add required directories to root of this class.
hashCode → int
The hash code for this object.
runtimeType → Type
A representation of the runtime type of the object.
addPublicService<T>(Connector<T> connector, String serviceName) int
Add and publish a public service. Will return ZX_OK if successful, else will return error status.
Closes root directory
return ctrl directory which can be used to publish control information for /hub and system.
return debug directory which can be used to publish debug info to /hub
return diagnostics directory which can be used to publish debug info to /hub
noSuchMethod(Invocation invocation) dynamic
Invoked when a non-existent method or property is accessed.
return public directory which usually contains all published services.
return root directory which can be used to host other directories and extend this class.
serve(InterfaceRequest request) void
Serves root dir to request channel and serve
Serves root dir to the out/ directory.
A string representation of this object.
operator ==(Object other) bool
The equality operator.