Class FreezeServiceGrpc.FreezeServiceStub

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

public static final class FreezeServiceGrpc.FreezeServiceStub extends io.grpc.stub.AbstractAsyncStub<FreezeServiceGrpc.FreezeServiceStub>
A stub to allow clients to do asynchronous rpc calls to service FreezeService.

 A service to manage network "freeze" events.
 This service provides a facility to prepare for network upgrades, halt network processing,
 perform network software upgrades, and automatically restart the network following an upgrade.
 
  • 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
    freeze(Transaction request, io.grpc.stub.StreamObserver<TransactionResponse> responseObserver)
    Freeze, cancel, or prepare a freeze.

    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 FreezeServiceGrpc.FreezeServiceStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
      Specified by:
      build in class io.grpc.stub.AbstractStub<FreezeServiceGrpc.FreezeServiceStub>
    • freeze

      public void freeze(Transaction request, io.grpc.stub.StreamObserver<TransactionResponse> responseObserver)
      
       Freeze, cancel, or prepare a freeze.
       This single transaction performs all of the functions supported
       by the network freeze service. These functions include actions to
       prepare an upgrade, prepare a telemetry upgrade, freeze the network,
       freeze the network for upgrade, or abort a scheduled freeze.
       <p>
       The actual freeze action SHALL be determined by the `freeze_type` field
       of the `FreezeTransactionBody`.<br/>
       The transaction body MUST be a `FreezeTransactionBody`.