透過集合功能整理內容
你可以依據偏好儲存及分類內容。
TestInvocationManagementServer
public
class
TestInvocationManagementServer
extends TestInvocationManagementGrpc.TestInvocationManagementImplBase
java.lang.Object
|
↳ |
com.proto.tradefed.invocation.TestInvocationManagementGrpc.TestInvocationManagementImplBase
|
|
↳ |
com.android.tradefed.service.management.TestInvocationManagementServer
|
協助管理測試叫用及其生命週期的 GRPC 伺服器。這項服務不屬於
,而且只有在已設定通訊埠時才會執行。
摘要
公用方法 |
void
|
exitTradefed()
停止交易程序。
|
void
|
getInvocationDetail(InvocationDetailRequest request, StreamObserver<InvocationDetailResponse> responseObserver)
|
static
Integer
|
getPort()
傳回伺服器使用的通訊埠。
|
void
|
shutdown()
停止 gRPC 伺服器。
|
void
|
shutdownTradefed(ShutdownTradefedRequest request, StreamObserver<ShutdownTradefedResponse> responseObserver)
|
void
|
start()
啟動 gRPC 伺服器。
|
void
|
stopInvocation(StopInvocationRequest request, StreamObserver<StopInvocationResponse> responseObserver)
|
void
|
submitTestCommand(NewTestCommandRequest request, StreamObserver<NewTestCommandResponse> responseObserver)
|
公用建構函式
TestInvocationManagementServer
public TestInvocationManagementServer (int port,
ICommandScheduler commandScheduler,
DeviceManagementGrpcServer deviceReservationManager)
參數 |
port |
int |
commandScheduler |
ICommandScheduler |
deviceReservationManager |
DeviceManagementGrpcServer |
TestInvocationManagementServer
public TestInvocationManagementServer (ServerBuilder<?> serverBuilder,
ICommandScheduler commandScheduler,
DeviceManagementGrpcServer deviceReservationManager)
參數 |
serverBuilder |
ServerBuilder |
commandScheduler |
ICommandScheduler |
deviceReservationManager |
DeviceManagementGrpcServer |
TestInvocationManagementServer
public TestInvocationManagementServer (Server server,
ICommandScheduler commandScheduler,
DeviceManagementGrpcServer deviceReservationManager)
參數 |
server |
Server |
commandScheduler |
ICommandScheduler |
deviceReservationManager |
DeviceManagementGrpcServer |
公用方法
exitTradefed
public void exitTradefed ()
停止交易程序。
getInvocationDetail
public void getInvocationDetail (InvocationDetailRequest request,
StreamObserver<InvocationDetailResponse> responseObserver)
參數 |
request |
InvocationDetailRequest |
responseObserver |
StreamObserver |
getPort
public static Integer getPort ()
傳回伺服器使用的通訊埠。
關機
public void shutdown ()
停止 gRPC 伺服器。
關機貿易
public void shutdownTradefed (ShutdownTradefedRequest request,
StreamObserver<ShutdownTradefedResponse> responseObserver)
參數 |
request |
ShutdownTradefedRequest |
responseObserver |
StreamObserver |
start
public void start ()
啟動 gRPC 伺服器。
停止叫用
public void stopInvocation (StopInvocationRequest request,
StreamObserver<StopInvocationResponse> responseObserver)
參數 |
request |
StopInvocationRequest |
responseObserver |
StreamObserver |
提交測試指令
public void submitTestCommand (NewTestCommandRequest request,
StreamObserver<NewTestCommandResponse> responseObserver)
參數 |
request |
NewTestCommandRequest |
responseObserver |
StreamObserver |
這個頁面中的內容和程式碼範例均受《內容授權》中的授權所規範。Java 與 OpenJDK 是 Oracle 和/或其關係企業的商標或註冊商標。
上次更新時間:2024-08-29 (世界標準時間)。
[{
"type": "thumb-down",
"id": "missingTheInformationINeed",
"label":"缺少我需要的資訊"
},{
"type": "thumb-down",
"id": "tooComplicatedTooManySteps",
"label":"過於複雜/步驟過多"
},{
"type": "thumb-down",
"id": "outOfDate",
"label":"過時"
},{
"type": "thumb-down",
"id": "translationIssue",
"label":"翻譯問題"
},{
"type": "thumb-down",
"id": "samplesCodeIssue",
"label":"示例/程式碼問題"
},{
"type": "thumb-down",
"id": "otherDown",
"label":"其他"
}]
[{
"type": "thumb-up",
"id": "easyToUnderstand",
"label":"容易理解"
},{
"type": "thumb-up",
"id": "solvedMyProblem",
"label":"確實解決了我的問題"
},{
"type": "thumb-up",
"id": "otherUp",
"label":"其他"
}]
{"lastModified": "\u4e0a\u6b21\u66f4\u65b0\u6642\u9593\uff1a2024-08-29 (\u4e16\u754c\u6a19\u6e96\u6642\u9593)\u3002"}
[[["容易理解","easyToUnderstand","thumb-up"],["確實解決了我的問題","solvedMyProblem","thumb-up"],["其他","otherUp","thumb-up"]],[["缺少我需要的資訊","missingTheInformationINeed","thumb-down"],["過於複雜/步驟過多","tooComplicatedTooManySteps","thumb-down"],["過時","outOfDate","thumb-down"],["翻譯問題","translationIssue","thumb-down"],["示例/程式碼問題","samplesCodeIssue","thumb-down"],["其他","otherDown","thumb-down"]],["上次更新時間:2024-08-29 (世界標準時間)。"]]