@Generated(value="by gRPC proto compiler (version 1.61.0)",
comments="Source: chainkit.proto")
public final class ChainKitGrpc
extends java.lang.Object
ChainKit is a service that can be used to get information from the chain backend.
Modifier and Type | Class and Description |
---|---|
static interface |
ChainKitGrpc.AsyncService
ChainKit is a service that can be used to get information from the
chain backend.
|
static class |
ChainKitGrpc.ChainKitBlockingStub
A stub to allow clients to do synchronous rpc calls to service ChainKit.
|
static class |
ChainKitGrpc.ChainKitFutureStub
A stub to allow clients to do ListenableFuture-style rpc calls to service ChainKit.
|
static class |
ChainKitGrpc.ChainKitImplBase
Base class for the server implementation of the service ChainKit.
|
static class |
ChainKitGrpc.ChainKitStub
A stub to allow clients to do asynchronous rpc calls to service ChainKit.
|
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
SERVICE_NAME |
Modifier and Type | Method and Description |
---|---|
static io.grpc.ServerServiceDefinition |
bindService(ChainKitGrpc.AsyncService service) |
static io.grpc.MethodDescriptor<Chainkit.GetBestBlockRequest,Chainkit.GetBestBlockResponse> |
getGetBestBlockMethod() |
static io.grpc.MethodDescriptor<Chainkit.GetBlockHashRequest,Chainkit.GetBlockHashResponse> |
getGetBlockHashMethod() |
static io.grpc.MethodDescriptor<Chainkit.GetBlockHeaderRequest,Chainkit.GetBlockHeaderResponse> |
getGetBlockHeaderMethod() |
static io.grpc.MethodDescriptor<Chainkit.GetBlockRequest,Chainkit.GetBlockResponse> |
getGetBlockMethod() |
static io.grpc.ServiceDescriptor |
getServiceDescriptor() |
static ChainKitGrpc.ChainKitBlockingStub |
newBlockingStub(io.grpc.Channel channel)
Creates a new blocking-style stub that supports unary and streaming output calls on the service
|
static ChainKitGrpc.ChainKitFutureStub |
newFutureStub(io.grpc.Channel channel)
Creates a new ListenableFuture-style stub that supports unary calls on the service
|
static ChainKitGrpc.ChainKitStub |
newStub(io.grpc.Channel channel)
Creates a new async stub that supports all call types for the service
|
public static final java.lang.String SERVICE_NAME
public static io.grpc.MethodDescriptor<Chainkit.GetBlockRequest,Chainkit.GetBlockResponse> getGetBlockMethod()
public static io.grpc.MethodDescriptor<Chainkit.GetBlockHeaderRequest,Chainkit.GetBlockHeaderResponse> getGetBlockHeaderMethod()
public static io.grpc.MethodDescriptor<Chainkit.GetBestBlockRequest,Chainkit.GetBestBlockResponse> getGetBestBlockMethod()
public static io.grpc.MethodDescriptor<Chainkit.GetBlockHashRequest,Chainkit.GetBlockHashResponse> getGetBlockHashMethod()
public static ChainKitGrpc.ChainKitStub newStub(io.grpc.Channel channel)
public static ChainKitGrpc.ChainKitBlockingStub newBlockingStub(io.grpc.Channel channel)
public static ChainKitGrpc.ChainKitFutureStub newFutureStub(io.grpc.Channel channel)
public static final io.grpc.ServerServiceDefinition bindService(ChainKitGrpc.AsyncService service)
public static io.grpc.ServiceDescriptor getServiceDescriptor()