Skip navigation links
A B C D E F G I J L M N O R S T 

A

appExecuteBatch(byte[][], MessageContext[]) - Method in class bftsmart.tom.server.defaultservices.DefaultRecoverable
 
appExecuteBatch(byte[][], MessageContext[]) - Method in class bftsmart.tom.server.defaultservices.durability.DurabilityCoordinator
 
appExecuteOrdered(byte[], MessageContext) - Method in class bftsmart.tom.server.defaultservices.DefaultSingleRecoverable
 
appExecuteUnordered(byte[], MessageContext) - Method in class bftsmart.tom.server.defaultservices.DefaultRecoverable
 
appExecuteUnordered(byte[], MessageContext) - Method in class bftsmart.tom.server.defaultservices.DefaultSingleRecoverable
 
appExecuteUnordered(byte[], MessageContext) - Method in class bftsmart.tom.server.defaultservices.durability.DurabilityCoordinator
 
AsynchServiceProxy - Class in bftsmart.tom
This class is an extension of 'ServiceProxy' that can waits for replies asynchronously.
AsynchServiceProxy(int) - Constructor for class bftsmart.tom.AsynchServiceProxy
 
AsynchServiceProxy(int, String) - Constructor for class bftsmart.tom.AsynchServiceProxy
 
AsynchServiceProxy(int, String, Comparator<byte[]>, Extractor) - Constructor for class bftsmart.tom.AsynchServiceProxy
 

B

BatchExecutable - Interface in bftsmart.tom.server
Executables that implement this interface will receive a batch of requests and deliver them to the application in a deterministic way.
bftsmart.tom - package bftsmart.tom
 
bftsmart.tom.server - package bftsmart.tom.server
 

C

canReceiveLock - Variable in class bftsmart.tom.ServiceProxy
 
canSendLock - Variable in class bftsmart.tom.ServiceProxy
 
cleanAsynchRequest(int) - Method in class bftsmart.tom.AsynchServiceProxy
 
close() - Method in class bftsmart.tom.TOMSender
 
computeHash(byte[]) - Method in class bftsmart.tom.server.defaultservices.DefaultRecoverable
 
computeHash(byte[]) - Method in class bftsmart.tom.server.defaultservices.DefaultSingleRecoverable
 

D

DefaultRecoverable - Class in bftsmart.tom.server.defaultservices
This class provides a basic state transfer protocol using the interface 'BatchExecutable'.
DefaultRecoverable() - Constructor for class bftsmart.tom.server.defaultservices.DefaultRecoverable
 
DefaultSingleRecoverable - Class in bftsmart.tom.server.defaultservices
This class provides a basic state transfer protocol using the interface 'SingleExecutable'.
DefaultSingleRecoverable() - Constructor for class bftsmart.tom.server.defaultservices.DefaultSingleRecoverable
 
DurabilityCoordinator - Class in bftsmart.tom.server.defaultservices.durability
Implements the Collaborative State Transfer protocol.
DurabilityCoordinator() - Constructor for class bftsmart.tom.server.defaultservices.durability.DurabilityCoordinator
 

E

Executable - Interface in bftsmart.tom.server
Executables that implement this interface can received unordered client requests.
executeBatch(byte[][], MessageContext[]) - Method in interface bftsmart.tom.server.BatchExecutable
Execute a batch of requests.
executeBatch(byte[][], MessageContext[]) - Method in class bftsmart.tom.server.defaultservices.DefaultRecoverable
 
executeBatch(byte[][], MessageContext[]) - Method in class bftsmart.tom.server.defaultservices.durability.DurabilityCoordinator
 
executeOrdered(byte[], MessageContext) - Method in class bftsmart.tom.server.defaultservices.DefaultSingleRecoverable
 
executeOrdered(byte[], MessageContext) - Method in interface bftsmart.tom.server.SingleExecutable
Method called to execute a request totally ordered.
executeOrderedFIFO(byte[], MessageContext, int, int) - Method in interface bftsmart.tom.server.FIFOExecutable
 
executeUnordered(byte[], MessageContext) - Method in class bftsmart.tom.server.defaultservices.DefaultRecoverable
 
executeUnordered(byte[], MessageContext) - Method in class bftsmart.tom.server.defaultservices.DefaultSingleRecoverable
 
executeUnordered(byte[], MessageContext) - Method in class bftsmart.tom.server.defaultservices.durability.DurabilityCoordinator
 
executeUnordered(byte[], MessageContext) - Method in interface bftsmart.tom.server.Executable
Method called to execute a request totally ordered.
executeUnorderedFIFO(byte[], MessageContext, int, int) - Method in interface bftsmart.tom.server.FIFOExecutable
 
Extractor - Interface in bftsmart.tom.util
Provides support for building custom response extractors to be used in the ServiceProxy.
extractResponse(TOMMessage[], int, int) - Method in interface bftsmart.tom.util.Extractor
 

F

FIFOExecutable - Interface in bftsmart.tom.server
Executables that implement this interface will get requests delivered in FIFO order.

G

generateOperationId() - Method in class bftsmart.tom.TOMSender
 
generateRequestId(TOMMessageType) - Method in class bftsmart.tom.TOMSender
 
getCommunicationSystem() - Method in class bftsmart.tom.TOMSender
 
getConsensusId() - Method in class bftsmart.tom.MessageContext
 
getCurrentStateHash() - Method in class bftsmart.tom.server.defaultservices.durability.DurabilityCoordinator
 
getCurrentView() - Method in class bftsmart.tom.ReplicaContext
Returns the current view of the replica group.
getFirstInBatch() - Method in class bftsmart.tom.MessageContext
 
getInvokeTimeout() - Method in class bftsmart.tom.ServiceProxy
Get the amount of time (in seconds) that this proxy will wait for servers replies before returning null.
getInvokeUnorderedHashedTimeout() - Method in class bftsmart.tom.ServiceProxy
 
getLeader() - Method in class bftsmart.tom.MessageContext
 
getNonces() - Method in class bftsmart.tom.MessageContext
 
getNumOfNonces() - Method in class bftsmart.tom.MessageContext
 
getOperationId() - Method in class bftsmart.tom.MessageContext
 
getOperationId() - Method in class bftsmart.tom.RequestContext
 
getProcessId() - Method in class bftsmart.tom.TOMSender
 
getProof() - Method in class bftsmart.tom.MessageContext
 
getRegency() - Method in class bftsmart.tom.MessageContext
 
getReplicaContext() - Method in class bftsmart.tom.ServiceReplica
Obtains the current replica context (getting access to several information and capabilities of the replication engine).
getReplyListener() - Method in class bftsmart.tom.RequestContext
 
getReplyServer() - Method in class bftsmart.tom.MessageContext
 
getReqId() - Method in class bftsmart.tom.RequestContext
 
getRequestType() - Method in class bftsmart.tom.RequestContext
 
getSeed() - Method in class bftsmart.tom.MessageContext
 
getSender() - Method in class bftsmart.tom.MessageContext
Returns the sender of the message
getSendingTime() - Method in class bftsmart.tom.RequestContext
 
getSequence() - Method in class bftsmart.tom.MessageContext
 
getSerialVersionUID() - Static method in class bftsmart.tom.MessageContext
 
getServerCommunicationSystem() - Method in class bftsmart.tom.ReplicaContext
 
getSession() - Method in class bftsmart.tom.MessageContext
 
getSession() - Method in class bftsmart.tom.TOMSender
 
getSignature() - Method in class bftsmart.tom.MessageContext
 
getSnapshot() - Method in class bftsmart.tom.server.defaultservices.DefaultRecoverable
 
getSnapshot() - Method in class bftsmart.tom.server.defaultservices.DefaultSingleRecoverable
 
getSnapshot() - Method in class bftsmart.tom.server.defaultservices.durability.DurabilityCoordinator
 
getState(int, boolean) - Method in class bftsmart.tom.server.defaultservices.DefaultRecoverable
 
getState(int, boolean) - Method in class bftsmart.tom.server.defaultservices.DefaultSingleRecoverable
 
getState(int, boolean) - Method in class bftsmart.tom.server.defaultservices.durability.DurabilityCoordinator
 
getState(CSTRequest) - Method in class bftsmart.tom.server.defaultservices.durability.DurabilityCoordinator
 
getState(int, boolean) - Method in interface bftsmart.tom.server.Recoverable
This method should return a representation of the application state
getStateManager() - Method in class bftsmart.tom.server.defaultservices.DefaultRecoverable
 
getStateManager() - Method in class bftsmart.tom.server.defaultservices.DefaultSingleRecoverable
 
getStateManager() - Method in class bftsmart.tom.server.defaultservices.durability.DurabilityCoordinator
 
getStateManager() - Method in interface bftsmart.tom.server.Recoverable
Recoverers implementing this interface will have to chose among different options of state managers like DurableStateManager or StandardStateManager.
getStaticConfiguration() - Method in class bftsmart.tom.ReplicaContext
Returns the static configuration of this replica.
getSVController() - Method in class bftsmart.tom.ReplicaContext
Returns the controller of the replica's view
getTargets() - Method in class bftsmart.tom.RequestContext
 
getTimestamp() - Method in class bftsmart.tom.MessageContext
 
getType() - Method in class bftsmart.tom.MessageContext
 
getViewID() - Method in class bftsmart.tom.MessageContext
 
getViewManager() - Method in class bftsmart.tom.TOMSender
 

I

init(int) - Method in class bftsmart.tom.TOMSender
This method initializes the object TODO: Ask if this method cannot be protected (compiles, but....)
init(int, String) - Method in class bftsmart.tom.TOMSender
 
initLog() - Method in class bftsmart.tom.server.defaultservices.DefaultSingleRecoverable
 
installSnapshot(byte[]) - Method in class bftsmart.tom.server.defaultservices.DefaultRecoverable
 
installSnapshot(byte[]) - Method in class bftsmart.tom.server.defaultservices.DefaultSingleRecoverable
 
installSnapshot(byte[]) - Method in class bftsmart.tom.server.defaultservices.durability.DurabilityCoordinator
 
invoke(byte[], TOMMessageType) - Method in class bftsmart.tom.ServiceProxy
This method sends a request to the replicas, and returns the related reply.
invokeAsynchRequest(byte[], ReplyListener, TOMMessageType) - Method in class bftsmart.tom.AsynchServiceProxy
 
invokeAsynchRequest(byte[], int[], ReplyListener, TOMMessageType) - Method in class bftsmart.tom.AsynchServiceProxy
 
invokeOrdered(byte[]) - Method in class bftsmart.tom.ServiceProxy
 
invokeUnordered(byte[]) - Method in class bftsmart.tom.ServiceProxy
 
invokeUnorderedHashed(byte[]) - Method in class bftsmart.tom.ServiceProxy
 
isLastInBatch() - Method in class bftsmart.tom.MessageContext
 
isNoOp() - Method in class bftsmart.tom.MessageContext
 
isValidRequest(byte[]) - Method in interface bftsmart.tom.server.RequestVerifier
 

J

joinMsgReceived(VMMessage) - Method in class bftsmart.tom.ServiceReplica
 

L

leave() - Method in class bftsmart.tom.ServiceReplica
This method makes the replica leave the group

M

main(String[]) - Static method in class bftsmart.tom.util.RSAKeyPairGenerator
 
manageReply(TOMMessage, MessageContext) - Method in interface bftsmart.tom.server.Replier
 
MessageContext - Class in bftsmart.tom
This class represents the whole context of a request ordered in the system.
MessageContext(int, int, TOMMessageType, int, int, int, int, byte[], long, int, long, int, int, int, Set<ConsensusMessage>, TOMMessage, boolean) - Constructor for class bftsmart.tom.MessageContext
Constructor

N

noOp(int, MessageContext) - Method in class bftsmart.tom.server.defaultservices.DefaultRecoverable
 
noOp(int, MessageContext) - Method in class bftsmart.tom.server.defaultservices.DefaultSingleRecoverable
 
noOp(int, MessageContext) - Method in class bftsmart.tom.server.defaultservices.durability.DurabilityCoordinator
 
noOp(int, MessageContext) - Method in interface bftsmart.tom.server.Recoverable
This method is invoked by ServiceReplica to indicate that a consensus instance finished without delivering anything to the application (e.g., an instance only decided a single reconfiguration operation.

O

Op(int, byte[], MessageContext) - Method in class bftsmart.tom.server.defaultservices.DefaultRecoverable
 
Op(int, byte[], MessageContext) - Method in class bftsmart.tom.server.defaultservices.DefaultSingleRecoverable
 
Op(int, byte[], MessageContext) - Method in class bftsmart.tom.server.defaultservices.durability.DurabilityCoordinator
 
Op(int, byte[], MessageContext) - Method in interface bftsmart.tom.server.Recoverable
This method is invoked by ServiceReplica to pass information that was decided in a particular consensus instance.

R

readOnly - Variable in class bftsmart.tom.MessageContext
 
receiveMessages(int[], int[], int[], CertifiedDecision[], TOMMessage[][]) - Method in class bftsmart.tom.ServiceReplica
 
receiveReadonlyMessage(TOMMessage, MessageContext) - Method in class bftsmart.tom.ServiceReplica
This message delivers a readonly message, i.e., a message that was not ordered to the replica and gather the reply to forward to the client
Recoverable - Interface in bftsmart.tom.server
Classes that implement this interface should implement a state transfer protocol.
recreateTOMMessage(byte[]) - Method in class bftsmart.tom.MessageContext
Generates a TOMMessage for its associated requests using the new info that it now supports since the previous commit.
ReplicaContext - Class in bftsmart.tom
This class contains information related to the replica.
ReplicaContext(ServerCommunicationSystem, ServerViewController) - Constructor for class bftsmart.tom.ReplicaContext
 
replicaContext - Variable in class bftsmart.tom.server.defaultservices.DefaultSingleRecoverable
 
Replier - Interface in bftsmart.tom.server
Objects that implement this interface can be passed to the ServiceReplica and manage replies in a custom manner.
replyReceived(TOMMessage) - Method in class bftsmart.tom.AsynchServiceProxy
 
replyReceived(TOMMessage) - Method in class bftsmart.tom.ServiceProxy
This is the method invoked by the client side communication system.
RequestContext - Class in bftsmart.tom
This class contains information related to a client request.
RequestContext(int, int, TOMMessageType, int[], long, ReplyListener) - Constructor for class bftsmart.tom.RequestContext
 
RequestVerifier - Interface in bftsmart.tom.server
Classes that implement this interface are invoked within consensus instances upon reception of a PROPOSE message in order to enforce the "external validity".
RSAKeyPairGenerator - Class in bftsmart.tom.util
Utility class used to generate a key pair for some process id on config/keys/publickey and config/keys/privatekey
RSAKeyPairGenerator() - Constructor for class bftsmart.tom.util.RSAKeyPairGenerator
Creates a new instance of KeyPairGenerator
run(int, int) - Method in class bftsmart.tom.util.RSAKeyPairGenerator
Generate the key pair for the process with id = and put it on the files config/keys/publickey and config/keys/privatekey

S

saveCommands(byte[][], MessageContext[]) - Method in class bftsmart.tom.server.defaultservices.DefaultRecoverable
Write commands to log file
sendMessageToTargets(byte[], int, int[], TOMMessageType) - Method in class bftsmart.tom.TOMSender
 
sendMessageToTargets(byte[], int, int, int[], TOMMessageType) - Method in class bftsmart.tom.TOMSender
 
ServiceProxy - Class in bftsmart.tom
This class implements a TOMSender and represents a proxy to be used on the client side of the replicated system.
ServiceProxy(int) - Constructor for class bftsmart.tom.ServiceProxy
Constructor
ServiceProxy(int, String) - Constructor for class bftsmart.tom.ServiceProxy
Constructor
ServiceProxy(int, String, Comparator<byte[]>, Extractor) - Constructor for class bftsmart.tom.ServiceProxy
Constructor
ServiceReplica - Class in bftsmart.tom
This class receives messages from DeliveryThread and manages the execution from the application and reply to the clients.
ServiceReplica(int, Executable, Recoverable) - Constructor for class bftsmart.tom.ServiceReplica
Constructor
ServiceReplica(int, Executable, Recoverable, RequestVerifier) - Constructor for class bftsmart.tom.ServiceReplica
Constructor
ServiceReplica(int, String, Executable, Recoverable, RequestVerifier) - Constructor for class bftsmart.tom.ServiceReplica
Constructor
ServiceReplica(int, boolean, Executable, Recoverable) - Constructor for class bftsmart.tom.ServiceReplica
Constructor
ServiceReplica(int, String, boolean, Executable, Recoverable, RequestVerifier) - Constructor for class bftsmart.tom.ServiceReplica
 
setInvokeTimeout(int) - Method in class bftsmart.tom.ServiceProxy
Set the amount of time (in seconds) that this proxy will wait for servers replies before returning null.
setInvokeUnorderedHashedTimeout(int) - Method in class bftsmart.tom.ServiceProxy
 
setLastInBatch() - Method in class bftsmart.tom.MessageContext
 
setReplicaContext(ReplicaContext) - Method in class bftsmart.tom.server.defaultservices.DefaultRecoverable
 
setReplicaContext(ReplicaContext) - Method in class bftsmart.tom.server.defaultservices.DefaultSingleRecoverable
 
setReplicaContext(ReplicaContext) - Method in class bftsmart.tom.server.defaultservices.durability.DurabilityCoordinator
 
setReplicaContext(ReplicaContext) - Method in interface bftsmart.tom.server.Recoverable
 
setReplicaContext(ReplicaContext) - Method in interface bftsmart.tom.server.Replier
 
setReplyController(Replier) - Method in class bftsmart.tom.ServiceReplica
 
setServerCommunicationSystem(ServerCommunicationSystem) - Method in class bftsmart.tom.ReplicaContext
 
setState(ApplicationState) - Method in class bftsmart.tom.server.defaultservices.DefaultRecoverable
 
setState(ApplicationState) - Method in class bftsmart.tom.server.defaultservices.DefaultSingleRecoverable
 
setState(ApplicationState) - Method in class bftsmart.tom.server.defaultservices.durability.DurabilityCoordinator
 
setState(ApplicationState) - Method in interface bftsmart.tom.server.Recoverable
Sets the state to the representation obtained in the state transfer protocol
SingleExecutable - Interface in bftsmart.tom.server
Executables that implement this interface will receive client requests individually.

T

TOMSender - Class in bftsmart.tom
This class is used to multicast messages to replicas and receive replies.
TOMSender() - Constructor for class bftsmart.tom.TOMSender
Creates a new instance of TOMulticastSender TODO: This may really be empty?
TOMulticast(TOMMessage) - Method in class bftsmart.tom.TOMSender
Multicast a TOMMessage to the group of replicas
TOMulticast(byte[], int, TOMMessageType) - Method in class bftsmart.tom.TOMSender
Multicast data to the group of replicas
TOMulticast(byte[], int, int, TOMMessageType) - Method in class bftsmart.tom.TOMSender
 
A B C D E F G I J L M N O R S T 
Skip navigation links