Class NetworkServiceGrpc.NetworkServiceStub

java.lang.Object
io.grpc.stub.AbstractStub<NetworkServiceGrpc.NetworkServiceStub>
io.grpc.stub.AbstractAsyncStub<NetworkServiceGrpc.NetworkServiceStub>
com.hedera.hashgraph.sdk.proto.NetworkServiceGrpc.NetworkServiceStub
Enclosing class:
NetworkServiceGrpc

public static final class NetworkServiceGrpc.NetworkServiceStub extends io.grpc.stub.AbstractAsyncStub<NetworkServiceGrpc.NetworkServiceStub>
A stub to allow clients to do asynchronous 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 Type
    Method
    Description
    build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
     
    void
    getAccountDetails(Query request, io.grpc.stub.StreamObserver<Response> responseObserver)
    Request detail information about an account.
    void
    getExecutionTime(Query request, io.grpc.stub.StreamObserver<Response> responseObserver)
    Deprecated.
    void
    getVersionInfo(Query request, io.grpc.stub.StreamObserver<Response> responseObserver)
    Retrieve the active versions of Hedera Services and API messages.
    void
    uncheckedSubmit(Transaction request, io.grpc.stub.StreamObserver<TransactionResponse> responseObserver)
    Deprecated.

    Methods inherited from class io.grpc.stub.AbstractAsyncStub

    newStub, newStub

    Methods inherited from class io.grpc.stub.AbstractStub

    getCallOptions, getChannel, withCallCredentials, withChannel, withCompression, withDeadline, withDeadlineAfter, withDeadlineAfter, withExecutor, withInterceptors, withMaxInboundMessageSize, withMaxOutboundMessageSize, withOnReadyThreshold, withOption, withWaitForReady

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Method Details

    • build

      protected NetworkServiceGrpc.NetworkServiceStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
      Specified by:
      build in class io.grpc.stub.AbstractStub<NetworkServiceGrpc.NetworkServiceStub>
    • getVersionInfo

      public void getVersionInfo(Query request, io.grpc.stub.StreamObserver<Response> responseObserver)
      
       Retrieve the active versions of Hedera Services and API messages.
       
    • getAccountDetails

      public void getAccountDetails(Query request, io.grpc.stub.StreamObserver<Response> responseObserver)
      
       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 void getExecutionTime(Query request, io.grpc.stub.StreamObserver<Response> responseObserver)
      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 void uncheckedSubmit(Transaction request, io.grpc.stub.StreamObserver<TransactionResponse> responseObserver)
      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>