public final class XdsServerBuilder extends io.grpc.ForwardingServerBuilder<XdsServerBuilder>
ServerBuilder to create xDS managed servers that will use SDS to set up SSL
with peers. Note, this is not ready to use yet.| Modifier and Type | Class and Description |
|---|---|
static interface |
XdsServerBuilder.ErrorNotifier
Watcher to receive error notifications from xDS control plane during
start(). |
| Modifier and Type | Method and Description |
|---|---|
io.grpc.Server |
build() |
protected io.grpc.ServerBuilder<?> |
delegate() |
XdsServerBuilder |
errorNotifier(XdsServerBuilder.ErrorNotifier errorNotifier)
Set the
XdsServerBuilder.ErrorNotifier. |
static io.grpc.ServerBuilder<?> |
forPort(int port)
Unsupported call.
|
static XdsServerBuilder |
forPort(int port,
io.grpc.ServerCredentials serverCredentials)
Creates a gRPC server builder for the given port.
|
addService, addService, addStreamTracerFactory, addTransportFilter, compressorRegistry, decompressorRegistry, directExecutor, executor, fallbackHandlerRegistry, handshakeTimeout, intercept, maxInboundMessageSize, maxInboundMetadataSize, setBinaryLog, toString, useTransportSecurity, useTransportSecurity@Internal protected io.grpc.ServerBuilder<?> delegate()
delegate in class io.grpc.ForwardingServerBuilder<XdsServerBuilder>public XdsServerBuilder errorNotifier(XdsServerBuilder.ErrorNotifier errorNotifier)
XdsServerBuilder.ErrorNotifier. Pass null to unset a previously set value.public static io.grpc.ServerBuilder<?> forPort(int port)
forPort(int, ServerCredentials).public static XdsServerBuilder forPort(int port, io.grpc.ServerCredentials serverCredentials)
public io.grpc.Server build()
build in class io.grpc.ForwardingServerBuilder<XdsServerBuilder>