TestInvocationManagementServer
public
class
TestInvocationManagementServer
extends TestInvocationManagementGrpc.TestInvocationManagementImplBase
java.lang.Object
|
↳ |
com.proto.tradefed.invocation.TestInvocationManagementGrpc.TestInvocationManagementImplBase
|
|
↳ |
com.android.tradefed.service.management.TestInvocationManagementServer
|
Server GRPC che aiuta a gestire l'invocazione dei test e il relativo ciclo di vita. Questo servizio non è attualmente obbligatorio e viene eseguito solo se configurato con una porta.
Riepilogo
Metodi pubblici |
void
|
exitTradefed()
Interrompi il processo TradeFed.
|
void
|
getInvocationDetail(InvocationDetailRequest request, StreamObserver<InvocationDetailResponse> responseObserver)
|
static
Integer
|
getPort()
Restituisce la porta utilizzata dal server.
|
void
|
shutdown()
Arresta il server GRPC.
|
void
|
shutdownTradefed(ShutdownTradefedRequest request, StreamObserver<ShutdownTradefedResponse> responseObserver)
|
void
|
start()
Avvia il server GRPC.
|
void
|
stopInvocation(StopInvocationRequest request, StreamObserver<StopInvocationResponse> responseObserver)
|
void
|
submitTestCommand(NewTestCommandRequest request, StreamObserver<NewTestCommandResponse> responseObserver)
|
Costruttori pubblici
TestInvocationManagementServer
public TestInvocationManagementServer (int port,
ICommandScheduler commandScheduler,
DeviceManagementGrpcServer deviceReservationManager)
Parametri |
port |
int |
commandScheduler |
ICommandScheduler |
deviceReservationManager |
DeviceManagementGrpcServer |
TestInvocationManagementServer
public TestInvocationManagementServer (Server server,
ICommandScheduler commandScheduler,
DeviceManagementGrpcServer deviceReservationManager)
Parametri |
server |
Server |
commandScheduler |
ICommandScheduler |
deviceReservationManager |
DeviceManagementGrpcServer |
TestInvocationManagementServer
public TestInvocationManagementServer (ServerBuilder<?> serverBuilder,
ICommandScheduler commandScheduler,
DeviceManagementGrpcServer deviceReservationManager)
Parametri |
serverBuilder |
ServerBuilder |
commandScheduler |
ICommandScheduler |
deviceReservationManager |
DeviceManagementGrpcServer |
Metodi pubblici
exitTradefed
public void exitTradefed ()
Interrompi il processo TradeFed.
getInvocationDetail
public void getInvocationDetail (InvocationDetailRequest request,
StreamObserver<InvocationDetailResponse> responseObserver)
Parametri |
request |
InvocationDetailRequest |
responseObserver |
StreamObserver |
getPort
public static Integer getPort ()
Restituisce la porta utilizzata dal server.
arresto
public void shutdown ()
Arresta il server GRPC.
shutdownTradefed
public void shutdownTradefed (ShutdownTradefedRequest request,
StreamObserver<ShutdownTradefedResponse> responseObserver)
Parametri |
request |
ShutdownTradefedRequest |
responseObserver |
StreamObserver |
partenza
public void start ()
Avvia il server GRpc.
stopInvocation
public void stopInvocation (StopInvocationRequest request,
StreamObserver<StopInvocationResponse> responseObserver)
Parametri |
request |
StopInvocationRequest |
responseObserver |
StreamObserver |
submitTestCommand
public void submitTestCommand (NewTestCommandRequest request,
StreamObserver<NewTestCommandResponse> responseObserver)
Parametri |
request |
NewTestCommandRequest |
responseObserver |
StreamObserver |