DynamicShardingConnectionInfoMessage

public class DynamicShardingConnectionInfoMessage
extends Object implements IDynamicShardingConnectionInfo

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


資料保留類別,可簡化透過功能伺服器傳送資料。

警告:這個課程需要經過至少 2 週後才能回溯和課程內容。必須 拿到部署版本後,必須達到學習期。這是因為這個課程 可處理特徵的序列化與去序列化作業,但必須能與研究室部署的工作搭配運作 對應至這個類別的舊版本

摘要

欄位

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

SERVER_NAME_KEY

public static final String SERVER_NAME_KEY

SERVER_PORT_KEY

public static final String SERVER_PORT_KEY

公用方法

來自連線資訊

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

回應建構工具

public MultiPartResponse.Builder toResponseBuilder ()

傳回
MultiPartResponse.Builder