A C E G H I J L M N P R S T V W

A

AlreadyJoinedException - exception jbora.AlreadyJoinedException.
Thrown when a group member tries to rejoin the group.
AlreadyJoinedException() - Constructor for class jbora.AlreadyJoinedException
Creates a new exception object.
AlreadyJoinedException(String) - Constructor for class jbora.AlreadyJoinedException
Creates a new exception and initializes it with a message.
AlreadyJoinedException(Throwable) - Constructor for class jbora.AlreadyJoinedException
Creates a new exception and initializes it with a cause.
AlreadyJoinedException(String, Throwable) - Constructor for class jbora.AlreadyJoinedException
Creates a new exception and initializes it with a cause and a message.

C

close() - Method in class jbora.JBora
Close the connection to Spread.
compareTo(Object) - Method in class jbora.ProcessID
Compares the size of this object and the specified object.

E

Event - class jbora.Event.
A JBora event: An event may be a view change, a message, or a local message.
EventException - exception jbora.EventException.
Thrown when an error occurs while managing an Event object.
EventException() - Constructor for class jbora.EventException
 
equals(Object) - Method in class jbora.ProcessID
Checks if two identifiers are equal.
equals(Object) - Method in class jbora.View
Returns true if the view is equal to another (comparison is based on view identifiers).

G

getCurrentView() - Method in class jbora.JBora
Returns the current view of the group.
getEvents() - Method in class jbora.PropagateEvent
Returns an Array of events (LocalMessages and Messages not related to the propagation) received during the propagation.
getGroup() - Method in class jbora.PropagateEvent
Returns an Array of the processes that are participating to the propagation.- View members who "replied".
getInetAddress() - Method in class jbora.ProcessID
Internet Protocol (IP) address representation of this ProcessID.
getLocalMessage() - Method in class jbora.Event
Returns the local call message.
getMembers() - Method in class jbora.View
Members of this View.
getMessage() - Method in class jbora.Event
Returns the related message.
getMessages() - Method in class jbora.PropagateEvent
Returns a Vector of messages ("replies") received during the propagation.
getMySelf() - Method in class jbora.JBora
Returns the ID of the executing process
getSender() - Method in class jbora.Event
Returns the sender of the message related to the event received.
getValue(ProcessID) - Method in class jbora.WhiteBoard
Gets the value associated with a ProcessID.
getView() - Method in class jbora.Event
Returns the related view.

H

hashCode() - Method in class jbora.ProcessID
Returns the hash code of the identifier.

I

isLocalCall() - Method in class jbora.Event
Checks if this event is a local call.
isMessage() - Method in class jbora.Event
Checks if this event is a message.
isPrimary() - Method in class jbora.View
Return true if this view is primary, false otherwise.
isView() - Method in class jbora.Event
Checks if this event is a view.

J

JBora - class jbora.JBora.
The main class.
JBora(int, int, String, String) - Constructor for class jbora.JBora
 
JBoraException - exception jbora.JBoraException.
Generic JBora exception.
JBoraException() - Constructor for class jbora.JBoraException
Creates a new exception.
JBoraException(String) - Constructor for class jbora.JBoraException
Creates a new exception and initializes it with a message.
JBoraException(Throwable) - Constructor for class jbora.JBoraException
Creates a new exception and initializes it with a cause.
JBoraException(String, Throwable) - Constructor for class jbora.JBoraException
Creates a new exception and initializes it with a cause and a message.
jbora - package jbora
JBora is the replication user interface based on the Spread group communication tool.
join() - Method in class jbora.JBora
Join the group (name of the group is specified in the JBora constructor).

L

leave() - Method in class jbora.JBora
Leave the group.
localCall(Message) - Method in class jbora.JBora
Primitive for intra-process communication.
localRespond(Message, Message) - Method in class jbora.JBora
Responds to a localCall.

M

Message - interface jbora.Message.
Defines a JBora message.
MessageTooBigException - exception jbora.MessageTooBigException.
Thrown when a Message is too big.
MessageTooBigException() - Constructor for class jbora.MessageTooBigException
Creates a new exception.
MessageTooBigException(String) - Constructor for class jbora.MessageTooBigException
Creates a new exception and initializes it with a message.
MessageTooBigException(Throwable) - Constructor for class jbora.MessageTooBigException
Creates a new exception and initializes it with a cause.
MessageTooBigException(String, Throwable) - Constructor for class jbora.MessageTooBigException
Creates a new exception and initializes it with a cause and a message.
multiCast(Message) - Method in class jbora.JBora
Sends a message (multicasts) to all members of the current View.

N

NotJoinedException - exception jbora.NotJoinedException.
Thrown when the owner of the JBora object hasn't joined the group.
NotJoinedException() - Constructor for class jbora.NotJoinedException
Creates a new exception.
NotJoinedException(String) - Constructor for class jbora.NotJoinedException
Creates a new exception and initializes it with a message.
NotJoinedException(Throwable) - Constructor for class jbora.NotJoinedException
Creates a new exception and initializes it with a cause.
NotJoinedException(String, Throwable) - Constructor for class jbora.NotJoinedException
Creates a new exception and initializes it with a cause and a message.

P

PanicException - exception jbora.PanicException.
Thrown in the presence of an unrecoverable error.
PanicException() - Constructor for class jbora.PanicException
Creates a new exception.
PanicException(Throwable) - Constructor for class jbora.PanicException
Creates a new exception and initializes it with a cause.
PanicException(String) - Constructor for class jbora.PanicException
Creates a new exception and initializes it with a message.
ProcessID - class jbora.ProcessID.
Implements a group member identifier.
ProcessID(SpreadGroup) - Constructor for class jbora.ProcessID
Creates a new identifier.
PropagateEvent - class jbora.PropagateEvent.
A container for the outcome of JBora propagation.
propagate(Message) - Method in class jbora.JBora
Multicasts a message to all current view members and returns a PropagateEvent containing: A list of members that replied: ProcessID[]; Reply message from each member that replied: Vector; Other events received during propagation: Event[].
putValue(ProcessID, int) - Method in class jbora.WhiteBoard
Inserts a value (if the value is negative, then it inserts 0).

R

receive() - Method in class jbora.JBora
Receives an Event from JBora.

S

size() - Method in class jbora.WhiteBoard
Returns the number of elements in the whiteboard.

T

toString() - Method in class jbora.ProcessID
Returns the connection_name@host ID of a process.

V

View - class jbora.View.
A set of group members as provided by the underlying GC tool.

W

WhiteBoard - class jbora.WhiteBoard.
A table of integers with one element corresponding to each group member.
WhiteBoard() - Constructor for class jbora.WhiteBoard
Creates a new whiteboard object.
whiteBoardRead(ProcessID) - Method in class jbora.JBora
Reads the whiteboard value associated with the specified view member.
whiteBoardUpdate(int) - Method in class jbora.JBora
Updates the whiteboard value associated with the invoking process

A C E G H I J L M N P R S T V W