TestInvocationManagementServer
public class TestInvocationManagementServer
extends TestInvocationManagementGrpc.TestInvocationManagementImplBase
java.lang.Object | ||
↳ | com.proto.tradefed.invocation.TestInvocationManagementGrpc.TestInvocationManagementImplBase | |
↳ | com.android.tradefed.service.management.TestInvocationManagementServer |
Servidor GRPC auxiliando no gerenciamento da invocação de testes e seu ciclo de vida. Este serviço não é atualmente obrigatório e só é executado se configurado com uma porta.
Resumo
Classes aninhadas | |
---|---|
class | TestInvocationManagementServer.InvocationInformation
|
Construtores públicos | |
---|---|
TestInvocationManagementServer (int port, ICommandScheduler commandScheduler, DeviceManagementGrpcServer deviceReservationManager) | |
TestInvocationManagementServer (ServerBuilder<?> serverBuilder, ICommandScheduler commandScheduler, DeviceManagementGrpcServer deviceReservationManager) | |
TestInvocationManagementServer (Server server, ICommandScheduler commandScheduler, DeviceManagementGrpcServer deviceReservationManager) |
Métodos públicos | |
---|---|
void | exitTradefed () Pare o processo negociado. |
void | getInvocationDetail (InvocationDetailRequest request, StreamObserver<InvocationDetailResponse> responseObserver) |
static Integer | getPort () Retorna a porta usada pelo servidor. |
void | shutdown () Pare o servidor grpc. |
void | shutdownTradefed (ShutdownTradefedRequest request, StreamObserver<ShutdownTradefedResponse> responseObserver) |
void | start () Inicie o servidor grpc. |
void | stopInvocation (StopInvocationRequest request, StreamObserver<StopInvocationResponse> responseObserver) |
void | submitTestCommand (NewTestCommandRequest request, StreamObserver<NewTestCommandResponse> responseObserver) |
Construtores públicos
TestInvocationManagementServer
public TestInvocationManagementServer (int port, ICommandScheduler commandScheduler, DeviceManagementGrpcServer deviceReservationManager)
Parâmetros | |
---|---|
port | int |
commandScheduler | ICommandScheduler |
deviceReservationManager | DeviceManagementGrpcServer |
TestInvocationManagementServer
public TestInvocationManagementServer (ServerBuilder<?> serverBuilder, ICommandScheduler commandScheduler, DeviceManagementGrpcServer deviceReservationManager)
Parâmetros | |
---|---|
serverBuilder | ServerBuilder |
commandScheduler | ICommandScheduler |
deviceReservationManager | DeviceManagementGrpcServer |
TestInvocationManagementServer
public TestInvocationManagementServer (Server server, ICommandScheduler commandScheduler, DeviceManagementGrpcServer deviceReservationManager)
Parâmetros | |
---|---|
server | Server |
commandScheduler | ICommandScheduler |
deviceReservationManager | DeviceManagementGrpcServer |
Métodos públicos
saídaTradefed
public void exitTradefed ()
Pare o processo negociado.
getInvocationDetail
public void getInvocationDetail (InvocationDetailRequest request, StreamObserver<InvocationDetailResponse> responseObserver)
Parâmetros | |
---|---|
request | InvocationDetailRequest |
responseObserver | StreamObserver |
getPort
public static Integer getPort ()
Retorna a porta usada pelo servidor.
Devoluções | |
---|---|
Integer |
desligar
public void shutdown ()
Pare o servidor grpc.
desligamentoTradefed
public void shutdownTradefed (ShutdownTradefedRequest request, StreamObserver<ShutdownTradefedResponse> responseObserver)
Parâmetros | |
---|---|
request | ShutdownTradefedRequest |
responseObserver | StreamObserver |
começar
public void start ()
Inicie o servidor grpc.
pararInvocação
public void stopInvocation (StopInvocationRequest request, StreamObserver<StopInvocationResponse> responseObserver)
Parâmetros | |
---|---|
request | StopInvocationRequest |
responseObserver | StreamObserver |
enviarTestCommand
public void submitTestCommand (NewTestCommandRequest request, StreamObserver<NewTestCommandResponse> responseObserver)
Parâmetros | |
---|---|
request | NewTestCommandRequest |
responseObserver | StreamObserver |
O conteúdo e os exemplos de código nesta página estão sujeitos às licenças descritas na Licença de conteúdo. Java e OpenJDK são marcas registradas da Oracle e/ou suas afiliadas.
Última atualização 2023-12-04 UTC.
[null,null,["Última atualização 2023-12-04 UTC."],[],[]]