Module com.hedera.hashgraph.sdk
Package com.hedera.hashgraph.sdk.proto
Class FreezeServiceGrpc.FreezeServiceBlockingV2Stub
java.lang.Object
io.grpc.stub.AbstractStub<FreezeServiceGrpc.FreezeServiceBlockingV2Stub>
io.grpc.stub.AbstractBlockingStub<FreezeServiceGrpc.FreezeServiceBlockingV2Stub>
com.hedera.hashgraph.sdk.proto.FreezeServiceGrpc.FreezeServiceBlockingV2Stub
- Enclosing class:
FreezeServiceGrpc
public static final class FreezeServiceGrpc.FreezeServiceBlockingV2Stub
extends io.grpc.stub.AbstractBlockingStub<FreezeServiceGrpc.FreezeServiceBlockingV2Stub>
A stub to allow clients to do 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 TypeMethodDescriptionbuild(io.grpc.Channel channel, io.grpc.CallOptions callOptions) freeze(Transaction request) Freeze, cancel, or prepare a freeze.Methods inherited from class io.grpc.stub.AbstractBlockingStub
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.FreezeServiceBlockingV2Stub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) - Specified by:
buildin classio.grpc.stub.AbstractStub<FreezeServiceGrpc.FreezeServiceBlockingV2Stub>
-
freeze
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`.
- Throws:
io.grpc.StatusException
-