ConfigurableGrpcDynamicShardingClient
public
class
ConfigurableGrpcDynamicShardingClient
extends Object
implements
IDynamicShardingClient
java.lang.Object | |
↳ | com.android.tradefed.invoker.shard.ConfigurableGrpcDynamicShardingClient |
Summary
Public constructors | |
---|---|
ConfigurableGrpcDynamicShardingClient(IDynamicShardingConnectionInfo connectionInfo)
Constructor for a configurable gRPC client to a dynamic sharding server. |
Public methods | |
---|---|
ProvideTestTargetResponse
|
provideTestTarget(ProvideTestTargetRequest request)
Provide a test target to the server |
RequestTestTargetResponse
|
requestTestTarget(RequestTestTargetRequest request)
Request a test target from the server |
Public constructors
ConfigurableGrpcDynamicShardingClient
public ConfigurableGrpcDynamicShardingClient (IDynamicShardingConnectionInfo connectionInfo)
Constructor for a configurable gRPC client to a dynamic sharding server.
Be sure to properly populate the connectionInfo object being passed in.
Parameters | |
---|---|
connectionInfo |
IDynamicShardingConnectionInfo |
Public methods
provideTestTarget
public ProvideTestTargetResponse provideTestTarget (ProvideTestTargetRequest request)
Provide a test target to the server
Parameters | |
---|---|
request |
ProvideTestTargetRequest |
Returns | |
---|---|
ProvideTestTargetResponse |
requestTestTarget
public RequestTestTargetResponse requestTestTarget (RequestTestTargetRequest request)
Request a test target from the server
Parameters | |
---|---|
request |
RequestTestTargetRequest |
Returns | |
---|---|
RequestTestTargetResponse |