Module com.hedera.hashgraph.sdk
Package com.hedera.hashgraph.sdk.proto
Class NetworkServiceGrpc.NetworkServiceFutureStub
java.lang.Object
io.grpc.stub.AbstractStub<NetworkServiceGrpc.NetworkServiceFutureStub>
io.grpc.stub.AbstractFutureStub<NetworkServiceGrpc.NetworkServiceFutureStub>
com.hedera.hashgraph.sdk.proto.NetworkServiceGrpc.NetworkServiceFutureStub
- Enclosing class:
NetworkServiceGrpc
public static final class NetworkServiceGrpc.NetworkServiceFutureStub
extends io.grpc.stub.AbstractFutureStub<NetworkServiceGrpc.NetworkServiceFutureStub>
A stub to allow clients to do ListenableFuture-style rpc calls to service NetworkService.
Basic "network information" queries. This service supports queries for the active services and API versions, and a query for account details.
-
Nested Class Summary
Nested classes/interfaces inherited from class io.grpc.stub.AbstractStub
io.grpc.stub.AbstractStub.StubFactory<T extends io.grpc.stub.AbstractStub<T>> -
Method Summary
Modifier and TypeMethodDescriptionbuild(io.grpc.Channel channel, io.grpc.CallOptions callOptions) com.google.common.util.concurrent.ListenableFuture<Response> getAccountDetails(Query request) Request detail information about an account.com.google.common.util.concurrent.ListenableFuture<Response> getExecutionTime(Query request) Deprecated.com.google.common.util.concurrent.ListenableFuture<Response> getVersionInfo(Query request) Retrieve the active versions of Hedera Services and API messages.com.google.common.util.concurrent.ListenableFuture<TransactionResponse> uncheckedSubmit(Transaction request) Deprecated.Methods inherited from class io.grpc.stub.AbstractFutureStub
newStub, newStubMethods inherited from class io.grpc.stub.AbstractStub
getCallOptions, getChannel, withCallCredentials, withChannel, withCompression, withDeadline, withDeadlineAfter, withDeadlineAfter, withExecutor, withInterceptors, withMaxInboundMessageSize, withMaxOutboundMessageSize, withOnReadyThreshold, withOption, withWaitForReady
-
Method Details
-
build
protected NetworkServiceGrpc.NetworkServiceFutureStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) - Specified by:
buildin classio.grpc.stub.AbstractStub<NetworkServiceGrpc.NetworkServiceFutureStub>
-
getVersionInfo
Retrieve the active versions of Hedera Services and API messages.
-
getAccountDetails
public com.google.common.util.concurrent.ListenableFuture<Response> getAccountDetails(Query request) Request detail information about an account. <p> The returned information SHALL include balance and allowances.<br/> The returned information SHALL NOT include a list of account records.
-
getExecutionTime
@Deprecated public com.google.common.util.concurrent.ListenableFuture<Response> getExecutionTime(Query request) Deprecated.Retrieve the time, in nanoseconds, spent in direct processing for one or more recent transactions. <p> For each transaction identifier provided, if that transaction is sufficiently recent (that is, it is within the range of the configuration value `stats.executionTimesToTrack`), the node SHALL return the time, in nanoseconds, spent to directly process that transaction (that is, excluding time to reach consensus).<br/> Note that because each node processes every transaction for the Hedera network, this query MAY be sent to any node. <p> <blockquote>Important<blockquote> This query is obsolete, not supported, and SHALL fail with a pre-check result of `NOT_SUPPORTED`.</blockquote></blockquote>
-
uncheckedSubmit
@Deprecated public com.google.common.util.concurrent.ListenableFuture<TransactionResponse> uncheckedSubmit(Transaction request) Deprecated.Submit a transaction that wraps another transaction which will skip most validation. <p> <blockquote>Important<blockquote> This query is obsolete, not supported, and SHALL fail with a pre-check result of `NOT_SUPPORTED`. </blockquote></blockquote>
-