Class GatewayControlGrpc.GatewayControlFutureStub (0.3.0)

public static final class GatewayControlGrpc.GatewayControlFutureStub extends AbstractFutureStub<GatewayControlGrpc.GatewayControlFutureStub>

A stub to allow clients to do ListenableFuture-style rpc calls to service GatewayControl.

GatewayControl is the control plane API for Connect Gateway.

Inheritance

java.lang.Object > io.grpc.stub.AbstractStub > io.grpc.stub.AbstractFutureStub > GatewayControlGrpc.GatewayControlFutureStub

Methods

build(Channel channel, CallOptions callOptions)

protected GatewayControlGrpc.GatewayControlFutureStub build(Channel channel, CallOptions callOptions)
Parameters
Name Description
channel io.grpc.Channel
callOptions io.grpc.CallOptions
Returns
Type Description
GatewayControlGrpc.GatewayControlFutureStub
Overrides
io.grpc.stub.AbstractStub.build(io.grpc.Channel,io.grpc.CallOptions)

generateCredentials(GenerateCredentialsRequest request)

public ListenableFuture<GenerateCredentialsResponse> generateCredentials(GenerateCredentialsRequest request)

GenerateCredentials provides connection information that allows a user to access the specified membership using Connect Gateway.

Parameter
Name Description
request GenerateCredentialsRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<GenerateCredentialsResponse>