DiscoveryClient class Services

Inheritance
Implemented types
Mixed-in types

Constructors

DiscoveryClient(String name, ClientChannelBase channel)

Properties

callOptions CallOptions
no setterinherited
channel ClientChannelBase
getter/setter pairoverride
client DiscoveryServiceClient
no setteroverride
hashCode int
The hash code for this object.
no setterinherited
name String
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

disableDebugLogging() → void
Disable debug logging for gRPC calls by removing the trace key from the metadata.
inherited
discoverResources({Map<String, dynamic>? extra}) Future<List<ComponentConfig>>
Returns a list of ComponentConfigs for all discovered viam resources connected to the viam-server machine.
doCommand(Map<String, dynamic> command) Future<Map<String, dynamic>>
Send/Receive arbitrary commands to the Resource
override
enableDebugLogging({String? traceKey}) → void
Enable debug logging for gRPC calls by setting a trace key in the metadata. If no trace key is provided, a random one will be generated.
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Methods

fromRobot(RobotClient robot, String name) DiscoveryClient
Get the DiscoveryClient named name from the provided robot.
getResourceName(String name) ResourceName
Get the ResourceName for this DiscoveryClient with the given name

Constants

subtype → const Subtype