TradefedFeatureSunucu

public class TradefedFeatureServer
extends TradefedInformationGrpc.TradefedInformationImplBase

java.lang.Object
com.proto.tradefed.feature.TradefedInformationGrpc.TradefedInformationImplBase
com.android.tradefed.service.TradefedFeatureServer


Özelliklerin tetiklenmesine yönelik isteklere yanıt veren bir sunucu.

Özet

Alanlar

public static final String SERVER_REFERENCE

public static final String TEST_INFORMATION_OBJECT

public static final String TF_SERVICE_PORT

Kamu inşaatçıları

TradefedFeatureServer ()

Genel yöntemler

static int getPort ()

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

String registerInvocation ( IConfiguration config, ThreadGroup tg, listeners) registerInvocation ( IConfiguration config, ThreadGroup tg, listeners)

Sorgulanabilecek benzersiz bir referansa sahip bir çağrıyı kaydedin

void shutdown ()

grpc sunucusunu durdurun.

void start ()

İstekleri dinlemek için grpc sunucusunu başlatın.

void triggerFeature (FeatureRequest request, StreamObserver<FeatureResponse> responseObserver)
void unregisterInvocation ( IConfiguration reference)

Bir çağrının kaydını yapılandırmasına göre iptal edin.

Alanlar

SERVER_REFERENCE

public static final String SERVER_REFERENCE

TEST_INFORMATION_OBJECT

public static final String TEST_INFORMATION_OBJECT

TF_SERVICE_PORT

public static final String TF_SERVICE_PORT

Kamu inşaatçıları

TradefedFeatureSunucu

public TradefedFeatureServer ()

Genel yöntemler

getPort

public static int getPort ()

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

İadeler
int

kayıt çağrısı

public String registerInvocation (IConfiguration config, 
                ThreadGroup tg, 
                 listeners)

Sorgulanabilecek benzersiz bir referansa sahip bir çağrıyı kaydedin

Parametreler
config IConfiguration

tg ThreadGroup

listeners

İadeler
String

kapat

public void shutdown ()

grpc sunucusunu durdurun.

başlangıç

public void start ()

İstekleri dinlemek için grpc sunucusunu başlatın.

tetik Özelliği

public void triggerFeature (FeatureRequest request, 
                StreamObserver<FeatureResponse> responseObserver)

Parametreler
request FeatureRequest

responseObserver StreamObserver

kaydı silÇağrı

public void unregisterInvocation (IConfiguration reference)

Bir çağrının kaydını yapılandırmasına göre iptal edin.

Parametreler
reference IConfiguration