A B C D E F G H I K L M N O P R S T U V W
All Classes All Packages
All Classes All Packages
All Classes All Packages
A
- AbstractCloseableNativeProxy - Class in com.exonum.binding.proxy
-
A proxy of a native object.
- AbstractCloseableNativeProxy(long, boolean) - Constructor for class com.exonum.binding.proxy.AbstractCloseableNativeProxy
-
Creates a native proxy.
- AbstractCloseableNativeProxy(long, boolean, AbstractCloseableNativeProxy) - Constructor for class com.exonum.binding.proxy.AbstractCloseableNativeProxy
-
Creates a native proxy.
- AbstractCloseableNativeProxy(long, boolean, Collection<AbstractCloseableNativeProxy>) - Constructor for class com.exonum.binding.proxy.AbstractCloseableNativeProxy
-
Creates a native proxy.
- AbstractNativeProxy - Class in com.exonum.binding.proxy
-
A base class of a native proxy.
- AbstractNativeProxy(NativeHandle) - Constructor for class com.exonum.binding.proxy.AbstractNativeProxy
- AbstractService - Class in com.exonum.binding.service
-
A base class for user services.
- AbstractService(short, String, TransactionConverter) - Constructor for class com.exonum.binding.service.AbstractService
-
Creates an AbstractService.
- AbstractServiceModule - Class in com.exonum.binding.service
-
A base class for
ServiceModule
implementations provided for convenience. - AbstractServiceModule() - Constructor for class com.exonum.binding.service.AbstractServiceModule
- add(CleanAction<?>) - Method in class com.exonum.binding.proxy.Cleaner
-
Registers a new clean action with this context.
- add(E) - Method in class com.exonum.binding.storage.indices.KeySetIndexProxy
-
Adds a new element to the set.
- add(E) - Method in class com.exonum.binding.storage.indices.ValueSetIndexProxy
-
Adds a new element to the set.
- add(T) - Method in interface com.exonum.binding.storage.indices.ListIndex
-
Adds a new element to the end of the list.
- addAll(Collection<? extends T>) - Method in interface com.exonum.binding.storage.indices.ListIndex
-
Adds all elements from the specified collection to this list.
- addRepeatedField(Descriptors.FieldDescriptor, Object) - Method in class com.exonum.binding.blockchain.serialization.CoreProtos.Block.Builder
- addRepeatedField(Descriptors.FieldDescriptor, Object) - Method in class com.exonum.binding.blockchain.serialization.CoreProtos.Hash.Builder
- addRepeatedField(Descriptors.FieldDescriptor, Object) - Method in class com.exonum.binding.blockchain.serialization.CoreProtos.TransactionResult.Builder
- addRepeatedField(Descriptors.FieldDescriptor, Object) - Method in class com.exonum.binding.blockchain.serialization.CoreProtos.TxLocation.Builder
- afterCommit(long, int, long) - Method in class com.exonum.binding.service.adapters.UserServiceAdapter
-
Handles block committed event.
- afterCommit(BlockCommittedEvent) - Method in interface com.exonum.binding.service.Service
-
Handles read-only block commit event.
- assignee() - Method in annotation type com.exonum.binding.annotations.ImproveDocs
-
Whom this item is assigned to.
- authorPk(PublicKey) - Method in class com.exonum.binding.transaction.TransactionContext.Builder
-
Sets transaction author public key for the context.
- AutoGenerationCandidate - Annotation Type in com.exonum.binding.annotations
-
An annotation intended to mark APIs that are good candidates to be generated auto-magically.
B
- Block - Class in com.exonum.binding.blockchain
-
Exonum block header data structure.
- Block() - Constructor for class com.exonum.binding.blockchain.Block
- BLOCK_HEIGHT_FIELD_NUMBER - Static variable in class com.exonum.binding.blockchain.serialization.CoreProtos.TxLocation
- Block.Builder - Class in com.exonum.binding.blockchain
- BlockAdapterFactory - Class in com.exonum.binding.blockchain.serialization
-
Class used to automatically create Gson type adapters for AutoValue classes.
- BlockAdapterFactory() - Constructor for class com.exonum.binding.blockchain.serialization.BlockAdapterFactory
- Blockchain - Class in com.exonum.binding.blockchain
-
Provides read-only access to the subset of blockchain::Schema features in the Core API: blocks, transaction messages, execution results.
- BlockCommittedEvent - Interface in com.exonum.binding.service
-
The blockchain state just after the corresponding block is committed.
- BlockCommittedEventImpl - Class in com.exonum.binding.service
- BlockCommittedEventImpl() - Constructor for class com.exonum.binding.service.BlockCommittedEventImpl
- blockHash(HashCode) - Method in class com.exonum.binding.blockchain.Block.Builder
-
Sets the hash of the block binary representation.
- BlockSerializer - Enum in com.exonum.binding.blockchain.serialization
- build() - Method in class com.exonum.binding.blockchain.Block.Builder
-
Creates a new block with the set arguments.
- build() - Method in class com.exonum.binding.blockchain.serialization.CoreProtos.Block.Builder
- build() - Method in class com.exonum.binding.blockchain.serialization.CoreProtos.Hash.Builder
- build() - Method in class com.exonum.binding.blockchain.serialization.CoreProtos.TransactionResult.Builder
- build() - Method in class com.exonum.binding.blockchain.serialization.CoreProtos.TxLocation.Builder
- build() - Method in class com.exonum.binding.transaction.RawTransaction.Builder
-
Creates the RawTransaction instance with specified parameters.
- build() - Method in class com.exonum.binding.transaction.TransactionContext.Builder
-
Creates the transaction context instance.
- builder() - Static method in class com.exonum.binding.blockchain.Block
-
Creates a new block builder.
- builder() - Static method in interface com.exonum.binding.transaction.TransactionContext
-
Returns the builder of the transaction context.
- Builder() - Constructor for class com.exonum.binding.blockchain.Block.Builder
- Builder() - Constructor for class com.exonum.binding.transaction.RawTransaction.Builder
- buildPartial() - Method in class com.exonum.binding.blockchain.serialization.CoreProtos.Block.Builder
- buildPartial() - Method in class com.exonum.binding.blockchain.serialization.CoreProtos.Hash.Builder
- buildPartial() - Method in class com.exonum.binding.blockchain.serialization.CoreProtos.TransactionResult.Builder
- buildPartial() - Method in class com.exonum.binding.blockchain.serialization.CoreProtos.TxLocation.Builder
C
- canModify() - Method in class com.exonum.binding.storage.database.View
-
Returns true if this view allows modifications to the database state; false if it is immutable.
- clean() - Method in interface com.exonum.binding.proxy.CleanAction
-
A clean operation to perform.
- clean() - Method in class com.exonum.binding.proxy.ProxyDestructor
-
Closes the native handle, so that it can no longer be accessed, and performs a clean action, passing the native handle value.
- CleanAction<ResourceDescriptionT> - Interface in com.exonum.binding.proxy
-
A clean action is an operation that is performed to release some resources.
- Cleaner - Class in com.exonum.binding.proxy
-
A context controlling lifecycle of native proxies.
- Cleaner() - Constructor for class com.exonum.binding.proxy.Cleaner
-
Creates a new cleaner with no (an empty) description.
- Cleaner(String) - Constructor for class com.exonum.binding.proxy.Cleaner
-
Creates a new cleaner.
- clear() - Method in class com.exonum.binding.blockchain.serialization.CoreProtos.Block.Builder
- clear() - Method in class com.exonum.binding.blockchain.serialization.CoreProtos.Hash.Builder
- clear() - Method in class com.exonum.binding.blockchain.serialization.CoreProtos.TransactionResult.Builder
- clear() - Method in class com.exonum.binding.blockchain.serialization.CoreProtos.TxLocation.Builder
- clear() - Method in class com.exonum.binding.storage.indices.KeySetIndexProxy
-
Removes all of the elements from this set.
- clear() - Method in interface com.exonum.binding.storage.indices.ListIndex
-
Clears the list.
- clear() - Method in interface com.exonum.binding.storage.indices.MapIndex
-
Removes all of the key-value pairs from the map.
- clear() - Method in class com.exonum.binding.storage.indices.MapIndexProxy
- clear() - Method in class com.exonum.binding.storage.indices.ProofMapIndexProxy
- clear() - Method in class com.exonum.binding.storage.indices.ValueSetIndexProxy
-
Removes all of the elements from this set.
- clearBlockHeight() - Method in class com.exonum.binding.blockchain.serialization.CoreProtos.TxLocation.Builder
-
uint64 block_height = 1;
- clearData() - Method in class com.exonum.binding.blockchain.serialization.CoreProtos.Hash.Builder
-
bytes data = 1;
- clearDescription() - Method in class com.exonum.binding.blockchain.serialization.CoreProtos.TransactionResult.Builder
-
string description = 2;
- clearField(Descriptors.FieldDescriptor) - Method in class com.exonum.binding.blockchain.serialization.CoreProtos.Block.Builder
- clearField(Descriptors.FieldDescriptor) - Method in class com.exonum.binding.blockchain.serialization.CoreProtos.Hash.Builder
- clearField(Descriptors.FieldDescriptor) - Method in class com.exonum.binding.blockchain.serialization.CoreProtos.TransactionResult.Builder
- clearField(Descriptors.FieldDescriptor) - Method in class com.exonum.binding.blockchain.serialization.CoreProtos.TxLocation.Builder
- clearHeight() - Method in class com.exonum.binding.blockchain.serialization.CoreProtos.Block.Builder
-
uint64 height = 2;
- clearOneof(Descriptors.OneofDescriptor) - Method in class com.exonum.binding.blockchain.serialization.CoreProtos.Block.Builder
- clearOneof(Descriptors.OneofDescriptor) - Method in class com.exonum.binding.blockchain.serialization.CoreProtos.Hash.Builder
- clearOneof(Descriptors.OneofDescriptor) - Method in class com.exonum.binding.blockchain.serialization.CoreProtos.TransactionResult.Builder
- clearOneof(Descriptors.OneofDescriptor) - Method in class com.exonum.binding.blockchain.serialization.CoreProtos.TxLocation.Builder
- clearPositionInBlock() - Method in class com.exonum.binding.blockchain.serialization.CoreProtos.TxLocation.Builder
-
uint64 position_in_block = 2;
- clearPrevHash() - Method in class com.exonum.binding.blockchain.serialization.CoreProtos.Block.Builder
-
.Hash prev_hash = 4;
- clearProposerId() - Method in class com.exonum.binding.blockchain.serialization.CoreProtos.Block.Builder
-
uint32 proposer_id = 1;
- clearStateHash() - Method in class com.exonum.binding.blockchain.serialization.CoreProtos.Block.Builder
-
.Hash state_hash = 6;
- clearStatus() - Method in class com.exonum.binding.blockchain.serialization.CoreProtos.TransactionResult.Builder
-
uint32 status = 1;
- clearTxCount() - Method in class com.exonum.binding.blockchain.serialization.CoreProtos.Block.Builder
-
uint32 tx_count = 3;
- clearTxHash() - Method in class com.exonum.binding.blockchain.serialization.CoreProtos.Block.Builder
-
.Hash tx_hash = 5;
- clone() - Method in class com.exonum.binding.blockchain.serialization.CoreProtos.Block.Builder
- clone() - Method in class com.exonum.binding.blockchain.serialization.CoreProtos.Hash.Builder
- clone() - Method in class com.exonum.binding.blockchain.serialization.CoreProtos.TransactionResult.Builder
- clone() - Method in class com.exonum.binding.blockchain.serialization.CoreProtos.TxLocation.Builder
- close() - Method in class com.exonum.binding.proxy.AbstractCloseableNativeProxy
- close() - Method in class com.exonum.binding.proxy.Cleaner
-
Performs all the clean operations that has been registered in this context in a reversed order of the registration order.
- close() - Method in interface com.exonum.binding.proxy.CloseableNativeProxy
-
Closes the native proxy and releases any native resources associated with this proxy.
- close() - Method in class com.exonum.binding.proxy.NativeHandle
- close() - Method in class com.exonum.binding.service.adapters.UserServiceAdapter
-
Close this service adapter.
- CloseableNativeProxy - Interface in com.exonum.binding.proxy
-
A proxy of a native object that must be explicitly closed.
- CloseFailuresException - Exception in com.exonum.binding.proxy
-
Indicates that there were failures when it was attempted to close some native proxies.
- com.exonum.binding.annotations - package com.exonum.binding.annotations
- com.exonum.binding.blockchain - package com.exonum.binding.blockchain
- com.exonum.binding.blockchain.serialization - package com.exonum.binding.blockchain.serialization
- com.exonum.binding.proxy - package com.exonum.binding.proxy
- com.exonum.binding.runtime - package com.exonum.binding.runtime
- com.exonum.binding.service - package com.exonum.binding.service
- com.exonum.binding.service.adapters - package com.exonum.binding.service.adapters
-
An internal package with adapters of Java Service interfaces to the interface, convenient to the native code.
- com.exonum.binding.storage.database - package com.exonum.binding.storage.database
- com.exonum.binding.storage.indices - package com.exonum.binding.storage.indices
-
Contains Exonum indexes — persistent, named collections built on top of Exonum key-value storage.
- com.exonum.binding.transaction - package com.exonum.binding.transaction
- com.exonum.binding.transport - package com.exonum.binding.transport
- com.exonum.binding.util - package com.exonum.binding.util
- contains(E) - Method in class com.exonum.binding.storage.indices.KeySetIndexProxy
-
Returns true if this set contains the specified element.
- contains(E) - Method in class com.exonum.binding.storage.indices.ValueSetIndexProxy
-
Returns true if this set contains the specified element.
- containsBlock(Block) - Method in class com.exonum.binding.blockchain.Blockchain
-
Returns true if the blockchain contains exactly the same block as the passed value; false if it does not contain such block.
- containsByHash(HashCode) - Method in class com.exonum.binding.storage.indices.ValueSetIndexProxy
-
Returns true if this set contains an element with the specified hash.
- containsKey(K) - Method in interface com.exonum.binding.storage.indices.MapIndex
-
Returns true if this map contains a mapping for the specified key.
- containsKey(K) - Method in class com.exonum.binding.storage.indices.MapIndexProxy
- containsKey(K) - Method in class com.exonum.binding.storage.indices.ProofMapIndexProxy
- convertToTransaction(RawTransaction) - Method in class com.exonum.binding.service.AbstractService
- convertToTransaction(RawTransaction) - Method in interface com.exonum.binding.service.Service
-
Converts an Exonum raw transaction to an executable transaction of this service.
- convertTransaction(short, byte[]) - Method in class com.exonum.binding.service.adapters.UserServiceAdapter
-
Converts a transaction messages into an executable transaction of this service.
- CoreProtos - Class in com.exonum.binding.blockchain.serialization
- CoreProtos.Block - Class in com.exonum.binding.blockchain.serialization
-
Protobuf type
Block
- CoreProtos.Block.Builder - Class in com.exonum.binding.blockchain.serialization
-
Protobuf type
Block
- CoreProtos.BlockOrBuilder - Interface in com.exonum.binding.blockchain.serialization
- CoreProtos.Hash - Class in com.exonum.binding.blockchain.serialization
-
Protobuf type
Hash
- CoreProtos.Hash.Builder - Class in com.exonum.binding.blockchain.serialization
-
Protobuf type
Hash
- CoreProtos.HashOrBuilder - Interface in com.exonum.binding.blockchain.serialization
- CoreProtos.TransactionResult - Class in com.exonum.binding.blockchain.serialization
-
Protobuf type
TransactionResult
- CoreProtos.TransactionResult.Builder - Class in com.exonum.binding.blockchain.serialization
-
Protobuf type
TransactionResult
- CoreProtos.TransactionResultOrBuilder - Interface in com.exonum.binding.blockchain.serialization
- CoreProtos.TxLocation - Class in com.exonum.binding.blockchain.serialization
-
Protobuf type
TxLocation
- CoreProtos.TxLocation.Builder - Class in com.exonum.binding.blockchain.serialization
-
Protobuf type
TxLocation
- CoreProtos.TxLocationOrBuilder - Interface in com.exonum.binding.blockchain.serialization
- create() - Static method in class com.exonum.binding.blockchain.serialization.BlockAdapterFactory
- create() - Static method in interface com.exonum.binding.transport.Server
-
Creates an HTTP server with no request handlers.
- createDataSchema(View) - Method in class com.exonum.binding.service.AbstractService
-
Creates a data schema of this service.
- createFork(long, Cleaner) - Method in interface com.exonum.binding.service.adapters.ViewFactory
-
Creates a new owning fork.
- createFork(long, Cleaner) - Method in enum com.exonum.binding.service.adapters.ViewProxyFactory
- createFork(Cleaner) - Method in interface com.exonum.binding.storage.database.Database
-
Creates a new database fork.
- createFork(Cleaner) - Method in class com.exonum.binding.storage.database.MemoryDb
- createPublicApiHandlers(Node, Router) - Method in interface com.exonum.binding.service.Service
-
Creates handlers that makes up the public API of this service.
- createRouter() - Method in interface com.exonum.binding.transport.Server
-
Creates a request router.
- createSnapshot(long, Cleaner) - Method in interface com.exonum.binding.service.adapters.ViewFactory
-
Creates a new owning snapshot.
- createSnapshot(long, Cleaner) - Method in enum com.exonum.binding.service.adapters.ViewProxyFactory
- createSnapshot(Cleaner) - Method in interface com.exonum.binding.storage.database.Database
-
Creates a new snapshot of the database state.
- createSnapshot(Cleaner) - Method in class com.exonum.binding.storage.database.MemoryDb
D
- DATA_FIELD_NUMBER - Static variable in class com.exonum.binding.blockchain.serialization.CoreProtos.Hash
- Database - Interface in com.exonum.binding.storage.database
-
Represents an underlying Exonum Storage database.
- DESCRIPTION_FIELD_NUMBER - Static variable in class com.exonum.binding.blockchain.serialization.CoreProtos.TransactionResult
- disposeInternal() - Method in class com.exonum.binding.proxy.AbstractCloseableNativeProxy
-
Releases any resources owned by this proxy (e.g., the corresponding native object).
- disposeInternal() - Method in class com.exonum.binding.service.NodeProxy
- disposeInternal() - Method in class com.exonum.binding.storage.database.MemoryDb
E
- entries() - Method in interface com.exonum.binding.storage.indices.MapIndex
-
Returns an iterator over the map entries.
- entries() - Method in class com.exonum.binding.storage.indices.MapIndexProxy
- entries() - Method in class com.exonum.binding.storage.indices.ProofMapIndexProxy
- Entry() - Constructor for class com.exonum.binding.storage.indices.ValueSetIndexProxy.Entry
- EntryIndexProxy<T> - Class in com.exonum.binding.storage.indices
-
An Entry is a database index that can contain no or a single value.
- equals(Object) - Method in class com.exonum.binding.blockchain.serialization.CoreProtos.Block
- equals(Object) - Method in class com.exonum.binding.blockchain.serialization.CoreProtos.Hash
- equals(Object) - Method in class com.exonum.binding.blockchain.serialization.CoreProtos.TransactionResult
- equals(Object) - Method in class com.exonum.binding.blockchain.serialization.CoreProtos.TxLocation
- execute(long, byte[], byte[]) - Method in class com.exonum.binding.service.adapters.UserTransactionAdapter
- execute(TransactionContext) - Method in interface com.exonum.binding.transaction.Transaction
-
Execute the transaction, possibly modifying the blockchain state.
F
- findBlock(HashCode) - Method in class com.exonum.binding.blockchain.Blockchain
-
Returns a block object for given block hash.
- fork(Fork) - Method in class com.exonum.binding.transaction.TransactionContext.Builder
-
Sets database fork for the context.
- Fork - Class in com.exonum.binding.storage.database
-
A fork is a database view, allowing both read and write operations.
- from(Runnable, ResourceDescriptionT) - Static method in interface com.exonum.binding.proxy.CleanAction
-
Creates a clean action with a given type.
- fromBytes(byte[]) - Method in enum com.exonum.binding.blockchain.serialization.BlockSerializer
- fromBytes(byte[]) - Method in enum com.exonum.binding.blockchain.serialization.TransactionLocationSerializer
- fromBytes(byte[]) - Method in enum com.exonum.binding.blockchain.serialization.TransactionResultSerializer
G
- get() - Method in class com.exonum.binding.proxy.NativeHandle
-
Returns a native implementation-specific handle if it may be safely used to access the native object.
- get() - Method in class com.exonum.binding.storage.indices.EntryIndexProxy
-
If value is present in the entry, returns it, otherwise, throws
NoSuchElementException
. - get(long) - Method in interface com.exonum.binding.storage.indices.ListIndex
-
Returns the element at the given index.
- get(K) - Method in interface com.exonum.binding.storage.indices.MapIndex
-
Returns the value associated with the specified key, or
null
if there is no mapping for the key. - get(K) - Method in class com.exonum.binding.storage.indices.MapIndexProxy
- get(K) - Method in class com.exonum.binding.storage.indices.ProofMapIndexProxy
- getActualConfiguration() - Method in class com.exonum.binding.blockchain.Blockchain
-
Returns the configuration for the latest height of the blockchain, including services and their parameters.
- getArtifactId() - Method in class com.exonum.binding.runtime.ServiceId
-
Returns the artifact id of this service (e.g., "land-registry"), aka service name.
- getAuthorPk() - Method in interface com.exonum.binding.transaction.TransactionContext
-
Returns public key of the transaction author.
- getBlock(long) - Method in class com.exonum.binding.blockchain.Blockchain
-
Returns the block at the given height.
- getBlockHash() - Method in class com.exonum.binding.blockchain.Block
-
Returns the SHA-256 hash of this block.
- getBlockHashes() - Method in class com.exonum.binding.blockchain.Blockchain
-
Returns a list of all block hashes, indexed by the block height.
- getBlockHeight() - Method in class com.exonum.binding.blockchain.serialization.CoreProtos.TxLocation.Builder
-
uint64 block_height = 1;
- getBlockHeight() - Method in class com.exonum.binding.blockchain.serialization.CoreProtos.TxLocation
-
uint64 block_height = 1;
- getBlockHeight() - Method in interface com.exonum.binding.blockchain.serialization.CoreProtos.TxLocationOrBuilder
-
uint64 block_height = 1;
- getBlocks() - Method in class com.exonum.binding.blockchain.Blockchain
-
Returns a map that stores a block object for every block hash.
- getBlockTransactions(long) - Method in class com.exonum.binding.blockchain.Blockchain
-
Returns a proof list of transaction hashes committed in the block at the given height.
- getBlockTransactions(Block) - Method in class com.exonum.binding.blockchain.Blockchain
-
Returns a proof list of transaction hashes committed in the given block.
- getBlockTransactions(HashCode) - Method in class com.exonum.binding.blockchain.Blockchain
-
Returns a proof list of transaction hashes committed in the block with the given id.
- getCleaner() - Method in class com.exonum.binding.storage.database.View
-
Returns the cleaner of this view.
- getCurrentValue() - Method in class com.exonum.binding.storage.database.IncrementalModificationCounter
- getCurrentValue() - Method in interface com.exonum.binding.storage.database.ModificationCounter
-
Returns the current value of the counter.
- getData() - Method in class com.exonum.binding.blockchain.serialization.CoreProtos.Hash.Builder
-
bytes data = 1;
- getData() - Method in class com.exonum.binding.blockchain.serialization.CoreProtos.Hash
-
bytes data = 1;
- getData() - Method in interface com.exonum.binding.blockchain.serialization.CoreProtos.HashOrBuilder
-
bytes data = 1;
- getDatabase() - Method in class com.exonum.binding.service.NodeFake
-
Returns the underlying database.
- getDefaultInstance() - Static method in class com.exonum.binding.blockchain.serialization.CoreProtos.Block
- getDefaultInstance() - Static method in class com.exonum.binding.blockchain.serialization.CoreProtos.Hash
- getDefaultInstance() - Static method in class com.exonum.binding.blockchain.serialization.CoreProtos.TransactionResult
- getDefaultInstance() - Static method in class com.exonum.binding.blockchain.serialization.CoreProtos.TxLocation
- getDefaultInstanceForType() - Method in class com.exonum.binding.blockchain.serialization.CoreProtos.Block.Builder
- getDefaultInstanceForType() - Method in class com.exonum.binding.blockchain.serialization.CoreProtos.Block
- getDefaultInstanceForType() - Method in class com.exonum.binding.blockchain.serialization.CoreProtos.Hash.Builder
- getDefaultInstanceForType() - Method in class com.exonum.binding.blockchain.serialization.CoreProtos.Hash
- getDefaultInstanceForType() - Method in class com.exonum.binding.blockchain.serialization.CoreProtos.TransactionResult.Builder
- getDefaultInstanceForType() - Method in class com.exonum.binding.blockchain.serialization.CoreProtos.TransactionResult
- getDefaultInstanceForType() - Method in class com.exonum.binding.blockchain.serialization.CoreProtos.TxLocation.Builder
- getDefaultInstanceForType() - Method in class com.exonum.binding.blockchain.serialization.CoreProtos.TxLocation
- getDescription() - Method in class com.exonum.binding.blockchain.serialization.CoreProtos.TransactionResult.Builder
-
string description = 2;
- getDescription() - Method in class com.exonum.binding.blockchain.serialization.CoreProtos.TransactionResult
-
string description = 2;
- getDescription() - Method in interface com.exonum.binding.blockchain.serialization.CoreProtos.TransactionResultOrBuilder
-
string description = 2;
- getDescription() - Method in class com.exonum.binding.proxy.Cleaner
-
Returns a description of this cleaner.
- getDescriptionBytes() - Method in class com.exonum.binding.blockchain.serialization.CoreProtos.TransactionResult.Builder
-
string description = 2;
- getDescriptionBytes() - Method in class com.exonum.binding.blockchain.serialization.CoreProtos.TransactionResult
-
string description = 2;
- getDescriptionBytes() - Method in interface com.exonum.binding.blockchain.serialization.CoreProtos.TransactionResultOrBuilder
-
string description = 2;
- getDescriptor() - Static method in class com.exonum.binding.blockchain.serialization.CoreProtos.Block.Builder
- getDescriptor() - Static method in class com.exonum.binding.blockchain.serialization.CoreProtos.Block
- getDescriptor() - Static method in class com.exonum.binding.blockchain.serialization.CoreProtos
- getDescriptor() - Static method in class com.exonum.binding.blockchain.serialization.CoreProtos.Hash.Builder
- getDescriptor() - Static method in class com.exonum.binding.blockchain.serialization.CoreProtos.Hash
- getDescriptor() - Static method in class com.exonum.binding.blockchain.serialization.CoreProtos.TransactionResult.Builder
- getDescriptor() - Static method in class com.exonum.binding.blockchain.serialization.CoreProtos.TransactionResult
- getDescriptor() - Static method in class com.exonum.binding.blockchain.serialization.CoreProtos.TxLocation.Builder
- getDescriptor() - Static method in class com.exonum.binding.blockchain.serialization.CoreProtos.TxLocation
- getDescriptorForType() - Method in class com.exonum.binding.blockchain.serialization.CoreProtos.Block.Builder
- getDescriptorForType() - Method in class com.exonum.binding.blockchain.serialization.CoreProtos.Hash.Builder
- getDescriptorForType() - Method in class com.exonum.binding.blockchain.serialization.CoreProtos.TransactionResult.Builder
- getDescriptorForType() - Method in class com.exonum.binding.blockchain.serialization.CoreProtos.TxLocation.Builder
- getErrorCode() - Method in exception com.exonum.binding.transaction.TransactionExecutionException
-
Returns the transaction error code.
- getFork() - Method in interface com.exonum.binding.transaction.TransactionContext
-
Returns database view allowing R/W operations.
- getGroupId() - Method in class com.exonum.binding.runtime.ServiceId
-
Returns the group id of this service (e.g., "com.acme").
- getHash() - Method in class com.exonum.binding.storage.indices.ValueSetIndexProxy.Entry
-
Returns a hash of the element of the set.
- getHeight() - Method in class com.exonum.binding.blockchain.Block
-
Returns the height of this block which is a distance between the last block and the "genesis" block.
- getHeight() - Method in class com.exonum.binding.blockchain.Blockchain
-
Returns the blockchain height which is the height of the latest committed block in the blockchain.
- getHeight() - Method in class com.exonum.binding.blockchain.serialization.CoreProtos.Block.Builder
-
uint64 height = 2;
- getHeight() - Method in class com.exonum.binding.blockchain.serialization.CoreProtos.Block
-
uint64 height = 2;
- getHeight() - Method in interface com.exonum.binding.blockchain.serialization.CoreProtos.BlockOrBuilder
-
uint64 height = 2;
- getHeight() - Method in interface com.exonum.binding.service.BlockCommittedEvent
-
Returns the current blockchain height, which is the height of the last committed block.
- getHeight() - Method in class com.exonum.binding.service.BlockCommittedEventImpl
- getId() - Method in class com.exonum.binding.service.AbstractService
- getId() - Method in class com.exonum.binding.service.adapters.UserServiceAdapter
- getId() - Method in interface com.exonum.binding.service.Service
-
Returns the id of the service.
- getInstance() - Static method in enum com.exonum.binding.service.adapters.ViewProxyFactory
-
Returns an instance of this factory.
- getLast() - Method in interface com.exonum.binding.storage.indices.ListIndex
-
Returns the last element of the list.
- getLastBlock() - Method in class com.exonum.binding.blockchain.Blockchain
-
Returns the latest committed block.
- getModificationCounter() - Method in class com.exonum.binding.storage.database.View
-
Returns a modification counter, corresponding to this view.
- getName() - Method in class com.exonum.binding.service.AbstractService
- getName() - Method in class com.exonum.binding.service.adapters.UserServiceAdapter
- getName() - Method in interface com.exonum.binding.service.Service
-
Returns the name of the service.
- getNativeHandle() - Method in class com.exonum.binding.proxy.AbstractCloseableNativeProxy
-
Returns a native implementation-specific handle if it may be safely used to access the native object.
- getNativeHandle() - Method in class com.exonum.binding.proxy.AbstractNativeProxy
-
Returns a handle to the native object if it may be safely used to access the native object.
- getNumRegisteredActions() - Method in class com.exonum.binding.proxy.Cleaner
-
Returns the number of the registered clean actions.
- getNumTransactions() - Method in class com.exonum.binding.blockchain.Block
-
Number of transactions in this block.
- getParserForType() - Method in class com.exonum.binding.blockchain.serialization.CoreProtos.Block
- getParserForType() - Method in class com.exonum.binding.blockchain.serialization.CoreProtos.Hash
- getParserForType() - Method in class com.exonum.binding.blockchain.serialization.CoreProtos.TransactionResult
- getParserForType() - Method in class com.exonum.binding.blockchain.serialization.CoreProtos.TxLocation
- getPayload() - Method in class com.exonum.binding.transaction.RawTransaction
-
Returns the transaction payload which contains actual transaction data.
- getPositionInBlock() - Method in class com.exonum.binding.blockchain.serialization.CoreProtos.TxLocation.Builder
-
uint64 position_in_block = 2;
- getPositionInBlock() - Method in class com.exonum.binding.blockchain.serialization.CoreProtos.TxLocation
-
uint64 position_in_block = 2;
- getPositionInBlock() - Method in interface com.exonum.binding.blockchain.serialization.CoreProtos.TxLocationOrBuilder
-
uint64 position_in_block = 2;
- getPrevHash() - Method in class com.exonum.binding.blockchain.serialization.CoreProtos.Block.Builder
-
.Hash prev_hash = 4;
- getPrevHash() - Method in class com.exonum.binding.blockchain.serialization.CoreProtos.Block
-
.Hash prev_hash = 4;
- getPrevHash() - Method in interface com.exonum.binding.blockchain.serialization.CoreProtos.BlockOrBuilder
-
.Hash prev_hash = 4;
- getPrevHashBuilder() - Method in class com.exonum.binding.blockchain.serialization.CoreProtos.Block.Builder
-
.Hash prev_hash = 4;
- getPrevHashOrBuilder() - Method in class com.exonum.binding.blockchain.serialization.CoreProtos.Block.Builder
-
.Hash prev_hash = 4;
- getPrevHashOrBuilder() - Method in class com.exonum.binding.blockchain.serialization.CoreProtos.Block
-
.Hash prev_hash = 4;
- getPrevHashOrBuilder() - Method in interface com.exonum.binding.blockchain.serialization.CoreProtos.BlockOrBuilder
-
.Hash prev_hash = 4;
- getPreviousBlockHash() - Method in class com.exonum.binding.blockchain.Block
-
Hash link to the previous block in the blockchain.
- getProof(long) - Method in class com.exonum.binding.storage.indices.ProofListIndexProxy
-
Returns a proof that an element exists at the specified index in this list.
- getProof(Collection<? extends K>) - Method in class com.exonum.binding.storage.indices.ProofMapIndexProxy
-
Returns a proof that there are values mapped to the specified keys or that there are no such mappings.
- getProof(K, K...) - Method in class com.exonum.binding.storage.indices.ProofMapIndexProxy
-
Returns a proof that there are values mapped to the specified keys or that there are no such mappings.
- getProposerId() - Method in class com.exonum.binding.blockchain.Block
-
Identifier of the leader node which has proposed the block.
- getProposerId() - Method in class com.exonum.binding.blockchain.serialization.CoreProtos.Block.Builder
-
uint32 proposer_id = 1;
- getProposerId() - Method in class com.exonum.binding.blockchain.serialization.CoreProtos.Block
-
uint32 proposer_id = 1;
- getProposerId() - Method in interface com.exonum.binding.blockchain.serialization.CoreProtos.BlockOrBuilder
-
uint32 proposer_id = 1;
- getPublicKey() - Method in interface com.exonum.binding.service.Node
-
Returns the service public key of this node.
- getPublicKey() - Method in class com.exonum.binding.service.NodeFake
- getPublicKey() - Method in class com.exonum.binding.service.NodeProxy
-
Returns the service public key of this node.
- getRangeProof(long, long) - Method in class com.exonum.binding.storage.indices.ProofListIndexProxy
-
Returns a proof that some elements exist in the specified range in this list.
- getRootHash() - Method in class com.exonum.binding.storage.indices.ProofListIndexProxy
-
Returns the root hash of the proof list.
- getRootHash() - Method in class com.exonum.binding.storage.indices.ProofMapIndexProxy
-
Returns the root hash of the underlying Merkle-Patricia tree.
- getSerializedSize() - Method in class com.exonum.binding.blockchain.serialization.CoreProtos.Block
- getSerializedSize() - Method in class com.exonum.binding.blockchain.serialization.CoreProtos.Hash
- getSerializedSize() - Method in class com.exonum.binding.blockchain.serialization.CoreProtos.TransactionResult
- getSerializedSize() - Method in class com.exonum.binding.blockchain.serialization.CoreProtos.TxLocation
- getServiceId() - Method in class com.exonum.binding.transaction.RawTransaction
-
Returns a service identifier which the transaction belongs to.
- getSnapshot() - Method in interface com.exonum.binding.service.BlockCommittedEvent
-
Returns the current database snapshot.
- getSnapshot() - Method in class com.exonum.binding.service.BlockCommittedEventImpl
- getStateHash() - Method in class com.exonum.binding.blockchain.Block
-
Hash of the blockchain state after applying transactions in the block.
- getStateHash() - Method in class com.exonum.binding.blockchain.serialization.CoreProtos.Block.Builder
-
.Hash state_hash = 6;
- getStateHash() - Method in class com.exonum.binding.blockchain.serialization.CoreProtos.Block
-
.Hash state_hash = 6;
- getStateHash() - Method in interface com.exonum.binding.blockchain.serialization.CoreProtos.BlockOrBuilder
-
.Hash state_hash = 6;
- getStateHashBuilder() - Method in class com.exonum.binding.blockchain.serialization.CoreProtos.Block.Builder
-
.Hash state_hash = 6;
- getStateHashes() - Method in interface com.exonum.binding.service.Schema
-
Returns the root hashes of Merkelized tables in this database schema, as of the current state of the database.
- getStateHashes(long) - Method in class com.exonum.binding.service.adapters.UserServiceAdapter
-
Returns the state hashes of the service.
- getStateHashes(Snapshot) - Method in class com.exonum.binding.service.AbstractService
- getStateHashes(Snapshot) - Method in interface com.exonum.binding.service.Service
-
Returns a list of root hashes of all Merkelized tables defined by this service, as of the given snapshot of the blockchain state.
- getStateHashOrBuilder() - Method in class com.exonum.binding.blockchain.serialization.CoreProtos.Block.Builder
-
.Hash state_hash = 6;
- getStateHashOrBuilder() - Method in class com.exonum.binding.blockchain.serialization.CoreProtos.Block
-
.Hash state_hash = 6;
- getStateHashOrBuilder() - Method in interface com.exonum.binding.blockchain.serialization.CoreProtos.BlockOrBuilder
-
.Hash state_hash = 6;
- getStatus() - Method in class com.exonum.binding.blockchain.serialization.CoreProtos.TransactionResult.Builder
-
uint32 status = 1;
- getStatus() - Method in class com.exonum.binding.blockchain.serialization.CoreProtos.TransactionResult
-
uint32 status = 1;
- getStatus() - Method in interface com.exonum.binding.blockchain.serialization.CoreProtos.TransactionResultOrBuilder
-
uint32 status = 1;
- getTransactionId() - Method in class com.exonum.binding.transaction.RawTransaction
-
Returns the type of this transaction within a service.
- getTransactionMessageHash() - Method in interface com.exonum.binding.transaction.TransactionContext
-
Returns SHA-256 hash of the transaction message that carried the payload from which the transaction was created.
- getTxCount() - Method in class com.exonum.binding.blockchain.serialization.CoreProtos.Block.Builder
-
uint32 tx_count = 3;
- getTxCount() - Method in class com.exonum.binding.blockchain.serialization.CoreProtos.Block
-
uint32 tx_count = 3;
- getTxCount() - Method in interface com.exonum.binding.blockchain.serialization.CoreProtos.BlockOrBuilder
-
uint32 tx_count = 3;
- getTxHash() - Method in class com.exonum.binding.blockchain.serialization.CoreProtos.Block.Builder
-
.Hash tx_hash = 5;
- getTxHash() - Method in class com.exonum.binding.blockchain.serialization.CoreProtos.Block
-
.Hash tx_hash = 5;
- getTxHash() - Method in interface com.exonum.binding.blockchain.serialization.CoreProtos.BlockOrBuilder
-
.Hash tx_hash = 5;
- getTxHashBuilder() - Method in class com.exonum.binding.blockchain.serialization.CoreProtos.Block.Builder
-
.Hash tx_hash = 5;
- getTxHashOrBuilder() - Method in class com.exonum.binding.blockchain.serialization.CoreProtos.Block.Builder
-
.Hash tx_hash = 5;
- getTxHashOrBuilder() - Method in class com.exonum.binding.blockchain.serialization.CoreProtos.Block
-
.Hash tx_hash = 5;
- getTxHashOrBuilder() - Method in interface com.exonum.binding.blockchain.serialization.CoreProtos.BlockOrBuilder
-
.Hash tx_hash = 5;
- getTxLocation(HashCode) - Method in class com.exonum.binding.blockchain.Blockchain
-
Returns transaction position inside the blockchain for given message hash.
- getTxLocations() - Method in class com.exonum.binding.blockchain.Blockchain
-
Returns a map that keeps the transaction position inside the blockchain for every transaction hash.
- getTxMessages() - Method in class com.exonum.binding.blockchain.Blockchain
-
Returns a map of transaction messages identified by their SHA-256 hashes.
- getTxResult(HashCode) - Method in class com.exonum.binding.blockchain.Blockchain
-
Returns a transaction execution result for given message hash.
- getTxResults() - Method in class com.exonum.binding.blockchain.Blockchain
-
Returns a map with a key-value pair of a transaction hash and execution result.
- getTxRootHash() - Method in class com.exonum.binding.blockchain.Block
-
Root hash of the Merkle tree of transactions in this block.
- getUnknownFields() - Method in class com.exonum.binding.blockchain.serialization.CoreProtos.Block
- getUnknownFields() - Method in class com.exonum.binding.blockchain.serialization.CoreProtos.Hash
- getUnknownFields() - Method in class com.exonum.binding.blockchain.serialization.CoreProtos.TransactionResult
- getUnknownFields() - Method in class com.exonum.binding.blockchain.serialization.CoreProtos.TxLocation
- getValidatorId() - Method in interface com.exonum.binding.service.BlockCommittedEvent
-
If this node is a validator, returns its identifier.
- getValidatorId() - Method in class com.exonum.binding.service.BlockCommittedEventImpl
- getValue() - Method in class com.exonum.binding.storage.indices.ValueSetIndexProxy.Entry
-
Returns an element of the set.
- getVersion() - Method in class com.exonum.binding.runtime.ServiceId
-
Returns the version of this service (e.g., "1.2.0").
- getViewNativeHandle() - Method in class com.exonum.binding.storage.database.View
-
Returns a native handle of this view.
H
- hashCode() - Method in class com.exonum.binding.blockchain.Block
- hashCode() - Method in class com.exonum.binding.blockchain.serialization.CoreProtos.Block
- hashCode() - Method in class com.exonum.binding.blockchain.serialization.CoreProtos.Hash
- hashCode() - Method in class com.exonum.binding.blockchain.serialization.CoreProtos.TransactionResult
- hashCode() - Method in class com.exonum.binding.blockchain.serialization.CoreProtos.TxLocation
- hashCode() - Method in class com.exonum.binding.storage.indices.ValueSetIndexProxy.Entry
- hashes() - Method in class com.exonum.binding.storage.indices.ValueSetIndexProxy
-
Creates an iterator over the hashes of the elements in this set.
- hasPrevHash() - Method in class com.exonum.binding.blockchain.serialization.CoreProtos.Block.Builder
-
.Hash prev_hash = 4;
- hasPrevHash() - Method in class com.exonum.binding.blockchain.serialization.CoreProtos.Block
-
.Hash prev_hash = 4;
- hasPrevHash() - Method in interface com.exonum.binding.blockchain.serialization.CoreProtos.BlockOrBuilder
-
.Hash prev_hash = 4;
- hasStateHash() - Method in class com.exonum.binding.blockchain.serialization.CoreProtos.Block.Builder
-
.Hash state_hash = 6;
- hasStateHash() - Method in class com.exonum.binding.blockchain.serialization.CoreProtos.Block
-
.Hash state_hash = 6;
- hasStateHash() - Method in interface com.exonum.binding.blockchain.serialization.CoreProtos.BlockOrBuilder
-
.Hash state_hash = 6;
- hasTxHash() - Method in class com.exonum.binding.blockchain.serialization.CoreProtos.Block.Builder
-
.Hash tx_hash = 5;
- hasTxHash() - Method in class com.exonum.binding.blockchain.serialization.CoreProtos.Block
-
.Hash tx_hash = 5;
- hasTxHash() - Method in interface com.exonum.binding.blockchain.serialization.CoreProtos.BlockOrBuilder
-
.Hash tx_hash = 5;
- height(long) - Method in class com.exonum.binding.blockchain.Block.Builder
-
Sets the block height, which is the distance between the block and the genesis block, which has zero height.
- HEIGHT_FIELD_NUMBER - Static variable in class com.exonum.binding.blockchain.serialization.CoreProtos.Block
I
- ImproveDocs - Annotation Type in com.exonum.binding.annotations
-
Indicates that a documentation of a field, method or class needs to be improved (or added if absent).
- IncrementalModificationCounter - Class in com.exonum.binding.storage.database
- IncrementalModificationCounter() - Constructor for class com.exonum.binding.storage.database.IncrementalModificationCounter
- info() - Method in class com.exonum.binding.service.adapters.UserTransactionAdapter
- info() - Method in interface com.exonum.binding.transaction.Transaction
-
Returns some information about this transaction in JSON format.
- initialize(long) - Method in class com.exonum.binding.service.adapters.UserServiceAdapter
-
Returns the service initial global configuration.
- initialize(Fork) - Method in interface com.exonum.binding.service.Service
-
Initializes the service.
- INSTANCE - com.exonum.binding.blockchain.serialization.BlockSerializer
- INSTANCE - com.exonum.binding.blockchain.serialization.TransactionLocationSerializer
- INSTANCE - com.exonum.binding.blockchain.serialization.TransactionResultSerializer
- INSTANCE - com.exonum.binding.service.adapters.ViewProxyFactory
- internalGetFieldAccessorTable() - Method in class com.exonum.binding.blockchain.serialization.CoreProtos.Block.Builder
- internalGetFieldAccessorTable() - Method in class com.exonum.binding.blockchain.serialization.CoreProtos.Block
- internalGetFieldAccessorTable() - Method in class com.exonum.binding.blockchain.serialization.CoreProtos.Hash.Builder
- internalGetFieldAccessorTable() - Method in class com.exonum.binding.blockchain.serialization.CoreProtos.Hash
- internalGetFieldAccessorTable() - Method in class com.exonum.binding.blockchain.serialization.CoreProtos.TransactionResult.Builder
- internalGetFieldAccessorTable() - Method in class com.exonum.binding.blockchain.serialization.CoreProtos.TransactionResult
- internalGetFieldAccessorTable() - Method in class com.exonum.binding.blockchain.serialization.CoreProtos.TxLocation.Builder
- internalGetFieldAccessorTable() - Method in class com.exonum.binding.blockchain.serialization.CoreProtos.TxLocation
- InternalServerError - Exception in com.exonum.binding.service
-
Indicates that an internal error occurred during transaction processing.
- INVALID_NATIVE_HANDLE - Static variable in class com.exonum.binding.proxy.NativeHandle
-
A reserved value for an invalid native handle, equal to
nullptr
in C++. - isClosed() - Method in class com.exonum.binding.proxy.Cleaner
-
Returns true if this cleaner is closed.
- isEmpty() - Method in interface com.exonum.binding.storage.indices.ListIndex
-
Returns true if the list is empty, false — otherwise.
- isEmpty() - Method in interface com.exonum.binding.storage.indices.MapIndex
-
Returns true if this map has no entries.
- isInitialized() - Method in class com.exonum.binding.blockchain.serialization.CoreProtos.Block.Builder
- isInitialized() - Method in class com.exonum.binding.blockchain.serialization.CoreProtos.Block
- isInitialized() - Method in class com.exonum.binding.blockchain.serialization.CoreProtos.Hash.Builder
- isInitialized() - Method in class com.exonum.binding.blockchain.serialization.CoreProtos.Hash
- isInitialized() - Method in class com.exonum.binding.blockchain.serialization.CoreProtos.TransactionResult.Builder
- isInitialized() - Method in class com.exonum.binding.blockchain.serialization.CoreProtos.TransactionResult
- isInitialized() - Method in class com.exonum.binding.blockchain.serialization.CoreProtos.TxLocation.Builder
- isInitialized() - Method in class com.exonum.binding.blockchain.serialization.CoreProtos.TxLocation
- isModifiedSince(int) - Method in class com.exonum.binding.storage.database.IncrementalModificationCounter
- isModifiedSince(int) - Method in interface com.exonum.binding.storage.database.ModificationCounter
-
Returns true if the counter was modified since the given value (if
ModificationCounter.notifyModified()
has been invoked); false — otherwise. - isPresent() - Method in class com.exonum.binding.storage.indices.EntryIndexProxy
-
Returns true if this entry exists in the database.
- isValidHandle() - Method in class com.exonum.binding.proxy.AbstractNativeProxy
-
Returns true if this proxy has a valid native handle.
- iterator() - Method in class com.exonum.binding.storage.indices.KeySetIndexProxy
-
Creates an iterator over the set elements.
- iterator() - Method in interface com.exonum.binding.storage.indices.ListIndex
-
Returns an iterator over the elements of the list.
- iterator() - Method in class com.exonum.binding.storage.indices.ValueSetIndexProxy
-
Returns an iterator over the entries of this set.
K
- keys() - Method in interface com.exonum.binding.storage.indices.MapIndex
-
Returns an iterator over the map keys in lexicographical order.
- keys() - Method in class com.exonum.binding.storage.indices.MapIndexProxy
- keys() - Method in class com.exonum.binding.storage.indices.ProofMapIndexProxy
- KeySetIndexProxy<E> - Class in com.exonum.binding.storage.indices
-
A key set is an index that contains no duplicate elements (keys).
L
- LibraryLoader - Class in com.exonum.binding.util
-
A loader of the native shared library with Exonum framework bindings.
- ListIndex<T> - Interface in com.exonum.binding.storage.indices
-
A list index proxy is a contiguous list of elements.
- ListIndexProxy<E> - Class in com.exonum.binding.storage.indices
-
A list index proxy is a contiguous list of elements.
- load() - Static method in class com.exonum.binding.util.LibraryLoader
-
Loads the native library with Exonum framework bindings.
M
- MapIndex<K,V> - Interface in com.exonum.binding.storage.indices
-
A MapIndex is an index that maps keys to values.
- MapIndexProxy<K,V> - Class in com.exonum.binding.storage.indices
-
A MapIndex is an index that maps keys to values.
- MemoryDb - Class in com.exonum.binding.storage.database
-
An in-memory database for testing purposes.
- merge(Fork) - Method in class com.exonum.binding.storage.database.MemoryDb
-
Applies the changes from the given fork to the database state.
- mergeFrom(CoreProtos.Block) - Method in class com.exonum.binding.blockchain.serialization.CoreProtos.Block.Builder
- mergeFrom(CoreProtos.Hash) - Method in class com.exonum.binding.blockchain.serialization.CoreProtos.Hash.Builder
- mergeFrom(CoreProtos.TransactionResult) - Method in class com.exonum.binding.blockchain.serialization.CoreProtos.TransactionResult.Builder
- mergeFrom(CoreProtos.TxLocation) - Method in class com.exonum.binding.blockchain.serialization.CoreProtos.TxLocation.Builder
- mergeFrom(CodedInputStream, ExtensionRegistryLite) - Method in class com.exonum.binding.blockchain.serialization.CoreProtos.Block.Builder
- mergeFrom(CodedInputStream, ExtensionRegistryLite) - Method in class com.exonum.binding.blockchain.serialization.CoreProtos.Hash.Builder
- mergeFrom(CodedInputStream, ExtensionRegistryLite) - Method in class com.exonum.binding.blockchain.serialization.CoreProtos.TransactionResult.Builder
- mergeFrom(CodedInputStream, ExtensionRegistryLite) - Method in class com.exonum.binding.blockchain.serialization.CoreProtos.TxLocation.Builder
- mergeFrom(Message) - Method in class com.exonum.binding.blockchain.serialization.CoreProtos.Block.Builder
- mergeFrom(Message) - Method in class com.exonum.binding.blockchain.serialization.CoreProtos.Hash.Builder
- mergeFrom(Message) - Method in class com.exonum.binding.blockchain.serialization.CoreProtos.TransactionResult.Builder
- mergeFrom(Message) - Method in class com.exonum.binding.blockchain.serialization.CoreProtos.TxLocation.Builder
- mergePrevHash(CoreProtos.Hash) - Method in class com.exonum.binding.blockchain.serialization.CoreProtos.Block.Builder
-
.Hash prev_hash = 4;
- mergeStateHash(CoreProtos.Hash) - Method in class com.exonum.binding.blockchain.serialization.CoreProtos.Block.Builder
-
.Hash state_hash = 6;
- mergeTxHash(CoreProtos.Hash) - Method in class com.exonum.binding.blockchain.serialization.CoreProtos.Block.Builder
-
.Hash tx_hash = 5;
- mergeUnknownFields(UnknownFieldSet) - Method in class com.exonum.binding.blockchain.serialization.CoreProtos.Block.Builder
- mergeUnknownFields(UnknownFieldSet) - Method in class com.exonum.binding.blockchain.serialization.CoreProtos.Hash.Builder
- mergeUnknownFields(UnknownFieldSet) - Method in class com.exonum.binding.blockchain.serialization.CoreProtos.TransactionResult.Builder
- mergeUnknownFields(UnknownFieldSet) - Method in class com.exonum.binding.blockchain.serialization.CoreProtos.TxLocation.Builder
- ModificationCounter - Interface in com.exonum.binding.storage.database
-
A counter of modification events of some objects (e.g., a collection, or a database view).
- mountPublicApiHandler(long) - Method in class com.exonum.binding.service.adapters.UserServiceAdapter
- mountSubRouter(String, Router) - Method in interface com.exonum.binding.transport.Server
-
Mounts the sub router on the root router of this server.
N
- nativeHandle - Variable in class com.exonum.binding.proxy.AbstractNativeProxy
-
A handle to the native object.
- NativeHandle - Class in com.exonum.binding.proxy
-
An implementation-specific handle to the native object.
- NativeHandle(long) - Constructor for class com.exonum.binding.proxy.NativeHandle
-
Creates new native handle.
- newBuilder() - Static method in class com.exonum.binding.blockchain.serialization.CoreProtos.Block
- newBuilder() - Static method in class com.exonum.binding.blockchain.serialization.CoreProtos.Hash
- newBuilder() - Static method in class com.exonum.binding.blockchain.serialization.CoreProtos.TransactionResult
- newBuilder() - Static method in class com.exonum.binding.blockchain.serialization.CoreProtos.TxLocation
- newBuilder() - Static method in class com.exonum.binding.transaction.RawTransaction
-
Returns the new builder for the transaction.
- newBuilder(CoreProtos.Block) - Static method in class com.exonum.binding.blockchain.serialization.CoreProtos.Block
- newBuilder(CoreProtos.Hash) - Static method in class com.exonum.binding.blockchain.serialization.CoreProtos.Hash
- newBuilder(CoreProtos.TransactionResult) - Static method in class com.exonum.binding.blockchain.serialization.CoreProtos.TransactionResult
- newBuilder(CoreProtos.TxLocation) - Static method in class com.exonum.binding.blockchain.serialization.CoreProtos.TxLocation
- newBuilderForType() - Method in class com.exonum.binding.blockchain.serialization.CoreProtos.Block
- newBuilderForType() - Method in class com.exonum.binding.blockchain.serialization.CoreProtos.Hash
- newBuilderForType() - Method in class com.exonum.binding.blockchain.serialization.CoreProtos.TransactionResult
- newBuilderForType() - Method in class com.exonum.binding.blockchain.serialization.CoreProtos.TxLocation
- newBuilderForType(GeneratedMessageV3.BuilderParent) - Method in class com.exonum.binding.blockchain.serialization.CoreProtos.Block
- newBuilderForType(GeneratedMessageV3.BuilderParent) - Method in class com.exonum.binding.blockchain.serialization.CoreProtos.Hash
- newBuilderForType(GeneratedMessageV3.BuilderParent) - Method in class com.exonum.binding.blockchain.serialization.CoreProtos.TransactionResult
- newBuilderForType(GeneratedMessageV3.BuilderParent) - Method in class com.exonum.binding.blockchain.serialization.CoreProtos.TxLocation
- newInGroupUnsafe(String, byte[], View, Serializer<E>) - Static method in class com.exonum.binding.storage.indices.KeySetIndexProxy
-
Creates a new key set in a collection group with the given name.
- newInGroupUnsafe(String, byte[], View, Serializer<E>) - Static method in class com.exonum.binding.storage.indices.ListIndexProxy
-
Creates a new list in a collection group with the given name.
- newInGroupUnsafe(String, byte[], View, Serializer<E>) - Static method in class com.exonum.binding.storage.indices.ProofListIndexProxy
-
Creates a new list in a collection group with the given name.
- newInGroupUnsafe(String, byte[], View, Serializer<E>) - Static method in class com.exonum.binding.storage.indices.ValueSetIndexProxy
-
Creates a new value set in a collection group with the given name.
- newInGroupUnsafe(String, byte[], View, Serializer<K>, Serializer<V>) - Static method in class com.exonum.binding.storage.indices.MapIndexProxy
-
Creates a new map in a collection group with the given name.
- newInGroupUnsafe(String, byte[], View, Serializer<K>, Serializer<V>) - Static method in class com.exonum.binding.storage.indices.ProofMapIndexProxy
-
Creates a new proof map in a collection group with the given name.
- newInstance() - Static method in class com.exonum.binding.storage.database.MemoryDb
-
Creates a new empty MemoryDb.
- newInstance(long, boolean, Cleaner) - Static method in class com.exonum.binding.storage.database.Fork
-
Creates a new Fork proxy.
- newInstance(long, boolean, Cleaner) - Static method in class com.exonum.binding.storage.database.Snapshot
-
Creates a new Snapshot proxy.
- newInstance(long, Cleaner) - Static method in class com.exonum.binding.storage.database.Fork
-
Creates a new owning Fork proxy.
- newInstance(long, Cleaner) - Static method in class com.exonum.binding.storage.database.Snapshot
-
Creates a new owning Snapshot proxy.
- newInstance(View) - Static method in class com.exonum.binding.blockchain.Blockchain
-
Constructs a new blockchain instance for the given database view.
- newInstance(String, View, Serializer<E>) - Static method in class com.exonum.binding.storage.indices.EntryIndexProxy
-
Creates a new Entry.
- newInstance(String, View, Serializer<E>) - Static method in class com.exonum.binding.storage.indices.KeySetIndexProxy
-
Creates a new key set proxy.
- newInstance(String, View, Serializer<E>) - Static method in class com.exonum.binding.storage.indices.ListIndexProxy
-
Creates a new ListIndexProxy.
- newInstance(String, View, Serializer<E>) - Static method in class com.exonum.binding.storage.indices.ProofListIndexProxy
-
Creates a new ProofListIndexProxy.
- newInstance(String, View, Serializer<E>) - Static method in class com.exonum.binding.storage.indices.ValueSetIndexProxy
-
Creates a new value set.
- newInstance(String, View, Serializer<K>, Serializer<V>) - Static method in class com.exonum.binding.storage.indices.MapIndexProxy
-
Creates a new MapIndexProxy.
- newInstance(String, View, Serializer<K>, Serializer<V>) - Static method in class com.exonum.binding.storage.indices.ProofMapIndexProxy
-
Creates a ProofMapIndexProxy.
- newInstance(String, View, Class<E>) - Static method in class com.exonum.binding.storage.indices.EntryIndexProxy
-
Creates a new Entry storing protobuf messages.
- newInstance(String, View, Class<E>) - Static method in class com.exonum.binding.storage.indices.KeySetIndexProxy
-
Creates a new key set storing protobuf messages.
- newInstance(String, View, Class<E>) - Static method in class com.exonum.binding.storage.indices.ListIndexProxy
-
Creates a new ListIndexProxy storing protobuf messages.
- newInstance(String, View, Class<E>) - Static method in class com.exonum.binding.storage.indices.ProofListIndexProxy
-
Creates a new ProofListIndexProxy storing protobuf messages.
- newInstance(String, View, Class<E>) - Static method in class com.exonum.binding.storage.indices.ValueSetIndexProxy
-
Creates a new value set storing protobuf messages.
- newInstance(String, View, Class<K>, Class<V>) - Static method in class com.exonum.binding.storage.indices.MapIndexProxy
-
Creates a new MapIndexProxy using protobuf messages.
- newRegistered(Cleaner, NativeHandle, Class<?>, LongConsumer) - Static method in class com.exonum.binding.proxy.ProxyDestructor
-
Creates a new destructor of a native proxy, registered in the given cleaner.
- Node - Interface in com.exonum.binding.service
-
An Exonum node context.
- NodeFake - Class in com.exonum.binding.service
-
An implementation of a Node interface for testing purposes.
- NodeFake(MemoryDb) - Constructor for class com.exonum.binding.service.NodeFake
-
Creates a new node fake with the given database and an empty public key.
- NodeFake(MemoryDb, PublicKey) - Constructor for class com.exonum.binding.service.NodeFake
-
Creates a new node fake with the given database.
- NodeProxy - Class in com.exonum.binding.service
-
An Exonum node context.
- NodeProxy(long) - Constructor for class com.exonum.binding.service.NodeProxy
-
Creates a proxy of a node.
- notifyModified() - Method in class com.exonum.binding.storage.database.IncrementalModificationCounter
- notifyModified() - Method in interface com.exonum.binding.storage.database.ModificationCounter
-
Notifies this counter that the source object is modified, updating its current value.
- numTransactions(int) - Method in class com.exonum.binding.blockchain.Block.Builder
-
Sets the number of transactions in this block.
O
- of(String, String, String) - Static method in class com.exonum.binding.runtime.ServiceId
-
Creates a new service id of the given coordinate.
P
- parseDelimitedFrom(InputStream) - Static method in class com.exonum.binding.blockchain.serialization.CoreProtos.Block
- parseDelimitedFrom(InputStream) - Static method in class com.exonum.binding.blockchain.serialization.CoreProtos.Hash
- parseDelimitedFrom(InputStream) - Static method in class com.exonum.binding.blockchain.serialization.CoreProtos.TransactionResult
- parseDelimitedFrom(InputStream) - Static method in class com.exonum.binding.blockchain.serialization.CoreProtos.TxLocation
- parseDelimitedFrom(InputStream, ExtensionRegistryLite) - Static method in class com.exonum.binding.blockchain.serialization.CoreProtos.Block
- parseDelimitedFrom(InputStream, ExtensionRegistryLite) - Static method in class com.exonum.binding.blockchain.serialization.CoreProtos.Hash
- parseDelimitedFrom(InputStream, ExtensionRegistryLite) - Static method in class com.exonum.binding.blockchain.serialization.CoreProtos.TransactionResult
- parseDelimitedFrom(InputStream, ExtensionRegistryLite) - Static method in class com.exonum.binding.blockchain.serialization.CoreProtos.TxLocation
- parseFrom(byte[]) - Static method in class com.exonum.binding.blockchain.serialization.CoreProtos.Block
- parseFrom(byte[]) - Static method in class com.exonum.binding.blockchain.serialization.CoreProtos.Hash
- parseFrom(byte[]) - Static method in class com.exonum.binding.blockchain.serialization.CoreProtos.TransactionResult
- parseFrom(byte[]) - Static method in class com.exonum.binding.blockchain.serialization.CoreProtos.TxLocation
- parseFrom(byte[], ExtensionRegistryLite) - Static method in class com.exonum.binding.blockchain.serialization.CoreProtos.Block
- parseFrom(byte[], ExtensionRegistryLite) - Static method in class com.exonum.binding.blockchain.serialization.CoreProtos.Hash
- parseFrom(byte[], ExtensionRegistryLite) - Static method in class com.exonum.binding.blockchain.serialization.CoreProtos.TransactionResult
- parseFrom(byte[], ExtensionRegistryLite) - Static method in class com.exonum.binding.blockchain.serialization.CoreProtos.TxLocation
- parseFrom(ByteString) - Static method in class com.exonum.binding.blockchain.serialization.CoreProtos.Block
- parseFrom(ByteString) - Static method in class com.exonum.binding.blockchain.serialization.CoreProtos.Hash
- parseFrom(ByteString) - Static method in class com.exonum.binding.blockchain.serialization.CoreProtos.TransactionResult
- parseFrom(ByteString) - Static method in class com.exonum.binding.blockchain.serialization.CoreProtos.TxLocation
- parseFrom(ByteString, ExtensionRegistryLite) - Static method in class com.exonum.binding.blockchain.serialization.CoreProtos.Block
- parseFrom(ByteString, ExtensionRegistryLite) - Static method in class com.exonum.binding.blockchain.serialization.CoreProtos.Hash
- parseFrom(ByteString, ExtensionRegistryLite) - Static method in class com.exonum.binding.blockchain.serialization.CoreProtos.TransactionResult
- parseFrom(ByteString, ExtensionRegistryLite) - Static method in class com.exonum.binding.blockchain.serialization.CoreProtos.TxLocation
- parseFrom(CodedInputStream) - Static method in class com.exonum.binding.blockchain.serialization.CoreProtos.Block
- parseFrom(CodedInputStream) - Static method in class com.exonum.binding.blockchain.serialization.CoreProtos.Hash
- parseFrom(CodedInputStream) - Static method in class com.exonum.binding.blockchain.serialization.CoreProtos.TransactionResult
- parseFrom(CodedInputStream) - Static method in class com.exonum.binding.blockchain.serialization.CoreProtos.TxLocation
- parseFrom(CodedInputStream, ExtensionRegistryLite) - Static method in class com.exonum.binding.blockchain.serialization.CoreProtos.Block
- parseFrom(CodedInputStream, ExtensionRegistryLite) - Static method in class com.exonum.binding.blockchain.serialization.CoreProtos.Hash
- parseFrom(CodedInputStream, ExtensionRegistryLite) - Static method in class com.exonum.binding.blockchain.serialization.CoreProtos.TransactionResult
- parseFrom(CodedInputStream, ExtensionRegistryLite) - Static method in class com.exonum.binding.blockchain.serialization.CoreProtos.TxLocation
- parseFrom(InputStream) - Static method in class com.exonum.binding.blockchain.serialization.CoreProtos.Block
- parseFrom(InputStream) - Static method in class com.exonum.binding.blockchain.serialization.CoreProtos.Hash
- parseFrom(InputStream) - Static method in class com.exonum.binding.blockchain.serialization.CoreProtos.TransactionResult
- parseFrom(InputStream) - Static method in class com.exonum.binding.blockchain.serialization.CoreProtos.TxLocation
- parseFrom(InputStream, ExtensionRegistryLite) - Static method in class com.exonum.binding.blockchain.serialization.CoreProtos.Block
- parseFrom(InputStream, ExtensionRegistryLite) - Static method in class com.exonum.binding.blockchain.serialization.CoreProtos.Hash
- parseFrom(InputStream, ExtensionRegistryLite) - Static method in class com.exonum.binding.blockchain.serialization.CoreProtos.TransactionResult
- parseFrom(InputStream, ExtensionRegistryLite) - Static method in class com.exonum.binding.blockchain.serialization.CoreProtos.TxLocation
- parseFrom(String) - Static method in class com.exonum.binding.runtime.ServiceId
-
Parses a service id in format "groupId:artifactId:version" as
ServiceId.toString()
produces. - parseFrom(ByteBuffer) - Static method in class com.exonum.binding.blockchain.serialization.CoreProtos.Block
- parseFrom(ByteBuffer) - Static method in class com.exonum.binding.blockchain.serialization.CoreProtos.Hash
- parseFrom(ByteBuffer) - Static method in class com.exonum.binding.blockchain.serialization.CoreProtos.TransactionResult
- parseFrom(ByteBuffer) - Static method in class com.exonum.binding.blockchain.serialization.CoreProtos.TxLocation
- parseFrom(ByteBuffer, ExtensionRegistryLite) - Static method in class com.exonum.binding.blockchain.serialization.CoreProtos.Block
- parseFrom(ByteBuffer, ExtensionRegistryLite) - Static method in class com.exonum.binding.blockchain.serialization.CoreProtos.Hash
- parseFrom(ByteBuffer, ExtensionRegistryLite) - Static method in class com.exonum.binding.blockchain.serialization.CoreProtos.TransactionResult
- parseFrom(ByteBuffer, ExtensionRegistryLite) - Static method in class com.exonum.binding.blockchain.serialization.CoreProtos.TxLocation
- parser() - Static method in class com.exonum.binding.blockchain.serialization.CoreProtos.Block
- parser() - Static method in class com.exonum.binding.blockchain.serialization.CoreProtos.Hash
- parser() - Static method in class com.exonum.binding.blockchain.serialization.CoreProtos.TransactionResult
- parser() - Static method in class com.exonum.binding.blockchain.serialization.CoreProtos.TxLocation
- payload(byte[]) - Method in class com.exonum.binding.transaction.RawTransaction.Builder
-
Sets the payload of the transaction.
- POSITION_IN_BLOCK_FIELD_NUMBER - Static variable in class com.exonum.binding.blockchain.serialization.CoreProtos.TxLocation
- PREV_HASH_FIELD_NUMBER - Static variable in class com.exonum.binding.blockchain.serialization.CoreProtos.Block
- previousBlockHash(HashCode) - Method in class com.exonum.binding.blockchain.Block.Builder
-
Sets the hash of the previous block in the hash chain.
- ProofListIndexProxy<E> - Class in com.exonum.binding.storage.indices
-
A proof list index proxy is a contiguous list of elements, capable of providing cryptographic proofs that it contains a certain element at a particular position.
- ProofMapIndexProxy<K,V> - Class in com.exonum.binding.storage.indices
-
A ProofMapIndexProxy is an index that maps keys to values.
- PROPOSER_ID_FIELD_NUMBER - Static variable in class com.exonum.binding.blockchain.serialization.CoreProtos.Block
- proposerId(int) - Method in class com.exonum.binding.blockchain.Block.Builder
-
Sets the identifier of the leader node which has proposed the block.
- ProxyDestructor - Class in com.exonum.binding.proxy
-
ProxyDestructor is a clean action that destroys a native proxy and closes its native handle.
- ProxyDestructor(NativeHandle, Class<?>, LongConsumer) - Constructor for class com.exonum.binding.proxy.ProxyDestructor
-
Creates a new destructor of a native proxy.
- put(K, V) - Method in interface com.exonum.binding.storage.indices.MapIndex
-
Puts a new key-value pair into the map.
- put(K, V) - Method in class com.exonum.binding.storage.indices.MapIndexProxy
- put(K, V) - Method in class com.exonum.binding.storage.indices.ProofMapIndexProxy
-
Puts a new key-value pair into the map.
- putAll(Map<? extends K, ? extends V>) - Method in interface com.exonum.binding.storage.indices.MapIndex
-
Puts all key-value pairs from the given map into this map.
- putAll(Map<? extends K, ? extends V>) - Method in class com.exonum.binding.storage.indices.MapIndexProxy
- putAll(Map<? extends K, ? extends V>) - Method in class com.exonum.binding.storage.indices.ProofMapIndexProxy
R
- RawTransaction - Class in com.exonum.binding.transaction
-
An Exonum raw transaction.
- RawTransaction() - Constructor for class com.exonum.binding.transaction.RawTransaction
- RawTransaction.Builder - Class in com.exonum.binding.transaction
- reason() - Method in annotation type com.exonum.binding.annotations.AutoGenerationCandidate
-
Why or how an element can be auto-generated.
- reason() - Method in annotation type com.exonum.binding.annotations.ImproveDocs
-
A description of why this annotation was added.
- registerAllExtensions(ExtensionRegistry) - Static method in class com.exonum.binding.blockchain.serialization.CoreProtos
- registerAllExtensions(ExtensionRegistryLite) - Static method in class com.exonum.binding.blockchain.serialization.CoreProtos
- remove() - Method in class com.exonum.binding.storage.indices.EntryIndexProxy
-
Removes a value from this entry.
- remove(E) - Method in class com.exonum.binding.storage.indices.KeySetIndexProxy
-
Removes the element from this set.
- remove(E) - Method in class com.exonum.binding.storage.indices.ValueSetIndexProxy
-
Removes the element from this set.
- remove(K) - Method in interface com.exonum.binding.storage.indices.MapIndex
-
Removes the value mapped to the specified key from the map.
- remove(K) - Method in class com.exonum.binding.storage.indices.MapIndexProxy
- remove(K) - Method in class com.exonum.binding.storage.indices.ProofMapIndexProxy
- removeByHash(HashCode) - Method in class com.exonum.binding.storage.indices.ValueSetIndexProxy
-
Removes an element from this set by its hash.
- removeLast() - Method in class com.exonum.binding.storage.indices.ListIndexProxy
-
Removes the last element of the list and returns it.
- resourceType() - Method in interface com.exonum.binding.proxy.CleanAction
-
Returns the description of the type of resource this action corresponds to.
- resourceType() - Method in class com.exonum.binding.proxy.ProxyDestructor
S
- Schema - Interface in com.exonum.binding.service
-
A schema of the collections (a.k.a.
- Server - Interface in com.exonum.binding.transport
-
An HTTP server providing transport for Exonum transactions and read-requests.
- Service - Interface in com.exonum.binding.service
-
An Exonum service.
- serviceId(short) - Method in class com.exonum.binding.transaction.RawTransaction.Builder
-
Sets the identifier of the service this transaction belongs to.
- ServiceId - Class in com.exonum.binding.runtime
-
A service artifact identifier.
- ServiceId() - Constructor for class com.exonum.binding.runtime.ServiceId
- ServiceModule - Interface in com.exonum.binding.service
-
A service module configures the service bindings so that the framework can resolve the service implementation and all its dependencies.
- set(long, T) - Method in interface com.exonum.binding.storage.indices.ListIndex
-
Replaces the element at the given index of the list with the specified element.
- set(T) - Method in class com.exonum.binding.storage.indices.EntryIndexProxy
-
Sets a new value of the entry, overwriting the previous value.
- setBlockHeight(long) - Method in class com.exonum.binding.blockchain.serialization.CoreProtos.TxLocation.Builder
-
uint64 block_height = 1;
- setData(ByteString) - Method in class com.exonum.binding.blockchain.serialization.CoreProtos.Hash.Builder
-
bytes data = 1;
- setDescription(String) - Method in class com.exonum.binding.blockchain.serialization.CoreProtos.TransactionResult.Builder
-
string description = 2;
- setDescriptionBytes(ByteString) - Method in class com.exonum.binding.blockchain.serialization.CoreProtos.TransactionResult.Builder
-
string description = 2;
- setField(Descriptors.FieldDescriptor, Object) - Method in class com.exonum.binding.blockchain.serialization.CoreProtos.Block.Builder
- setField(Descriptors.FieldDescriptor, Object) - Method in class com.exonum.binding.blockchain.serialization.CoreProtos.Hash.Builder
- setField(Descriptors.FieldDescriptor, Object) - Method in class com.exonum.binding.blockchain.serialization.CoreProtos.TransactionResult.Builder
- setField(Descriptors.FieldDescriptor, Object) - Method in class com.exonum.binding.blockchain.serialization.CoreProtos.TxLocation.Builder
- setHeight(long) - Method in class com.exonum.binding.blockchain.serialization.CoreProtos.Block.Builder
-
uint64 height = 2;
- setPositionInBlock(long) - Method in class com.exonum.binding.blockchain.serialization.CoreProtos.TxLocation.Builder
-
uint64 position_in_block = 2;
- setPrevHash(CoreProtos.Hash) - Method in class com.exonum.binding.blockchain.serialization.CoreProtos.Block.Builder
-
.Hash prev_hash = 4;
- setPrevHash(CoreProtos.Hash.Builder) - Method in class com.exonum.binding.blockchain.serialization.CoreProtos.Block.Builder
-
.Hash prev_hash = 4;
- setProposerId(int) - Method in class com.exonum.binding.blockchain.serialization.CoreProtos.Block.Builder
-
uint32 proposer_id = 1;
- setRepeatedField(Descriptors.FieldDescriptor, int, Object) - Method in class com.exonum.binding.blockchain.serialization.CoreProtos.Block.Builder
- setRepeatedField(Descriptors.FieldDescriptor, int, Object) - Method in class com.exonum.binding.blockchain.serialization.CoreProtos.Hash.Builder
- setRepeatedField(Descriptors.FieldDescriptor, int, Object) - Method in class com.exonum.binding.blockchain.serialization.CoreProtos.TransactionResult.Builder
- setRepeatedField(Descriptors.FieldDescriptor, int, Object) - Method in class com.exonum.binding.blockchain.serialization.CoreProtos.TxLocation.Builder
- setStateHash(CoreProtos.Hash) - Method in class com.exonum.binding.blockchain.serialization.CoreProtos.Block.Builder
-
.Hash state_hash = 6;
- setStateHash(CoreProtos.Hash.Builder) - Method in class com.exonum.binding.blockchain.serialization.CoreProtos.Block.Builder
-
.Hash state_hash = 6;
- setStatus(int) - Method in class com.exonum.binding.blockchain.serialization.CoreProtos.TransactionResult.Builder
-
uint32 status = 1;
- setTxCount(int) - Method in class com.exonum.binding.blockchain.serialization.CoreProtos.Block.Builder
-
uint32 tx_count = 3;
- setTxHash(CoreProtos.Hash) - Method in class com.exonum.binding.blockchain.serialization.CoreProtos.Block.Builder
-
.Hash tx_hash = 5;
- setTxHash(CoreProtos.Hash.Builder) - Method in class com.exonum.binding.blockchain.serialization.CoreProtos.Block.Builder
-
.Hash tx_hash = 5;
- setUnknownFields(UnknownFieldSet) - Method in class com.exonum.binding.blockchain.serialization.CoreProtos.Block.Builder
- setUnknownFields(UnknownFieldSet) - Method in class com.exonum.binding.blockchain.serialization.CoreProtos.Hash.Builder
- setUnknownFields(UnknownFieldSet) - Method in class com.exonum.binding.blockchain.serialization.CoreProtos.TransactionResult.Builder
- setUnknownFields(UnknownFieldSet) - Method in class com.exonum.binding.blockchain.serialization.CoreProtos.TxLocation.Builder
- size() - Method in interface com.exonum.binding.storage.indices.ListIndex
-
Returns the number of elements in the list.
- Snapshot - Class in com.exonum.binding.storage.database
-
A snapshot is a read-only, immutable database view.
- start(int) - Method in interface com.exonum.binding.transport.Server
-
Starts listening on the given TCP port.
- STATE_HASH_FIELD_NUMBER - Static variable in class com.exonum.binding.blockchain.serialization.CoreProtos.Block
- stateHash(HashCode) - Method in class com.exonum.binding.blockchain.Block.Builder
-
Sets the blockchain state hash at the moment this block was committed.
- STATUS_FIELD_NUMBER - Static variable in class com.exonum.binding.blockchain.serialization.CoreProtos.TransactionResult
- stop() - Method in interface com.exonum.binding.transport.Server
-
Requests the server to stop listening to incoming requests and release any resources.
- stream() - Method in interface com.exonum.binding.storage.indices.ListIndex
-
Returns a stream of elements in this list.
- submitTransaction(RawTransaction) - Method in interface com.exonum.binding.service.Node
-
Creates a transaction from the given parameters, signs it with the node service key, and then submits it into Exonum network.
- submitTransaction(RawTransaction) - Method in class com.exonum.binding.service.NodeFake
-
Returns a zero hash always, ignoring the transaction.
- submitTransaction(RawTransaction) - Method in class com.exonum.binding.service.NodeProxy
-
Creates a transaction from the given parameters, signs it with the node service key, and then submits it into Exonum network.
T
- toBuilder() - Method in class com.exonum.binding.blockchain.serialization.CoreProtos.Block
- toBuilder() - Method in class com.exonum.binding.blockchain.serialization.CoreProtos.Hash
- toBuilder() - Method in class com.exonum.binding.blockchain.serialization.CoreProtos.TransactionResult
- toBuilder() - Method in class com.exonum.binding.blockchain.serialization.CoreProtos.TxLocation
- toBytes(Block) - Method in enum com.exonum.binding.blockchain.serialization.BlockSerializer
- toBytes(TransactionLocation) - Method in enum com.exonum.binding.blockchain.serialization.TransactionLocationSerializer
- toBytes(TransactionResult) - Method in enum com.exonum.binding.blockchain.serialization.TransactionResultSerializer
- toString() - Method in class com.exonum.binding.proxy.Cleaner
-
Returns a string representation of this object, including its hash code so that this instance can be easily identified in the logs.
- toString() - Method in class com.exonum.binding.proxy.NativeHandle
- toString() - Method in class com.exonum.binding.proxy.ProxyDestructor
- toString() - Method in class com.exonum.binding.runtime.ServiceId
-
Returns a service id in the following format: "groupId:artifactId:version".
- toString() - Method in exception com.exonum.binding.transaction.TransactionExecutionException
-
Returns a string representation of this error.
- toTransaction(RawTransaction) - Method in interface com.exonum.binding.service.TransactionConverter
-
Converts an Exonum raw transaction to an executable transaction of some service.
- Transaction - Interface in com.exonum.binding.transaction
-
An Exonum transaction.
- TransactionContext - Interface in com.exonum.binding.transaction
-
Transaction context class.
- TransactionContext.Builder - Class in com.exonum.binding.transaction
-
Transaction context builder.
- TransactionConverter - Interface in com.exonum.binding.service
-
A converter of a raw Exonum transaction, which contains transaction data, into an executable transaction.
- TransactionExecutionException - Exception in com.exonum.binding.transaction
-
An exception occurred during transaction execution.
- TransactionExecutionException(byte) - Constructor for exception com.exonum.binding.transaction.TransactionExecutionException
-
Constructs a new transaction exception with no description.
- TransactionExecutionException(byte, String) - Constructor for exception com.exonum.binding.transaction.TransactionExecutionException
-
Constructs a new transaction exception with the specified description.
- TransactionExecutionException(byte, String, Throwable) - Constructor for exception com.exonum.binding.transaction.TransactionExecutionException
-
Constructs a new transaction exception with the specified description and cause.
- transactionId(short) - Method in class com.exonum.binding.transaction.RawTransaction.Builder
-
Sets the identifier of the transaction within a service.
- TransactionLocationSerializer - Enum in com.exonum.binding.blockchain.serialization
- TransactionResultSerializer - Enum in com.exonum.binding.blockchain.serialization
- truncate(long) - Method in class com.exonum.binding.storage.indices.ListIndexProxy
-
Truncates the list, reducing its size to
newSize
. - TX_COUNT_FIELD_NUMBER - Static variable in class com.exonum.binding.blockchain.serialization.CoreProtos.Block
- TX_HASH_FIELD_NUMBER - Static variable in class com.exonum.binding.blockchain.serialization.CoreProtos.Block
- txMessageHash(HashCode) - Method in class com.exonum.binding.transaction.TransactionContext.Builder
-
Sets transaction message hash for the context.
- txRootHash(HashCode) - Method in class com.exonum.binding.blockchain.Block.Builder
-
Sets the Merkle root hash of the collection holding all transactions in this block.
- typeAdapter(Gson) - Static method in class com.exonum.binding.blockchain.Block
-
Provides a Gson type adapter for this class.
U
- UserServiceAdapter - Class in com.exonum.binding.service.adapters
-
An adapter of a user-facing interface
Service
to an interface with a native code. - UserServiceAdapter(Service, Server, ViewFactory) - Constructor for class com.exonum.binding.service.adapters.UserServiceAdapter
- UserTransactionAdapter - Class in com.exonum.binding.service.adapters
-
An adapter of a user-facing interface
Transaction
to an interface with a native code. - UserTransactionAdapter(Transaction, ViewFactory) - Constructor for class com.exonum.binding.service.adapters.UserTransactionAdapter
V
- valueOf(Snapshot, OptionalInt, long) - Static method in class com.exonum.binding.service.BlockCommittedEventImpl
-
Creates a new block committed event.
- valueOf(String) - Static method in enum com.exonum.binding.blockchain.serialization.BlockSerializer
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.exonum.binding.blockchain.serialization.TransactionLocationSerializer
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.exonum.binding.blockchain.serialization.TransactionResultSerializer
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.exonum.binding.service.adapters.ViewProxyFactory
-
Returns the enum constant of this type with the specified name.
- values() - Static method in enum com.exonum.binding.blockchain.serialization.BlockSerializer
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum com.exonum.binding.blockchain.serialization.TransactionLocationSerializer
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum com.exonum.binding.blockchain.serialization.TransactionResultSerializer
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum com.exonum.binding.service.adapters.ViewProxyFactory
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Method in interface com.exonum.binding.storage.indices.MapIndex
-
Returns an iterator over the map values in lexicographical order of keys.
- values() - Method in class com.exonum.binding.storage.indices.MapIndexProxy
- values() - Method in class com.exonum.binding.storage.indices.ProofMapIndexProxy
- ValueSetIndexProxy<E> - Class in com.exonum.binding.storage.indices
-
A value set is an index that contains no duplicate elements (values).
- ValueSetIndexProxy.Entry<E> - Class in com.exonum.binding.storage.indices
-
An entry of a value set index: a hash-value pair.
- View - Class in com.exonum.binding.storage.database
-
Represents a view of the database.
- ViewFactory - Interface in com.exonum.binding.service.adapters
-
A factory of views.
- ViewProxyFactory - Enum in com.exonum.binding.service.adapters
-
A factory of View proxies.
W
- withSnapshot(Function<Snapshot, ResultT>) - Method in interface com.exonum.binding.service.Node
-
Performs a given function with a snapshot of the current database state.
- withSnapshot(Function<Snapshot, ResultT>) - Method in class com.exonum.binding.service.NodeFake
- withSnapshot(Function<Snapshot, ResultT>) - Method in class com.exonum.binding.service.NodeProxy
-
Performs a given function with a snapshot of the current database state.
- writeTo(CodedOutputStream) - Method in class com.exonum.binding.blockchain.serialization.CoreProtos.Block
- writeTo(CodedOutputStream) - Method in class com.exonum.binding.blockchain.serialization.CoreProtos.Hash
- writeTo(CodedOutputStream) - Method in class com.exonum.binding.blockchain.serialization.CoreProtos.TransactionResult
- writeTo(CodedOutputStream) - Method in class com.exonum.binding.blockchain.serialization.CoreProtos.TxLocation
All Classes All Packages