IDynamicShardingClient

public interface IDynamicShardingClient

com.android.tradefed.invoker.shard.IDynamicShardingClient


Wrapper interface for the sharding client

This exists so that we can swap in an HTTP one or testing one if needed.

Summary

Public methods

abstract ProvideTestTargetResponse provideTestTarget(ProvideTestTargetRequest request)

Provide a test target to the server

abstract RequestTestTargetResponse requestTestTarget(RequestTestTargetRequest request)

Request a test target from the server

Public methods

provideTestTarget

public abstract ProvideTestTargetResponse provideTestTarget (ProvideTestTargetRequest request)

Provide a test target to the server

Parameters
request ProvideTestTargetRequest

Returns
ProvideTestTargetResponse

requestTestTarget

public abstract RequestTestTargetResponse requestTestTarget (RequestTestTargetRequest request)

Request a test target from the server

Parameters
request RequestTestTargetRequest

Returns
RequestTestTargetResponse