TradefedFeatureClient

public class TradefedFeatureClient
extends Object implements AutoCloseable

java.lang.Object
   ↳ com.android.tradefed.service.TradefedFeatureClient


A grpc client to request feature execution from the server.

Summary

Public constructors

TradefedFeatureClient()

Public methods

void close()
FeatureResponse triggerFeature(String featureName, Map<String, String> args)

Request a feature to the main server to execute and return the response.

Public constructors

TradefedFeatureClient

public TradefedFeatureClient ()

Public methods

close

public void close ()

triggerFeature

public FeatureResponse triggerFeature (String featureName, 
                Map<String, String> args)

Request a feature to the main server to execute and return the response.

Parameters
featureName String: The name of the feature to trigger.

args Map: The args to invoke the feature.

Returns
FeatureResponse A FeatureResponse.