O Google tem o compromisso de promover a igualdade racial para as comunidades negras. Saiba como.
Mantenha tudo organizado com as coleções Salve e categorize o conteúdo com base nas suas preferências.

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 na invocação de testes de gerenciamento e seu ciclo de vida. Este serviço não é obrigatório no momento e só é executado se configurado com uma porta.

Resumo

Turmas 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 getInvocationDetail (InvocationDetailRequest request, StreamObserver<InvocationDetailResponse> responseObserver)
static Integer getPort ()

Retorna a porta usada pelo servidor.

void shutdown ()

Pare o servidor grpc.

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

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.

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

submitTestCommand

public void submitTestCommand (NewTestCommandRequest request, 
                StreamObserver<NewTestCommandResponse> responseObserver)

Parâmetros
request NewTestCommandRequest

responseObserver StreamObserver