TestInvocationManagementServer

public class TestInvocationManagementServer
extends TestInvocationManagementGrpc.TestInvocationManagementImplBase

java.lang.Object
   ↳ com.proto.tradefed.invocation.TestInvocationManagementGrpc.TestInvocationManagementImplBase
     ↳ com.android.tradefed.service.management.TestInvocationManagementServer


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

Özet

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

class TestInvocationManagementServer.InvocationInformation

 

Herkese açık kurucular

TestInvocationManagementServer(int port, ICommandScheduler commandScheduler, DeviceManagementGrpcServer deviceReservationManager)
TestInvocationManagementServer(Server server, ICommandScheduler commandScheduler, DeviceManagementGrpcServer deviceReservationManager)
TestInvocationManagementServer(ServerBuilder<?> serverBuilder, 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 (Server server, 
                ICommandScheduler commandScheduler, 
                DeviceManagementGrpcServer deviceReservationManager)

Parametreler
server Server

commandScheduler ICommandScheduler

deviceReservationManager DeviceManagementGrpcServer

TestInvocationManagementServer

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

Parametreler
serverBuilder ServerBuilder

commandScheduler ICommandScheduler

deviceReservationManager DeviceManagementGrpcServer

Herkese açık yöntemler

çıkışTradefed

public void exitTradefed ()

tradefed işlemini 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.

shutdownTradefed

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