Module com.hedera.hashgraph.sdk
Package com.hedera.hashgraph.sdk
Class PendingAirdropLogic<T extends PendingAirdropLogic<T>>
java.lang.Object
com.hedera.hashgraph.sdk.Executable<T,Transaction,TransactionResponse,TransactionResponse>
com.hedera.hashgraph.sdk.Transaction<T>
com.hedera.hashgraph.sdk.PendingAirdropLogic<T>
- Direct Known Subclasses:
TokenCancelAirdropTransaction,TokenClaimAirdropTransaction
-
Nested Class Summary
Nested classes/interfaces inherited from class com.hedera.hashgraph.sdk.Transaction
Transaction.SignableNodeTransactionBodyBytesNested classes/interfaces inherited from class com.hedera.hashgraph.sdk.Executable
Executable.GrpcRequest -
Field Summary
FieldsFields inherited from class com.hedera.hashgraph.sdk.Transaction
customFeeLimits, DEFAULT_AUTO_RENEW_PERIOD, defaultMaxTransactionFee, DUMMY_ACCOUNT_ID, DUMMY_TRANSACTION_ID, frozenBodyBuilder, innerSignedTransactions, outerTransactions, publicKeys, regenerateTransactionId, signers, sigPairLists, sourceTransactionBody, transactionIdsFields inherited from class com.hedera.hashgraph.sdk.Executable
attemptedAllNodes, blockingUnaryCall, grpcDeadline, logger, maxAttempts, maxBackoff, minBackoff, nodeAccountIds, nodes, random, RST_STREAM -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected(package private)PendingAirdropLogic(TransactionBody txBody) Constructor.(package private)Constructor. -
Method Summary
Modifier and TypeMethodDescriptionaddPendingAirdrop(PendingAirdropId pendingAirdropId) Add pendingAirdropIdclear the pending airdrop idsExtract the pending airdrop idssetPendingAirdropIds(List<PendingAirdropId> pendingAirdropIds) Set the pending airdrop ids(package private) voidvalidateChecksums(Client client) Methods inherited from class com.hedera.hashgraph.sdk.Transaction
addSignature, addSignature, batchify, buildAllTransactions, buildTransaction, doSchedule, estimateFee, freeze, freezeWith, fromBytes, fromScheduledTransaction, generateTransactionIds, getBatchKey, getDefaultMaxTransactionFee, getExecutionState, getHighVolume, getMaxTransactionFee, getRegenerateTransactionId, getRequiredChunks, getSignableNodeBodyBytesList, getSignatures, getSignaturesAtOffset, getTransactionBodySize, getTransactionHash, getTransactionHashPerNode, getTransactionId, getTransactionIdInternal, getTransactionMemo, getTransactionSize, getTransactionValidDuration, hash, isBatchedAndNotBatchTransaction, isFrozen, keyAlreadySigned, makeRequest, mapResponse, mapResponseStatus, onExecute, onExecuteAsync, onFreeze, onScheduled, regenerateTransactionId, requireNotFrozen, requireOneNodeAccountId, schedule, setBatchKey, setHighVolume, setMaxTransactionFee, setNodeAccountIds, setRegenerateTransactionId, setTransactionId, setTransactionMemo, setTransactionValidDuration, sign, signTransaction, signWith, signWithOperator, spawnBodyBuilder, toBytes, toString, wipeTransactionListsMethods inherited from class com.hedera.hashgraph.sdk.Executable
advanceRequest, checkNodeAccountIds, execute, execute, executeAsync, executeAsync, executeAsync, executeAsync, executeAsync, executeAsync, getGrpcRequest, getMaxAttempts, getMaxBackoff, getMaxRetry, getMethodDescriptor, getMinBackoff, getNodeAccountIds, getNodeForExecute, grpcDeadline, logTransaction, mergeFromClient, setGrpcDeadline, setLogger, setMaxAttempts, setMaxBackoff, setMaxRetry, setMinBackoff, setNodesFromNodeAccountIds, setRequestListener, setResponseListener, shouldRetryExceptionally
-
Field Details
-
pendingAirdropIds
-
-
Constructor Details
-
PendingAirdropLogic
protected PendingAirdropLogic() -
PendingAirdropLogic
PendingAirdropLogic(LinkedHashMap<TransactionId, LinkedHashMap<AccountId, throws com.google.protobuf.InvalidProtocolBufferExceptionTransaction>> txs) Constructor.- Parameters:
txs- Compound list of transaction id's list of (AccountId, Transaction) records- Throws:
com.google.protobuf.InvalidProtocolBufferException- when there is an issue with the protobuf
-
PendingAirdropLogic
PendingAirdropLogic(TransactionBody txBody) Constructor.- Parameters:
txBody- protobuf TransactionBody
-
-
Method Details
-
getPendingAirdropIds
Extract the pending airdrop ids- Returns:
- the pending airdrop ids
-
setPendingAirdropIds
Set the pending airdrop ids- Parameters:
pendingAirdropIds-- Returns:
this
-
clearPendingAirdropIds
clear the pending airdrop ids- Returns:
this
-
addPendingAirdrop
Add pendingAirdropId- Parameters:
pendingAirdropId-- Returns:
this
-
validateChecksums
- Specified by:
validateChecksumsin classTransaction<T extends PendingAirdropLogic<T>>- Throws:
BadEntityIdException
-