DynamicShardingConnectionInfoMessage

public class DynamicShardingConnectionInfoMessage
extends Object implements IDynamicShardingConnectionInfo

java.lang.Object 中
   ↳ com.android.tradefed.invoker.shard.DynamicShardingConnectionInfoMessage


数据保留类,以便更轻松地通过特征服务器发送数据。

警告:此类需要至少向后兼容 2 周。IT 人员必须 不妨试试部署版本,该版本长达数周之久。这是因为 处理功能的序列化和反序列化,但必须与实验室部署的 该版本将是此类的旧版本。

摘要

字段

public static final String AUTH_SCOPES_KEY

public static final String SERVER_NAME_KEY

public static final String SERVER_PORT_KEY

公共方法

static DynamicShardingConnectionInfoMessage fromConnectionInfo(IDynamicShardingConnectionInfo info)
static DynamicShardingConnectionInfoMessage fromMultiPartResponse(MultiPartResponse response)
getAuthScopes()
String getServerAddress()
Integer getServerPort()
MultiPartResponse.Builder toResponseBuilder()

字段

AUTH_SCOPES_KEY

public static final String AUTH_SCOPES_KEY

服务器名称_密钥

public static final String SERVER_NAME_KEY

服务器端口密钥

public static final String SERVER_PORT_KEY

公共方法

fromConnectionInfo

public static DynamicShardingConnectionInfoMessage fromConnectionInfo (IDynamicShardingConnectionInfo info)

参数
info IDynamicShardingConnectionInfo

返回
DynamicShardingConnectionInfoMessage

fromMultiPartResponse

public static DynamicShardingConnectionInfoMessage fromMultiPartResponse (MultiPartResponse response)

参数
response MultiPartResponse

返回
DynamicShardingConnectionInfoMessage

getAuthScopes

public  getAuthScopes ()

返回

getServerAddress

public String getServerAddress ()

返回
String

getServerPort

public Integer getServerPort ()

返回
Integer

toResponseBuilder

public MultiPartResponse.Builder toResponseBuilder ()

返回
MultiPartResponse.Builder