public static class ServerFactory.InetSocketAddressServerFactory extends ServerFactory
gRPC Server using the default server factory.
The server is created listening any open port on "localhost".
ServerFactory.InetSocketAddressServerFactory, ServerFactory.UrlFactory| 限定符和类型 | 方法和说明 |
|---|---|
org.apache.beam.vendor.grpc.v1p48p1.io.grpc.Server |
allocateAddressAndCreate(List<org.apache.beam.vendor.grpc.v1p48p1.io.grpc.BindableService> services,
org.apache.beam.model.pipeline.v1.Endpoints.ApiServiceDescriptor.Builder apiServiceDescriptor)
Creates an instance of this server using an ephemeral address.
|
org.apache.beam.vendor.grpc.v1p48p1.io.grpc.Server |
create(List<org.apache.beam.vendor.grpc.v1p48p1.io.grpc.BindableService> services,
org.apache.beam.model.pipeline.v1.Endpoints.ApiServiceDescriptor serviceDescriptor)
Creates an instance of this server at the address specified by the given service descriptor
and bound to multiple services.
|
createDefault, createEpollDomainSocket, createEpollSocket, createWithPortSupplier, createWithUrlFactory, createWithUrlFactoryAndPortSupplierpublic org.apache.beam.vendor.grpc.v1p48p1.io.grpc.Server allocateAddressAndCreate(List<org.apache.beam.vendor.grpc.v1p48p1.io.grpc.BindableService> services, org.apache.beam.model.pipeline.v1.Endpoints.ApiServiceDescriptor.Builder apiServiceDescriptor) throws IOException
ServerFactoryEndpoints.ApiServiceDescriptor.Builder. Server applies
GrpcContextHeaderAccessorProvider.interceptor() to all incoming requests.allocateAddressAndCreate 在类中 ServerFactoryIOExceptionpublic org.apache.beam.vendor.grpc.v1p48p1.io.grpc.Server create(List<org.apache.beam.vendor.grpc.v1p48p1.io.grpc.BindableService> services, org.apache.beam.model.pipeline.v1.Endpoints.ApiServiceDescriptor serviceDescriptor) throws IOException
ServerFactoryGrpcContextHeaderAccessorProvider.interceptor() to all incoming requests.create 在类中 ServerFactoryIOExceptionCopyright © 2014–2024 The Apache Software Foundation. All rights reserved.