TradefedFeatureServer
  public
  
  
  
  class
  TradefedFeatureServer
  
  
  
  
    extends TradefedInformationGrpc.TradefedInformationImplBase
  
  
  
  
  
  
| java.lang.Object | ||
| ↳ | com.proto.tradefed.feature.TradefedInformationGrpc.TradefedInformationImplBase | |
| ↳ | com.android.tradefed.service.TradefedFeatureServer | |
트리거 기능 요청에 응답하는 서버입니다.
요약
| 필드 | |
|---|---|
| 
    public
    static
    final
    String | SERVER_REFERENCE
 | 
| 
    public
    static
    final
    String | TEST_INFORMATION_OBJECT
 | 
| 
    public
    static
    final
    String | TF_SERVICE_PORT
 | 
| 공개 생성자 | |
|---|---|
| 
      TradefedFeatureServer()
       | |
| 공개 메서드 | |
|---|---|
| 
        
        
        static
        
        
        int | 
      getPort()
      서버에서 사용하는 포트를 반환합니다. | 
| 
        
        
        
        
        
        String | 
      registerInvocation(IConfiguration config, ThreadGroup tg, 쿼리할 수 있는 고유한 참조로 호출 등록 | 
| 
        
        
        
        
        
        void | 
      shutdown()
      grpc 서버를 중지합니다. | 
| 
        
        
        
        
        
        void | 
      start()
      grpc 서버를 시작하여 요청을 수신 대기합니다. | 
| 
        
        
        
        
        
        void | 
      triggerFeature(FeatureRequest request, StreamObserver<FeatureResponse> responseObserver)
       | 
| 
        
        
        
        
        
        void | 
      unregisterInvocation(IConfiguration reference)
      구성에 따라 호출을 등록 취소합니다. | 
필드
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
공개 생성자
TradefedFeatureServer
public TradefedFeatureServer ()
공개 메서드
getPort
public static int getPort ()
서버에서 사용하는 포트를 반환합니다.
| 반환 값 | |
|---|---|
| int | |
registerInvocation
public String registerInvocation (IConfiguration config, ThreadGroup tg,listeners) 
쿼리할 수 있는 고유한 참조로 호출 등록
| 매개변수 | |
|---|---|
| config | IConfiguration | 
| tg | ThreadGroup | 
| listeners |  | 
| 반환 값 | |
|---|---|
| String | |
종료
public void shutdown ()
grpc 서버를 중지합니다.
start
public void start ()
grpc 서버를 시작하여 요청을 수신 대기합니다.
triggerFeature
public void triggerFeature (FeatureRequest request, 
                StreamObserver<FeatureResponse> responseObserver)| 매개변수 | |
|---|---|
| request | FeatureRequest | 
| responseObserver | StreamObserver | 
unregisterInvocation
public void unregisterInvocation (IConfiguration reference)
구성에 따라 호출을 등록 취소합니다.
| 매개변수 | |
|---|---|
| reference | IConfiguration | 
