TestInvocationManagementServer
public
class
TestInvocationManagementServer
extends TestInvocationManagementGrpc.TestInvocationManagementImplBase
Objeto java.lang.
|
↳ |
com.proto.tradefed.invocation.TestInvocationManagementGrpc.TestInvocationManagementImplBase
|
|
↳ |
com.android.tradefed.service.management.TestInvocationManagementServer
|
El servidor de gRPC ayuda a la administración de la invocación de prueba y su ciclo de vida. Este servicio no está
actualmente es obligatorio y solo se ejecuta si se configura con un puerto.
Resumen
Métodos públicos |
void
|
exitTradefed()
Detén el proceso de intercambio.
|
void
|
getInvocationDetail(InvocationDetailRequest request, StreamObserver<InvocationDetailResponse> responseObserver)
|
static
Integer
|
getPort()
Devuelve el puerto utilizado por el servidor.
|
void
|
shutdown()
Detén el servidor de gRPC.
|
void
|
shutdownTradefed(ShutdownTradefedRequest request, StreamObserver<ShutdownTradefedResponse> responseObserver)
|
void
|
start()
Inicia el servidor de gRPC.
|
void
|
stopInvocation(StopInvocationRequest request, StreamObserver<StopInvocationResponse> responseObserver)
|
void
|
submitTestCommand(NewTestCommandRequest request, StreamObserver<NewTestCommandResponse> responseObserver)
|
Constructores 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
exitTradefed
public void exitTradefed ()
Detén el proceso de intercambio.
getInvocationDetail
public void getInvocationDetail (InvocationDetailRequest request,
StreamObserver<InvocationDetailResponse> responseObserver)
Parámetros |
request |
InvocationDetailRequest |
responseObserver |
StreamObserver |
getPort.
public static Integer getPort ()
Devuelve el puerto utilizado por el servidor.
apagado
public void shutdown ()
Detén el servidor de gRPC.
closureTradefed
public void shutdownTradefed (ShutdownTradefedRequest request,
StreamObserver<ShutdownTradefedResponse> responseObserver)
Parámetros |
request |
ShutdownTradefedRequest |
responseObserver |
StreamObserver |
start
public void start ()
Inicia el servidor de gRPC.
stopInvocation
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 |