Serialized Form

Class universal.AckReadMessage implements Serializable

Serialized Fields

value

universal.Outcome value
The last value read for the place in the total order for which it has received the read message


lastwrite

int lastwrite
The last round number it has written for the place in the total order for which it has received the read message


Class universal.AckWriteMessage implements Serializable

Serialized Fields

permission

boolean permission
the variable permission is not useful in a case of the crashStop model but could be used in the crashRecovery.


Class universal.AmAliveMessage implements Serializable

Serialized Fields

epochArray

int[] epochArray
the variable epochArray is not useful in the crashStop model but could be in the crash recovery model


Class universal.messagein.ClientAnnounce implements Serializable

Serialized Fields

uniClient

universal.UniversalClient uniClient
The UniversalClient this ClientAnnounce is linked to


Class universal.ClientInterceptor implements Serializable

Serialized Fields

info

org.omg.PortableInterceptor.ORBInitInfo info

ft_slot

int ft_slot

orb

org.omg.CORBA.ORB orb

location

java.lang.String location

trace_file

java.io.RandomAccessFile trace_file


Class universal.Initializer implements Serializable

Serialized Fields

t_slot

int t_slot


Class universal.JustMeasureTimeUnivInitializer implements Serializable

Serialized Fields

t_slot

int t_slot


Class universal.Message implements Serializable

Serialized Fields

senderid

int senderid
the pid of the replicated server that send this message


mid

int mid

msgType

int msgType
Define the type of the message.
For example if it is an AckReadMessage or an AckWriteMessage,..


Class universal.NackReadMessage implements Serializable


Class universal.NackWriteMessage implements Serializable


Class universal.NonReplUnivClInitializer implements Serializable

Serialized Fields

t_slot

int t_slot


Class universal.exception.NotUserException implements Serializable

Serialized Fields

errorcode

int errorcode

reason

java.lang.String reason


Class universal.NRClientInterceptor implements Serializable

Serialized Fields

info

org.omg.PortableInterceptor.ORBInitInfo info

ft_slot

int ft_slot

orb

org.omg.CORBA.ORB orb

location

java.lang.String location

trace_file

java.io.RandomAccessFile trace_file


Class universal.NRServerInterceptor implements Serializable

Serialized Fields

info

org.omg.PortableInterceptor.ORBInitInfo info

ft_slot

int ft_slot

location

java.lang.String location

orb1

org.omg.CORBA.ORB orb1

orb

org.openorb.CORBA.ORB orb

factory

org.omg.IOP.CodecFactory factory

codec

org.omg.IOP.Codec codec

num

int num

trace_file

java.io.RandomAccessFile trace_file


Class universal.Outcome implements Serializable

Serialization Methods

readObject

public void readObject(java.io.DataInputStream dis)

writeObject

public void writeObject(java.io.DataOutputStream dos)
Serialized Fields

req

universal.Request req
The request sends by the client.


res

universal.Reply res
The reply associates to the request.


upd

universal.Update upd
The update of the state associates with this request.


Class universal.communication.ProcessDetails implements Serializable

Serialized Fields

pid

int pid
The pid of the replicated server that is decribed by this object


address

java.net.InetAddress address
The IP address of the replicated server that is described by this object


port

int port
The port where this replicated server is listenning


Class universal.ReadMessage implements Serializable

Serialized Fields

roundno

int roundno
roundno the round number for this consensus.


batchno

int batchno
batchno the place in the total order for which the consensus is actually made


Class universal.messagein.ReplicasAnnounce implements Serializable

Serialized Fields

uni

universal.Universal uni


Class universal.Reply implements Serializable

Serialization Methods

readObject

public void readObject(java.io.DataInputStream dis)

writeObject

public void writeObject(java.io.DataOutputStream dos)
Serialized Fields

res

java.lang.Object res
return of the method of the application server


res_args

java.lang.Object[] res_args
inout and out parameters


Class universal.Request implements Serializable

Serialization Methods

readObject

public void readObject(java.io.DataInputStream dis)

writeObject

public void writeObject(java.io.DataOutputStream dos)
Serialized Fields

retention_id

int retention_id
Each different request from a certain client has a different id


client_id

java.lang.String client_id
Each client has its own client id


expiration_time

long expiration_time
Useful to know when we can remove a request form the OutcomeStore


Class universal.RequestServiceContext implements Serializable

Serialized Fields

request_start_time

long request_start_time
Struct member request_start_time. Associates to the request the current time when it is in the client Interceptor in the method send_request. It will be needed to calculate the expiration time (request_start_time + certain_duration).


retention_id

int retention_id
Struct member retention_id. A different retention_id is associated to each request.


client_id

java.lang.String client_id
Struct member client_id. Each client has its own client id.


Class universal.ServerInterceptor implements Serializable

Serialized Fields

info

org.omg.PortableInterceptor.ORBInitInfo info

ft_slot

int ft_slot

location

java.lang.String location

orb1

org.omg.CORBA.ORB orb1

orb

org.openorb.CORBA.ORB orb

uni

universal.Universal uni
This object permit to access the implementation of the algorithm (Leader election, consensus)


factory

org.omg.IOP.CodecFactory factory

codec

org.omg.IOP.Codec codec

num

int num
Num is the idea for this server of the next position in the total order, the next request should be.


store

universal.OutcomeStore store
The variable store contains the outcome (Request, Reply, Update) for requests that have already been processed and that have not yet expired.
It is useful in case of the same request is sent twice but we don't want to execute it twice.


table

universal.MethTable table
Contains the description of all the methods of the application server.
The description is the name, the modes (IN, INOUT, OUT) and types of the parameters.


methSgn

universal.MethSignStr[] methSgn

one_by_one

java.lang.Object one_by_one
Permit to synchronized on this object in order to treat each request one after another


number_waiting

int number_waiting
Number of request that wait to be processed


number_notify

int number_notify

trace_file

java.io.RandomAccessFile trace_file
The file which contains the traces.