TestInvocationManagementServer

public class TestInvocationManagementServer
extends TestInvocationManagementGrpc.TestInvocationManagementImplBase

Java.lang.Nesne
🎃 com.proto.tradefed.invocation.TestInvocationManagementGrpc.TestInvocationManagementImplBase
  🎃 com.android.tradefed.service.management.TestInvocationManagementServer


Test çağrısı ve bunların yaşam döngüsünü yönetmeye yardımcı olan GRPC sunucusu. Bu hizmet şu anda zorunludur ve yalnızca bağlantı noktasıyla yapılandırıldığında çalışır.

Özet

İç içe yerleştirilmiş sınıflar

class TestInvocationManagementServer.InvocationInformation

 

Kamu inşaatçıları

TestInvocationManagementServer(int port, ICommandScheduler commandScheduler, DeviceManagementGrpcServer deviceReservationManager)
TestInvocationManagementServer(ServerBuilder<?> serverBuilder, ICommandScheduler commandScheduler, DeviceManagementGrpcServer deviceReservationManager)
TestInvocationManagementServer(Server server, ICommandScheduler commandScheduler, DeviceManagementGrpcServer deviceReservationManager)

Herkese açık yöntemler

void exitTradefed()

Takas edilen işlemi durdurun.

void getInvocationDetail(InvocationDetailRequest request, StreamObserver<InvocationDetailResponse> responseObserver)
static Integer getPort()

Sunucu tarafından kullanılan bağlantı noktasını döndürür.

void shutdown()

grpc sunucusunu durdurun.

void shutdownTradefed(ShutdownTradefedRequest request, StreamObserver<ShutdownTradefedResponse> responseObserver)
void start()

grpc sunucusunu başlatın.

void stopInvocation(StopInvocationRequest request, StreamObserver<StopInvocationResponse> responseObserver)
void submitTestCommand(NewTestCommandRequest request, StreamObserver<NewTestCommandResponse> responseObserver)

Kamu inşaatçıları

TestInvocationManagementServer

public TestInvocationManagementServer (int port, 
                ICommandScheduler commandScheduler, 
                DeviceManagementGrpcServer deviceReservationManager)

Parametreler
port int

commandScheduler ICommandScheduler

deviceReservationManager DeviceManagementGrpcServer

TestInvocationManagementServer

public TestInvocationManagementServer (ServerBuilder<?> serverBuilder, 
                ICommandScheduler commandScheduler, 
                DeviceManagementGrpcServer deviceReservationManager)

Parametreler
serverBuilder ServerBuilder

commandScheduler ICommandScheduler

deviceReservationManager DeviceManagementGrpcServer

TestInvocationManagementServer

public TestInvocationManagementServer (Server server, 
                ICommandScheduler commandScheduler, 
                DeviceManagementGrpcServer deviceReservationManager)

Parametreler
server Server

commandScheduler ICommandScheduler

deviceReservationManager DeviceManagementGrpcServer

Herkese açık yöntemler

çıkışTradefed

public void exitTradefed ()

Takas edilen işlemi durdurun.

getInvocationDetail

public void getInvocationDetail (InvocationDetailRequest request, 
                StreamObserver<InvocationDetailResponse> responseObserver)

Parametreler
request InvocationDetailRequest

responseObserver StreamObserver

getPort

public static Integer getPort ()

Sunucu tarafından kullanılan bağlantı noktasını döndürür.

İlerlemeler
Integer

kapatmak

public void shutdown ()

grpc sunucusunu durdurun.

kapalı

public void shutdownTradefed (ShutdownTradefedRequest request, 
                StreamObserver<ShutdownTradefedResponse> responseObserver)

Parametreler
request ShutdownTradefedRequest

responseObserver StreamObserver

start

public void start ()

grpc sunucusunu başlatın.

stopInvocation

public void stopInvocation (StopInvocationRequest request, 
                StreamObserver<StopInvocationResponse> responseObserver)

Parametreler
request StopInvocationRequest

responseObserver StreamObserver

submitTestCommand

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

Parametreler
request NewTestCommandRequest

responseObserver StreamObserver