Package | Description |
---|---|
io.grpc |
The gRPC core public API.
|
io.grpc.inprocess |
The in-process transport which is for when a server is in the same process as the client.
|
io.grpc.internal |
Interfaces and implementations that are internal to gRPC.
|
Modifier and Type | Class and Description |
---|---|
class |
ManagedChannelBuilder<T extends ManagedChannelBuilder<T>>
A builder for
ManagedChannel instances. |
Modifier and Type | Class and Description |
---|---|
class |
ForwardingChannelBuilder<T extends ForwardingChannelBuilder<T>>
A
ManagedChannelBuilder that delegates all its builder method to another builder by
default. |
Modifier and Type | Method and Description |
---|---|
protected abstract ManagedChannelBuilder<?> |
ManagedChannelProvider.builderForAddress(String name,
int port)
Creates a new builder with the given host and port.
|
protected abstract ManagedChannelBuilder<?> |
ManagedChannelProvider.builderForTarget(String target)
Creates a new builder with the given target URI.
|
protected abstract ManagedChannelBuilder<?> |
ForwardingChannelBuilder.delegate()
Returns the delegated
ManagedChannelBuilder . |
static ManagedChannelBuilder<?> |
ManagedChannelBuilder.forAddress(String name,
int port)
Creates a channel with the target's address and port number.
|
static ManagedChannelBuilder<?> |
ForwardingChannelBuilder.forAddress(String name,
int port)
This method serves to force sub classes to "hide" this static factory.
|
static ManagedChannelBuilder<?> |
ManagedChannelBuilder.forTarget(String target)
Creates a channel with a target string, which can be either a valid
NameResolver -compliant URI, or an authority string. |
static ManagedChannelBuilder<?> |
ForwardingChannelBuilder.forTarget(String target)
This method serves to force sub classes to "hide" this static factory.
|
Modifier and Type | Class and Description |
---|---|
class |
InProcessChannelBuilder
Builder for a channel that issues in-process requests.
|
Modifier and Type | Class and Description |
---|---|
class |
AbstractManagedChannelImplBuilder<T extends AbstractManagedChannelImplBuilder<T>>
The base class for channel builders.
|
Modifier and Type | Method and Description |
---|---|
static ManagedChannelBuilder<?> |
AbstractManagedChannelImplBuilder.forAddress(String name,
int port) |
static ManagedChannelBuilder<?> |
AbstractManagedChannelImplBuilder.forTarget(String target) |
Copyright © 2019. All rights reserved.