Class Executable.GrpcRequest

java.lang.Object
com.hedera.hashgraph.sdk.Executable.GrpcRequest
Enclosing class:
Executable<SdkRequestT,ProtoRequestT extends com.google.protobuf.MessageLite,ResponseT extends com.google.protobuf.MessageLite,O>

class Executable.GrpcRequest extends Object
  • Constructor Details

    • GrpcRequest

      GrpcRequest(@Nullable Network network, int attempt, Duration grpcDeadline)
  • Method Details

    • getCallOptions

      public io.grpc.CallOptions getCallOptions()
    • setGrpcDeadline

      public void setGrpcDeadline(Duration grpcDeadline)
    • getNode

      public Node getNode()
    • createCall

      public io.grpc.ClientCall<ProtoRequestT,ResponseT> createCall()
    • getRequest

      public ProtoRequestT getRequest()
    • getDelay

      public long getDelay()
    • reactToConnectionFailure

      Throwable reactToConnectionFailure()
    • shouldRetryExceptionally

      boolean shouldRetryExceptionally(@Nullable Throwable e)
    • mapStatusException

      PrecheckStatusException mapStatusException()
    • mapResponse

      O mapResponse()
    • handleResponse

      void handleResponse(ResponseT response, Status status, ExecutionState executionState, @Nullable Client client)
    • verboseLog

      void verboseLog(Node node)