Class FreezeServiceGrpc.FreezeServiceBlockingStub

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

public static final class FreezeServiceGrpc.FreezeServiceBlockingStub extends io.grpc.stub.AbstractBlockingStub<FreezeServiceGrpc.FreezeServiceBlockingStub>
A stub to allow clients to do limited synchronous 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)
     
    Freeze, cancel, or prepare a freeze.

    Methods inherited from class io.grpc.stub.AbstractBlockingStub

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

      public TransactionResponse freeze(Transaction request)
      
       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`.