Package dev.restate.sdk
Class GrpcChannelAdapter
- java.lang.Object
-
- io.grpc.Channel
-
- dev.restate.sdk.GrpcChannelAdapter
-
public class GrpcChannelAdapter extends io.grpc.ChannelChannel adapter for gRPC Blocking stubs.Keep in mind that this channel should be used only with generated blocking stubs.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Stringauthority()<RequestT,ResponseT>
io.grpc.ClientCall<RequestT,ResponseT>newCall(io.grpc.MethodDescriptor<RequestT,ResponseT> methodDescriptor, io.grpc.CallOptions callOptions)
-
-
-
Method Detail
-
newCall
public <RequestT,ResponseT> io.grpc.ClientCall<RequestT,ResponseT> newCall(io.grpc.MethodDescriptor<RequestT,ResponseT> methodDescriptor, io.grpc.CallOptions callOptions)- Specified by:
newCallin classio.grpc.Channel
-
authority
public java.lang.String authority()
- Specified by:
authorityin classio.grpc.Channel
-
-