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 le chiamate di test e il loro ciclo di vita. Questo servizio non è
attualmente obbligatorio e viene eseguito solo se configurato con una porta.
Riepilogo
Metodi pubblici |
void
|
exitTradefed()
Interrompere il processo trasferito.
|
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 (ServerBuilder<?> serverBuilder,
ICommandScheduler commandScheduler,
DeviceManagementGrpcServer deviceReservationManager)
Parametri |
serverBuilder |
ServerBuilder |
commandScheduler |
ICommandScheduler |
deviceReservationManager |
DeviceManagementGrpcServer |
TestInvocationManagementServer
public TestInvocationManagementServer (Server server,
ICommandScheduler commandScheduler,
DeviceManagementGrpcServer deviceReservationManager)
Parametri |
server |
Server |
commandScheduler |
ICommandScheduler |
deviceReservationManager |
DeviceManagementGrpcServer |
Metodi pubblici
exitTradefed
public void exitTradefed ()
Interrompere il processo trasferito.
getInvocationDetails
public void getInvocationDetail (InvocationDetailRequest request,
StreamObserver<InvocationDetailResponse> responseObserver)
Parametri |
request |
InvocationDetailRequest |
responseObserver |
StreamObserver |
getPort
public static Integer getPort ()
Restituisce la porta utilizzata dal server.
chiusura
public void shutdown ()
Arresta il server GRpc.
chiusuraTradefed
public void shutdownTradefed (ShutdownTradefedRequest request,
StreamObserver<ShutdownTradefedResponse> responseObserver)
Parametri |
request |
ShutdownTradefedRequest |
responseObserver |
StreamObserver |
partenza
public void start ()
Avvia il server GRpc.
stopChiama
public void stopInvocation (StopInvocationRequest request,
StreamObserver<StopInvocationResponse> responseObserver)
Parametri |
request |
StopInvocationRequest |
responseObserver |
StreamObserver |
inviareTestCommand
public void submitTestCommand (NewTestCommandRequest request,
StreamObserver<NewTestCommandResponse> responseObserver)
Parametri |
request |
NewTestCommandRequest |
responseObserver |
StreamObserver |