TestInvocationManagementServer
public
class
TestInvocationManagementServer
extends TestInvocationManagementGrpc.TestInvocationManagementImplBase
java.lang.Object
|
↳ |
com.proto.tradefed.invocation.TestInvocationManagementGrpc.TestInvocationManagementImplBase
|
|
↳ |
com.android.tradefed.service.management.TestInvocationManagementServer
|
Server GRPC membantu mengelola pemanggilan pengujian dan siklus prosesnya. Layanan ini tidak
saat ini wajib dan hanya berjalan
jika dikonfigurasi dengan porta.
Ringkasan
Metode publik |
void
|
exitTradefed()
Hentikan proses yang diperdagangkan.
|
void
|
getInvocationDetail(InvocationDetailRequest request, StreamObserver<InvocationDetailResponse> responseObserver)
|
static
Integer
|
getPort()
Menampilkan port yang digunakan oleh server.
|
void
|
shutdown()
Hentikan server GCP.
|
void
|
shutdownTradefed(ShutdownTradefedRequest request, StreamObserver<ShutdownTradefedResponse> responseObserver)
|
void
|
start()
Mulai server GPC.
|
void
|
stopInvocation(StopInvocationRequest request, StreamObserver<StopInvocationResponse> responseObserver)
|
void
|
submitTestCommand(NewTestCommandRequest request, StreamObserver<NewTestCommandResponse> responseObserver)
|
Konstruktor publik
TestInvocationManagementServer
public TestInvocationManagementServer (int port,
ICommandScheduler commandScheduler,
DeviceManagementGrpcServer deviceReservationManager)
Parameter |
port |
int |
commandScheduler |
ICommandScheduler |
deviceReservationManager |
DeviceManagementGrpcServer |
TestInvocationManagementServer
public TestInvocationManagementServer (ServerBuilder<?> serverBuilder,
ICommandScheduler commandScheduler,
DeviceManagementGrpcServer deviceReservationManager)
Parameter |
serverBuilder |
ServerBuilder |
commandScheduler |
ICommandScheduler |
deviceReservationManager |
DeviceManagementGrpcServer |
TestInvocationManagementServer
public TestInvocationManagementServer (Server server,
ICommandScheduler commandScheduler,
DeviceManagementGrpcServer deviceReservationManager)
Parameter |
server |
Server |
commandScheduler |
ICommandScheduler |
deviceReservationManager |
DeviceManagementGrpcServer |
Metode publik
keluarTradef
public void exitTradefed ()
Hentikan proses yang diperdagangkan.
getInvocationDetail
public void getInvocationDetail (InvocationDetailRequest request,
StreamObserver<InvocationDetailResponse> responseObserver)
Parameter |
request |
InvocationDetailRequest |
responseObserver |
StreamObserver |
getPort
public static Integer getPort ()
Menampilkan port yang digunakan oleh server.
matikan
public void shutdown ()
Hentikan server GCP.
shutdownTradefed
public void shutdownTradefed (ShutdownTradefedRequest request,
StreamObserver<ShutdownTradefedResponse> responseObserver)
Parameter |
request |
ShutdownTradefedRequest |
responseObserver |
StreamObserver |
start
public void start ()
Mulai server GPC.
stopInvocation
public void stopInvocation (StopInvocationRequest request,
StreamObserver<StopInvocationResponse> responseObserver)
Parameter |
request |
StopInvocationRequest |
responseObserver |
StreamObserver |
kirimTestCommand
public void submitTestCommand (NewTestCommandRequest request,
StreamObserver<NewTestCommandResponse> responseObserver)
Parameter |
request |
NewTestCommandRequest |
responseObserver |
StreamObserver |