Skip navigation links
A B C D E F G H I K L M N P R S T U V W 

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.
AbstractKey - Class in com.exonum.binding.crypto
Represent either a private or public key in a digital signature system.
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.
AbstractTransaction - Class in com.exonum.binding.messages
An abstract Exonum transaction.
AbstractTransaction(BinaryMessage) - Constructor for class com.exonum.binding.messages.AbstractTransaction
 
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(T) - Method in interface com.exonum.binding.storage.indices.ListIndex
Adds a new element to the end of the list.
add(E) - Method in class com.exonum.binding.storage.indices.ValueSetIndexProxy
Adds a new element to the set.
addAll(Collection<? extends T>) - Method in interface com.exonum.binding.storage.indices.ListIndex
Adds all elements from the specified collection to this list.
AutoGenerationCandidate - Annotation Type in com.exonum.binding.annotations
An annotation intended to mark APIs that are good candidates to be generated auto-magically.

B

BinaryMessage - Interface in com.exonum.binding.messages
A binary Exonum message.
BinaryMessageBuilder - Class in com.exonum.binding.messages
A builder of binary Exonum messages.
BODY_OFFSET - Static variable in interface com.exonum.binding.messages.Message
 
Builder() - Constructor for class com.exonum.binding.messages.Message.Builder
 
buildRaw() - Method in class com.exonum.binding.messages.Message.Builder
 

C

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.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.
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.crypto - package com.exonum.binding.crypto
 
com.exonum.binding.messages - package com.exonum.binding.messages
 
com.exonum.binding.proxy - package com.exonum.binding.proxy
 
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.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.
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(BinaryMessage) - Method in class com.exonum.binding.service.AbstractService
 
convertToTransaction(BinaryMessage) - Method in interface com.exonum.binding.service.Service
Converts an Exonum transaction message to an executable transaction of this service.
convertTransaction(byte[]) - Method in class com.exonum.binding.service.adapters.UserServiceAdapter
Converts a transaction messages into an executable transaction of this service.
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
 
createKeyPair(byte[], byte[]) - Static method in class com.exonum.binding.crypto.KeyPair
Creates a KeyPair from two byte arrays, representing privateKey and publicKey.
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
 
CryptoFunction - Interface in com.exonum.binding.crypto
A crypto function that provides several signature system crypto methods.
CryptoFunctions - Class in com.exonum.binding.crypto
A collection of public-key signature system crypto functions.

D

Database - Interface in com.exonum.binding.storage.database
Represents an underlying Exonum Storage database.
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

ed25519() - Static method in class com.exonum.binding.crypto.CryptoFunctions
Returns a ED25519 public-key signature system crypto function.
Ed25519CryptoFunction - Enum in com.exonum.binding.crypto
A ED25519 public-key signature system crypto function.
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.crypto.AbstractKey
 
execute(Fork) - Method in interface com.exonum.binding.messages.Transaction
Execute the transaction, possibly modifying the blockchain state.
execute(long) - Method in class com.exonum.binding.service.adapters.UserTransactionAdapter
 

F

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[]) - Static method in class com.exonum.binding.crypto.PrivateKey
Creates a PrivateKey from a byte array.
fromBytes(byte[]) - Static method in class com.exonum.binding.crypto.PublicKey
Creates a PublicKey from a byte array.
fromBytes(byte[]) - Method in enum com.exonum.binding.crypto.PublicKeySerializer
 
fromBytes(byte[]) - Static method in interface com.exonum.binding.messages.BinaryMessage
Creates a binary message from a byte array.
fromHexString(String) - Static method in class com.exonum.binding.crypto.PrivateKey
Creates a PrivateKey from a hexadecimal string.
fromHexString(String) - Static method in class com.exonum.binding.crypto.PublicKey
Creates a PublicKey from a hexadecimal string.

G

generateKeyPair(byte[]) - Method in interface com.exonum.binding.crypto.CryptoFunction
Generates a private key and a corresponding public key using a seed byte array.
generateKeyPair() - Method in interface com.exonum.binding.crypto.CryptoFunction
Generates a private key and a corresponding public key using a random seed.
generateKeyPair(byte[]) - Method in enum com.exonum.binding.crypto.Ed25519CryptoFunction
 
generateKeyPair() - Method in enum com.exonum.binding.crypto.Ed25519CryptoFunction
 
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
 
getBody() - Method in interface com.exonum.binding.messages.Message
Returns the message body.
getBody() - Method in class com.exonum.binding.messages.MessageReader
Returns the body of the message as a view in the underlying byte buffer.
getCleaner() - Method in class com.exonum.binding.storage.database.View
Returns the cleaner of this view.
getDatabase() - Method in class com.exonum.binding.service.NodeFake
Returns the underlying database.
getDescription() - Method in class com.exonum.binding.proxy.Cleaner
Returns a description of this cleaner.
getHash() - Method in class com.exonum.binding.storage.indices.ValueSetIndexProxy.Entry
Returns a hash of the element of the set.
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.
getInstance() - Static method in class com.exonum.binding.storage.database.ViewModificationCounter
 
getKey() - Method in class com.exonum.binding.storage.indices.MapEntry
Returns the key in this entry.
getLast() - Method in interface com.exonum.binding.storage.indices.ListIndex
Returns the last element of the list.
getMessage() - Method in class com.exonum.binding.messages.AbstractTransaction
 
getMessage() - Method in interface com.exonum.binding.messages.BinaryMessage
Returns the whole binary message.
getMessage() - Method in class com.exonum.binding.messages.MessageReader
Returns the whole binary message.
getMessage() - Method in interface com.exonum.binding.messages.Transaction
Returns this transaction as a binary Exonum message.
getMessageType() - Method in interface com.exonum.binding.messages.Message
Returns the type of this message within a service (e.g., a transaction identifier).
getMessageType() - Method in class com.exonum.binding.messages.MessageReader
 
getModificationCount(View) - Method in class com.exonum.binding.storage.database.ViewModificationCounter
Returns the current value of the modification counter of the given 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.
getNetworkId() - Method in interface com.exonum.binding.messages.Message
Returns the blockchain network id.
getNetworkId() - Method in class com.exonum.binding.messages.MessageReader
 
getNumRegisteredActions() - Method in class com.exonum.binding.proxy.Cleaner
Returns the number of the registered clean actions.
getPrivateKey() - Method in class com.exonum.binding.crypto.KeyPair
Returns a private key of this pair.
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(K) - Method in class com.exonum.binding.storage.indices.ProofMapIndexProxy
Returns a proof that there is a value mapped to the specified key or that there is no such mapping.
getPublicKey() - Method in class com.exonum.binding.crypto.KeyPair
Returns a public key of this pair.
getPublicKey() - Method in interface com.exonum.binding.service.Node
Returns the 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 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.
getServiceId() - Method in interface com.exonum.binding.messages.Message
Returns the identifier of the service this message belongs to, or zero if this message is an internal Exonum message.
getServiceId() - Method in class com.exonum.binding.messages.MessageReader
 
getSignature() - Method in interface com.exonum.binding.messages.Message
Returns the Ed25519 signature over this binary message.
getSignature() - Method in class com.exonum.binding.messages.MessageReader
Returns the Ed25519 signature over this binary message.
getStateHashes(Snapshot) - Method in class com.exonum.binding.service.AbstractService
 
getStateHashes(long) - Method in class com.exonum.binding.service.adapters.UserServiceAdapter
Returns the state hashes of the service.
getStateHashes() - Method in interface com.exonum.binding.service.Schema
Returns the root hashes of Merklized tables in this database schema, as of the current state of the database.
getStateHashes(Snapshot) - Method in interface com.exonum.binding.service.Service
Returns a list of root hashes of all Merklized tables defined by this service, as of the given snapshot of the blockchain state.
getValue() - Method in class com.exonum.binding.storage.indices.MapEntry
Returns the value in this entry.
getValue() - Method in class com.exonum.binding.storage.indices.ValueSetIndexProxy.Entry
Returns an element of the set.
getVersion() - Method in interface com.exonum.binding.messages.Message
Returns the major version of the Exonum serialization protocol.
getVersion() - Method in class com.exonum.binding.messages.MessageReader
 
getViewNativeHandle() - Method in class com.exonum.binding.storage.database.View
Returns a native handle of this view.

H

hash() - Method in interface com.exonum.binding.messages.BinaryMessage
Returns the SHA-256 hash of this message.
hash() - Method in interface com.exonum.binding.messages.Transaction
Returns a hash of this transaction — a SHA-256 hash of the transaction message.
hashCode() - Method in class com.exonum.binding.crypto.AbstractKey
 
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.
HEADER_SIZE - Static variable in interface com.exonum.binding.messages.Message
 

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).
info() - Method in interface com.exonum.binding.messages.Transaction
Returns some information about this transaction in JSON format.
info() - Method in class com.exonum.binding.service.adapters.UserTransactionAdapter
 
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.
InternalServerError - Exception in com.exonum.binding.messages
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++.
InvalidTransactionException - Exception in com.exonum.binding.messages
Indicates that a transaction is not valid (e.g., its Transaction.isValid() returns false).
invoke(MethodInvocation) - Method in class com.exonum.binding.util.LoggingInterceptor
 
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.
isModifiedSince(View, Integer) - Method in class com.exonum.binding.storage.database.ViewModificationCounter
Returns true if the view has been modified since the given modCount.
isPresent() - Method in class com.exonum.binding.storage.indices.EntryIndexProxy
Returns true if this entry exists in the database.
isValid() - Method in interface com.exonum.binding.messages.Transaction
Returns true if this transaction is valid: its data holds the invariants, it has a correct signature, etc.
isValid() - Method in class com.exonum.binding.service.adapters.UserTransactionAdapter
 
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

KeyPair - Class in com.exonum.binding.crypto
A key pair class that stores public and private keys.
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.
LoggingInterceptor - Class in com.exonum.binding.util
An interceptor, which logs any uncaught exceptions.
LoggingInterceptor() - Constructor for class com.exonum.binding.util.LoggingInterceptor
 

M

MapEntry<K,V> - Class in com.exonum.binding.storage.indices
A map entry: a key-value pair.
MapEntry() - Constructor for class com.exonum.binding.storage.indices.MapEntry
 
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.
MAX_BODY_SIZE - Static variable in interface com.exonum.binding.messages.Message
 
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.
message - Variable in class com.exonum.binding.messages.AbstractTransaction
A binary Exonum message, representing this transaction.
Message - Interface in com.exonum.binding.messages
An Exonum network message.
Message.Builder - Class in com.exonum.binding.messages
 
MESSAGE_TYPE_OFFSET - Static variable in interface com.exonum.binding.messages.Message
 
MessageReader - Class in com.exonum.binding.messages
A reader of binary Exonum messages.
messageSize(int) - Static method in interface com.exonum.binding.messages.Message
Calculates the message size given the size of the body.
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
 
NET_ID_OFFSET - Static variable in interface com.exonum.binding.messages.Message
 
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<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<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<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.
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.
newInstance(long, Cleaner) - Static method in class com.exonum.binding.storage.database.Fork
Creates a new owning Fork proxy.
newInstance(long, boolean, Cleaner) - Static method in class com.exonum.binding.storage.database.Fork
Creates a new Fork proxy.
newInstance() - Static method in class com.exonum.binding.storage.database.MemoryDb
Creates a new empty MemoryDb.
newInstance(long, Cleaner) - Static method in class com.exonum.binding.storage.database.Snapshot
Creates a new owning Snapshot proxy.
newInstance(long, boolean, Cleaner) - Static method in class com.exonum.binding.storage.database.Snapshot
Creates a new Snapshot proxy.
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<K>, Serializer<V>) - Static method in class com.exonum.binding.storage.indices.MapIndexProxy
Creates a new MapIndexProxy.
newInstance(String, View, Serializer<E>) - Static method in class com.exonum.binding.storage.indices.ProofListIndexProxy
Creates a new ProofListIndexProxy.
newInstance(String, View, Serializer<K>, Serializer<V>) - Static method in class com.exonum.binding.storage.indices.ProofMapIndexProxy
Creates a ProofMapIndexProxy.
newInstance(String, View, Serializer<E>) - Static method in class com.exonum.binding.storage.indices.ValueSetIndexProxy
Creates a new value set proxy.
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, byte[]) - 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(Fork) - Method in class com.exonum.binding.storage.database.ViewModificationCounter
Notifies that the fork is modified.

P

PAYLOAD_LENGTH_OFFSET - Static variable in interface com.exonum.binding.messages.Message
 
PrivateKey - Class in com.exonum.binding.crypto
Represent a private key in a digital signature system.
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.
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.
PublicKey - Class in com.exonum.binding.crypto
Represent a public key in a digital signature system.
PublicKeySerializer - Enum in com.exonum.binding.crypto
 
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

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(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
 
remove(E) - Method in class com.exonum.binding.storage.indices.ValueSetIndexProxy
Removes the element from this set.
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 tables (= indices) of a service.
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.
SERVICE_ID_OFFSET - Static variable in interface com.exonum.binding.messages.Message
 
set(T) - Method in class com.exonum.binding.storage.indices.EntryIndexProxy
Sets a new value of the entry, overwriting the previous value.
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.
setBody(ByteBuffer) - Method in class com.exonum.binding.messages.Message.Builder
 
setSignature(ByteBuffer) - Method in class com.exonum.binding.messages.Message.Builder
 
SIGNATURE_SIZE - Static variable in interface com.exonum.binding.messages.Message
 
signatureOffset() - Method in interface com.exonum.binding.messages.Message
Returns the signature offset in this message.
signMessage(byte[], PrivateKey) - Method in interface com.exonum.binding.crypto.CryptoFunction
Given a privateKey, computes and returns a signature for the supplied message.
signMessage(byte[], PrivateKey) - Method in enum com.exonum.binding.crypto.Ed25519CryptoFunction
 
size() - Method in class com.exonum.binding.crypto.AbstractKey
Returns the length of this key.
size() - Method in interface com.exonum.binding.messages.Message
Returns the size of a binary representation of this message in bytes.
size() - Method in class com.exonum.binding.messages.MessageReader
 
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.
stop() - Method in interface com.exonum.binding.transport.Server
Requests the server to stop listening to incoming requests and release any resources.
submitTransaction(Transaction) - Method in interface com.exonum.binding.service.Node
Submits a transaction into Exonum network.
submitTransaction(Transaction) - Method in class com.exonum.binding.service.NodeFake
A no-op.
submitTransaction(Transaction) - Method in class com.exonum.binding.service.NodeProxy
Submits a transaction into Exonum network.

T

toBinary(Message) - Static method in class com.exonum.binding.messages.BinaryMessageBuilder
Creates a binary message from a given message.
toBytes() - Method in class com.exonum.binding.crypto.AbstractKey
Returns the value of this key as a byte array.
toBytes(PublicKey) - Method in enum com.exonum.binding.crypto.PublicKeySerializer
 
toString() - Method in class com.exonum.binding.crypto.AbstractKey
 
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.
toTransaction(BinaryMessage) - Method in interface com.exonum.binding.service.TransactionConverter
Converts an Exonum transaction message to an executable transaction of some service.
Transaction - Interface in com.exonum.binding.messages
An Exonum transaction.
TransactionConverter - Interface in com.exonum.binding.service
A converter of a binary Exonum message, which contains transaction data, into an executable transaction.
truncate(long) - Method in class com.exonum.binding.storage.indices.ListIndexProxy
Truncates the list, reducing its size to newSize.

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(String) - Static method in enum com.exonum.binding.crypto.Ed25519CryptoFunction
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.exonum.binding.crypto.PublicKeySerializer
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.crypto.Ed25519CryptoFunction
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.exonum.binding.crypto.PublicKeySerializer
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.
verify(byte[], byte[], PublicKey) - Method in interface com.exonum.binding.crypto.CryptoFunction
Given a publicKey, verifies that signature is a valid signature for the supplied message.
verify(byte[], byte[], PublicKey) - Method in enum com.exonum.binding.crypto.Ed25519CryptoFunction
 
VERSION_OFFSET - Static variable in interface com.exonum.binding.messages.Message
 
View - Class in com.exonum.binding.storage.database
Represents a view of a database.
ViewFactory - Interface in com.exonum.binding.service.adapters
A factory of views.
ViewModificationCounter - Class in com.exonum.binding.storage.database
A listener of fork modification events.
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.
wrap(ByteBuffer) - Static method in class com.exonum.binding.messages.MessageReader
Creates a MessageReader from the given byte buffer.
A B C D E F G H I K L M N P R S T U V W 
Skip navigation links

Copyright © 2018 Exonum. All rights reserved.