public class SdkHarnessClientControlService extends java.lang.Object implements FnService
SdkHarnessClient based on an internally managed FnApiControlClientPoolService.| Modifier and Type | Method and Description |
|---|---|
io.grpc.ServerServiceDefinition |
bindService() |
void |
close()
.
|
static SdkHarnessClientControlService |
create(java.util.function.Supplier<FnDataService> dataService) |
SdkHarnessClient |
getClient() |
public static SdkHarnessClientControlService create(java.util.function.Supplier<FnDataService> dataService)
public SdkHarnessClient getClient()
public void close()
throws java.lang.Exception
FnServiceThere should be no more calls to any service method by the time a call to FnService.close()
begins. Specifically, this means that a Server that this service is bound to
should have completed a call to the Server.shutdown() method, and all future
incoming calls will be rejected.
public io.grpc.ServerServiceDefinition bindService()
bindService in interface io.grpc.BindableService