All Packages  Class Hierarchy

A B C D E F G H I J K L M N O P Q R S T U V W X Y Z

Index of all Fields and Methods

A

add(Pair). Method in class macondo.mak.Itinerary
add(PlaceName, String). Method in class macondo.mak.Itinerary
add(String, int, String). Method in class macondo.mak.Itinerary
add(Tuple). Method in class macondo.mistero.collections.TupleCollection
Adds a tuple to this collection.
addSerializer(Class). Static method in class macondo.mistero.Mistero
Adds a new GlobalSerializer object to the Mistero run time for the specified class.
advance(). Method in class macondo.mistero.collections.Token
Advance this token.
Agent(). Constructor for class macondo.mak.Agent
Creates a new Agent.
Agent(Agent). Constructor for class macondo.mak.Agent
Creates a new Agent from another one.
Agent(String). Constructor for class macondo.mak.Agent
Creates a new Agent with given name.
Agent(String, PlaceName). Constructor for class macondo.mak.Agent
Creates a new Agent with given name and current place name.
AGENT_ENTER_REQUEST. Static variable in class macondo.mak.Message
AGENT_GET_REQUEST. Static variable in class macondo.mak.Message
AGENT_LAUNCH_REQUEST. Static variable in class macondo.mak.Message
AgentClassLoader(PlaceName, boolean, String). Constructor for class macondo.mak.AgentClassLoader
Creates an AgentClassLoader to load classes from a place at the specified host and port.
AgentEnterInfo(). Constructor for class macondo.mak.AgentEnterInfo
AgentEnterInfo(PlaceName). Constructor for class macondo.mak.AgentEnterInfo
AgentGetInfo(). Constructor for class macondo.mak.AgentGetInfo
AgentGetInfo(String). Constructor for class macondo.mak.AgentGetInfo
assert(boolean, String). Static method in class macondo.util.util
Assertion.

B

buildItem(InputStream). Method in class macondo.mistero.Item
Restore the object from the specified input stream.
buildItem(InputStream). Method in class macondo.mistero.SpaceName
JadaItem interface method.
buildItem(InputStream). Method in class macondo.mistero.collections.Token

C

CLASS_REQUEST. Static variable in class macondo.mak.Message
ClassRequestInfo(). Constructor for class macondo.mak.ClassRequestInfo
ClassRequestInfo(String). Constructor for class macondo.mak.ClassRequestInfo
clear(). Method in class macondo.mak.StoreManager
Removes all saved objects and clears the index table.
cloneItem(Object). Method in class macondo.mistero.Item
Clone this item from another one.
cloneItem(Object). Method in class macondo.mistero.SpaceName
JadaItem interface method.
cloneItem(Object). Method in class macondo.mistero.collections.Token
contains(Tuple). Method in class macondo.mistero.collections.TupleCollection
Tests if this collection contains the specified tuple.

D

debug(String). Static method in class macondo.util.util
Prints a debugging message on standard output.
DEFAULT_PORT. Static variable in class macondo.mistero.Mistero
This is the default port number used by the SpaceServer object.
doTrip(). Method in class macondo.mak.Traveller
Let the traveller move, following its itinerary.
drop(). Method in class macondo.mak.Itinerary
dump(Object, OutputStream). Method in class macondo.mistero.GlobalSerializer
JadaSerializer interface method.
dumpItem(OutputStream). Method in class macondo.mistero.Item
Dumps this object into the specified output stream.
dumpItem(OutputStream). Method in class macondo.mistero.SpaceName
JadaItem interface method.
dumpItem(OutputStream). Method in class macondo.mistero.collections.Token

E

END_REQUEST. Static variable in class macondo.mak.Message
err(String). Static method in class macondo.util.util
Prints an error message on standard error.
ERROR. Static variable in class macondo.mistero.Result
error(Exception). Method in class macondo.mak.Traveller
Method called when a problem is encountered during a trip.
exc(Exception). Static method in class macondo.util.util
Simple debugging code execute every time an exception is raised.

F

flush(). Method in class macondo.mak.Agent
flush(Object). Method in class macondo.mak.Agent
flushAgent(Agent, Object). Method in class macondo.mak.Place

G

getAgentName(). Method in class macondo.mak.AgentGetInfo
getClassName(). Method in class macondo.mak.ClassRequestInfo
getCurrentPlace(). Method in class macondo.mak.Agent
Returns current place.
getException(). Method in class macondo.mak.MigrationResult
getHost(). Method in class macondo.mak.PlaceName
Gets host name.
getInfo(). Method in class macondo.mak.Message
Returns the object associated to this message.
getMethodName(). Method in class macondo.mak.Pair
Gets method name.
getName(). Method in class macondo.mak.Agent
getObject(). Method in class macondo.mistero.Result
Returns the result tuple of this request.
getObject(long). Method in class macondo.mistero.Result
Returns the result tuple of this request.
getObject(Object). Method in class macondo.mak.StoreManager
Retrieves the object corresponding to the given key.
getObjectSpace(). Method in class macondo.mistero.Space
Returns the Jada object space used for this Space.
getPlace(). Method in class macondo.mak.Pair
Gets place name.
getPlaceName(). Method in class macondo.mak.AgentEnterInfo
getPlaceName(). Method in class macondo.mak.Place
getPort(). Method in class macondo.mak.PlaceName
Gets port number.
getProperty(Object). Method in class macondo.mak.Agent
getProperty(String). Method in class macondo.mak.Place
Returns a system property.
getSource(). Method in class macondo.mak.Agent
Returns source place name.
getSpaceName(). Method in class macondo.mistero.Space
Returns the current tuple space name.
getType(). Method in class macondo.mak.Message
Returns the type of this message.
GlobalSerializer(). Constructor for class macondo.mistero.GlobalSerializer
Default constructor.
go(PlaceName, String). Method in class macondo.mak.Agent
Moves the agent to a new place.
go(String, int, String). Method in class macondo.mak.Agent
Moves the agent to a new place.

H

handleConnection(Socket). Method in class macondo.mak.Place
Handles a connection which requests a service.
hasMoreElements(). Method in class macondo.mak.Itinerary

I

IllegalTupleException(). Constructor for class macondo.mistero.collections.IllegalTupleException
Throws a new IllegalTupleException with no detail message.
IllegalTupleException(String). Constructor for class macondo.mistero.collections.IllegalTupleException
Throws a new IllegalTupleException with the specified detail message.
IN. Static variable in class macondo.mistero.Result
in(Tuple). Method in class macondo.mistero.Space
Performs a request for withdrawing a tuple from this space.
inAll(Tuple). Method in class macondo.mistero.Space
Returns every tuple in this space that matches the given template.
INIT. Static variable in class macondo.mak.Agent
Indicates that the agent is executing for the first time.
init(). Method in class macondo.mak.Agent
Method called to initialize the agent.
inIterator(). Method in class macondo.mistero.collections.TupleCollection
Returns a InIterator on this collection.
InIterator(Space, Tuple). Constructor for class macondo.mistero.collections.InIterator
Builds a new InIterator in order to withdraw tuples with the specifed pattern from the specified tuple space.
insertObject(Object, Object). Method in class macondo.mak.StoreManager
Stores obj and add an entry to the index table.
isAvailable(). Method in class macondo.mistero.Result
Tests if the result is available.
isEmpty(). Method in class macondo.mistero.collections.TupleCollection
Tests if this collection contains no element.
isError(). Method in class macondo.mistero.Result
Tests if any error occurs while performing the request.
Item(). Constructor for class macondo.mistero.Item
ItemNotStreamableException(). Constructor for class macondo.mistero.ItemNotStreamableException
Constructs a ItemNotStreamableException with no detail message.
ItemNotStreamableException(String). Constructor for class macondo.mistero.ItemNotStreamableException
Constructs a ItemNotStreamableException with the specified detail message.
items(). Method in class macondo.mistero.SpaceName
Returns the items of this name as an array of String.
Itinerary(). Constructor for class macondo.mak.Itinerary
Itinerary(Vector). Constructor for class macondo.mak.Itinerary

J

join(String). Method in class macondo.mistero.Space
Name managing method.
join(String). Method in class macondo.mistero.SpaceName
Joins to the space specified from the given name items.

K

keys(). Method in class macondo.mak.StoreManager
Returns an enumeration of the keys in the index table.
kill(). Method in class macondo.mistero.Result
Kills the current tuple request.

L

lastItem(). Method in class macondo.mistero.SpaceName
Returns the last item of this name.
launchAgent(Agent). Method in class macondo.mak.Place
Launchs the given agent.
launchAgent(String). Method in class macondo.mak.Place
Launchs an agent given its file name.
leave(). Method in class macondo.mistero.Space
Name managing method.
leave(). Method in class macondo.mistero.SpaceName
Moves to the encompassing tuple space.
leaveAll(). Method in class macondo.mistero.Space
Name managing method.
leaveAll(). Method in class macondo.mistero.SpaceName
Moves to the root tuple space.
list(). Method in class macondo.mistero.Space
loadClass(String). Method in class macondo.mak.AgentClassLoader
Loads a class with the specified name.
loadClass(String, boolean). Method in class macondo.mak.AgentClassLoader
Loads a class with the specified name, resolving it if required.
loadClassBytes(String). Method in class macondo.mak.AgentClassLoader
Loads class bytes from the specified source.
loadTable(). Method in class macondo.mak.StoreManager
Loads the index table saved in a previous session.

M

main(String[]). Static method in class macondo.mak.Place
Main entry point when Place is used as a standalone application.
main(String[]). Static method in class macondo.mistero.SpaceServer
Main entry point when used as a standalone Java program.
matchesItem(Item). Method in class macondo.mistero.Item
Tests if this item matches the given one.
matchesItem(JadaItem). Method in class macondo.mistero.Item
This is the JadaItem interface method used for matching.
matchesItem(JadaItem). Method in class macondo.mistero.SpaceName
JadaItem interface method.
matchesItem(JadaItem). Method in class macondo.mistero.collections.Token
Message(). Constructor for class macondo.mak.Message
Message(int, Serializable). Constructor for class macondo.mak.Message
MIGRATION_KO. Static variable in class macondo.mak.Message
MIGRATION_OK. Static variable in class macondo.mak.Message
MigrationResult(). Constructor for class macondo.mak.MigrationResult
Default constructor.
modifyAt(Pair, int). Method in class macondo.mak.Itinerary

N

nextTuple(). Method in class macondo.mistero.collections.InIterator
TupleIterator interface method.
nextTuple(). Method in class macondo.mistero.collections.ReadIterator
TupleIterator interface method.
nextTuple(). Method in interface macondo.mistero.collections.TupleIterator
Returns the next tuple in the iteration.

O

out(Tuple). Method in class macondo.mistero.Space
Inserts a tuple in this space.

P

Pair(PlaceName, String). Constructor for class macondo.mak.Pair
Creates a new Pair.
Place(). Constructor for class macondo.mak.Place
Place(String). Constructor for class macondo.mak.Place
PlaceName(int). Constructor for class macondo.mak.PlaceName
Creates a new PlaceName on localhost with a given port.
PlaceName(PlaceName). Constructor for class macondo.mak.PlaceName
Creates a new PlaceName from another one.
PlaceName(String, int). Constructor for class macondo.mak.PlaceName
Creates a new PlaceName with given host and port.
putProperty(Object, Object). Method in class macondo.mak.Agent

R

RD. Static variable in class macondo.mistero.Result
read(Tuple). Method in class macondo.mistero.Space
Performs a request for reading a tuple from this space.
readAll(Tuple). Method in class macondo.mistero.Space
Returns every tuple in this space that matches the given template.
readIterator(). Method in class macondo.mistero.collections.TupleCollection
Returns a ReadIterator on this collection.
ReadIterator(Space, Tuple). Constructor for class macondo.mistero.collections.ReadIterator
Builds a new ReadIterator on the given space to read tuples with the given pattern.
removeObject(Object). Method in class macondo.mak.StoreManager
Removes a stored object and the corresponding table entry.
removeProperty(Object). Method in class macondo.mak.Agent
removeSerializer(Class). Static method in class macondo.mistero.Mistero
Removes a serializer, if added, for the specified class.
resolveClass(ObjectStreamClass). Method in class macondo.mak.SmartObjectInputStream
RESTART. Static variable in class macondo.mak.Agent
Indicates that this agent is executing after a migration.
RESTORE. Static variable in class macondo.mak.Agent
Indicates that this agent is executing after being made persistent.
restore(InputStream). Method in class macondo.mistero.GlobalSerializer
JadaSerializer interface method.
restoreAgent(Object). Method in class macondo.mak.Place
Result(ObjectSpace, Tuple, int). Constructor for class macondo.mistero.Result
Builds a new Result object for a tuple request.
run(). Method in class macondo.mak.Place
Place main loop: accepts requests and serve each one in a separate thread.
run(). Method in class macondo.mistero.Result
Performs the real tuple request asynchronously.

S

save(). Method in class macondo.mak.Agent
save(Object). Method in class macondo.mak.Agent
saveAgent(Agent, Object). Method in class macondo.mak.Place
saveAgent(String). Method in class macondo.mak.Place
saveTable(). Method in class macondo.mak.StoreManager
Saves the index table in stable storage, so it is possible to retrieve it in a different session.
setException(TransportException). Method in class macondo.mak.MigrationResult
setHostName(String). Method in class macondo.mak.Place
Sets the host name of this Place.
setItinerary(Itinerary). Method in class macondo.mak.Traveller
Sets itinerary.
setItinerary(Vector). Method in class macondo.mak.Itinerary
setLoader(ClassLoader). Method in class macondo.mak.SmartObjectInputStream
setName(String). Method in class macondo.mak.Agent
setName(String). Method in class macondo.mak.Place
Sets the application dependent name of this Place.
setPort(int). Method in class macondo.mak.Place
Sets the port number of this Place.
setSuccess(). Method in class macondo.mak.MigrationResult
size(). Method in class macondo.mistero.SpaceName
Returns the current number of items of this SpaceName.
SmartObjectInputStream(InputStream). Constructor for class macondo.mak.SmartObjectInputStream
Space(). Constructor for class macondo.mistero.Space
Default constructor.
SpaceClient(). Constructor for class macondo.mistero.SpaceClient
Default constructor.
SpaceClient(int). Constructor for class macondo.mistero.SpaceClient
Builds a new space client to connect a space server on host localhost at the specified port number.
SpaceClient(String). Constructor for class macondo.mistero.SpaceClient
Builds a new space client to connect a space server with specified host name at default port.
SpaceClient(String, int). Constructor for class macondo.mistero.SpaceClient
Builds a new space client to connect a space server with specified host name and port.
SpaceException(). Constructor for class macondo.mistero.SpaceException
Builds a new SpaceException with no detail message.
SpaceException(String). Constructor for class macondo.mistero.SpaceException
Builds a new SpaceException with the specified detail message.
SpaceName(). Constructor for class macondo.mistero.SpaceName
Default constructor.
SpaceServer(). Constructor for class macondo.mistero.SpaceServer
Creates a new SpaceServer object listening at the default port.
SpaceServer(int). Constructor for class macondo.mistero.SpaceServer
Creates a new SpaceServer object listening at the specified port.
startPlace(). Method in class macondo.mak.Place
startsWith(SpaceName). Method in class macondo.mistero.SpaceName
Tests if this name starts with the specified prexif.
stop(). Method in class macondo.mak.Agent
Method called before agent migration, in order to store relevant information in agent state or release resources.
StoreManager(String). Constructor for class macondo.mak.StoreManager
Constructs a new StoreManager with a given path where to store objects.
success(). Method in class macondo.mak.MigrationResult

T

Token(). Constructor for class macondo.mistero.collections.Token
Builds a new Token object.
toString(). Method in class macondo.mak.PlaceName
Returns a string representation of the name.
toString(). Method in class macondo.mistero.SpaceName
Returns a string representation of this SpaceName object.
TransportException(). Constructor for class macondo.mak.TransportException
Builds a new TransportException with no detail message.
TransportException(String). Constructor for class macondo.mak.TransportException
Builds a new TransportException with the specified detail message.
TransportFailedException(). Constructor for class macondo.mak.TransportFailedException
Builds a new TransportFailedException with no detail message.
TransportFailedException(String). Constructor for class macondo.mak.TransportFailedException
Builds a new TransportFailedException with the specified detail message.
Traveller(). Constructor for class macondo.mak.Traveller
Creates a new Traveller.
Traveller(Itinerary). Constructor for class macondo.mak.Traveller
Creates a new Traveller with a given itinerary.
Traveller(String). Constructor for class macondo.mak.Traveller
Creates a new Traveller with a given name.
Traveller(String, Itinerary). Constructor for class macondo.mak.Traveller
Creates a new Traveller with given name and itinerary.
Tuple(). Constructor for class macondo.mistero.Tuple
Default constructor.
Tuple(Object). Constructor for class macondo.mistero.Tuple
Builds a tuple with the specified item.
Tuple(Object, Object). Constructor for class macondo.mistero.Tuple
Tuple(Object, Object, Object). Constructor for class macondo.mistero.Tuple
Tuple(Object, Object, Object, Object). Constructor for class macondo.mistero.Tuple
Tuple(Object, Object, Object, Object, Object). Constructor for class macondo.mistero.Tuple
Tuple(Object, Object, Object, Object, Object, Object). Constructor for class macondo.mistero.Tuple
Tuple(Object, Object, Object, Object, Object, Object, Object). Constructor for class macondo.mistero.Tuple
Tuple(Object, Object, Object, Object, Object, Object, Object, Object). Constructor for class macondo.mistero.Tuple
Tuple(Object, Object, Object, Object, Object, Object, Object, Object, Object). Constructor for class macondo.mistero.Tuple
Tuple(Object, Object, Object, Object, Object, Object, Object, Object, Object, Object). Constructor for class macondo.mistero.Tuple
Tuple(Tuple). Constructor for class macondo.mistero.Tuple
Builds a tuple copying the given one.
TupleCollection(Space, Tuple). Constructor for class macondo.mistero.collections.TupleCollection
Builds a new TupleCollection.

U

UnknownDestinationException(). Constructor for class macondo.mak.UnknownDestinationException
Builds a new UnknownDestinationException with no detail message.
UnknownDestinationException(String). Constructor for class macondo.mak.UnknownDestinationException
Builds a new UnknownDestinationException with the specified detail message.