Module com.hedera.hashgraph.sdk
Package com.hedera.hashgraph.sdk.proto
Class FreezeServiceGrpc.FreezeServiceFutureStub
java.lang.Object
io.grpc.stub.AbstractStub<FreezeServiceGrpc.FreezeServiceFutureStub>
io.grpc.stub.AbstractFutureStub<FreezeServiceGrpc.FreezeServiceFutureStub>
com.hedera.hashgraph.sdk.proto.FreezeServiceGrpc.FreezeServiceFutureStub
- Enclosing class:
FreezeServiceGrpc
public static final class FreezeServiceGrpc.FreezeServiceFutureStub
extends io.grpc.stub.AbstractFutureStub<FreezeServiceGrpc.FreezeServiceFutureStub>
A stub to allow clients to do ListenableFuture-style 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 TypeMethodDescriptionbuild(io.grpc.Channel channel, io.grpc.CallOptions callOptions) com.google.common.util.concurrent.ListenableFuture<TransactionResponse> freeze(Transaction request) Freeze, cancel, or prepare a freeze.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 FreezeServiceGrpc.FreezeServiceFutureStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) - Specified by:
buildin classio.grpc.stub.AbstractStub<FreezeServiceGrpc.FreezeServiceFutureStub>
-
freeze
public com.google.common.util.concurrent.ListenableFuture<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`.
-