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

A

ACCEPT_ENTRIES - Static variable in class de.uniba.wiai.lspi.chord.com.Endpoint
Integer representation of state.
acceptEntries() - Method in class de.uniba.wiai.lspi.chord.com.Endpoint
Tell this endpoint that the node is now able to receive messages that request the storage and removal of entries.
add_escapes(String) - Method in exception de.uniba.wiai.lspi.util.console.parser.ParseException
Used to convert raw characters to their escaped version when these raw version cannot be used as part of an ASCII string literal.
addCommand(String, String) - Method in class de.uniba.wiai.lspi.util.console.CommandFactory
Add the given Command cmd to this command factory.
addEscapes(String) - Static method in error de.uniba.wiai.lspi.util.console.parser.TokenMgrError
Replaces unprintable characters by their espaced (or unicode escaped) equivalents in the given string
addParameter(String, String) - Method in class de.uniba.wiai.lspi.util.console.Command
Add a command line parameter.
addPowerOfTwo(int) - Method in class de.uniba.wiai.lspi.chord.data.ID
Calculates the ID which is 2^powerOfTwo bits greater than the current ID modulo the maximum ID and returns it.
addProxyUsedBy(URL, ThreadProxy) - Method in class de.uniba.wiai.lspi.chord.com.local.Registry
Add the given proxy used by the node with nodeName.
adjustBeginLineColumn(int, int) - Method in class de.uniba.wiai.lspi.util.console.parser.SimpleCharStream
Method to adjust line and column numbers for the start of a token.
ALL_PARAM - Static variable in class de.uniba.wiai.lspi.chord.console.command.CrashNodes
Parameter to define that all nodes should be crashed.
ALL_PARAM - Static variable in class de.uniba.wiai.lspi.chord.console.command.ShutdownNodes
The parameter to define that all nodes should be shutdown.
AsynChord - Interface in de.uniba.wiai.lspi.chord.service
Interface to Chord distributed hash table for asynchronous method invocations.

B

backup(int) - Method in class de.uniba.wiai.lspi.util.console.parser.SimpleCharStream
 
beginColumn - Variable in class de.uniba.wiai.lspi.util.console.parser.Token
beginLine and beginColumn describe the position of the first character of this token; endLine and endColumn describe the position of the last character of this token.
beginLine - Variable in class de.uniba.wiai.lspi.util.console.parser.Token
beginLine and beginColumn describe the position of the first character of this token; endLine and endColumn describe the position of the last character of this token.
BeginToken() - Method in class de.uniba.wiai.lspi.util.console.parser.SimpleCharStream
 
bind(ThreadEndpoint) - Method in class de.uniba.wiai.lspi.chord.com.local.Registry
Register the given endpointso that it can be looked up via #lookup(String).
BOOTSTRAP_PARAM - Static variable in class de.uniba.wiai.lspi.chord.console.command.CreateNodes
Names of the bootstrap nodes to use.
BOOTSTRAP_PARAM - Static variable in class de.uniba.wiai.lspi.chord.console.command.JoinNetwork
The name of the parameter that defines the bootstrap node to use.
bufcolumn - Variable in class de.uniba.wiai.lspi.util.console.parser.SimpleCharStream
 
buffer - Variable in class de.uniba.wiai.lspi.util.console.parser.SimpleCharStream
 
bufline - Variable in class de.uniba.wiai.lspi.util.console.parser.SimpleCharStream
 
bufpos - Variable in class de.uniba.wiai.lspi.util.console.parser.SimpleCharStream
 

C

ChangeProtocol - Class in de.uniba.wiai.lspi.chord.console.command
 
ChangeProtocol(Object[], PrintStream) - Constructor for class de.uniba.wiai.lspi.chord.console.command.ChangeProtocol
 
Chord - Interface in de.uniba.wiai.lspi.chord.service
Provides all methods necessary for a user application.
ChordCallback - Interface in de.uniba.wiai.lspi.chord.service
This is the interface that must be implemented by classes that can be used as callback for method invocations on AsynChord.
ChordFuture - Interface in de.uniba.wiai.lspi.chord.service
This interface represents the result of an asynchronouse invocation on an implementation of AsynChord.
ChordImpl - Class in de.uniba.wiai.lspi.chord.service.impl
Implements all operations which can be invoked on the local node.
ChordImpl() - Constructor for class de.uniba.wiai.lspi.chord.service.impl.ChordImpl
Creates a new instance of ChordImpl which initially is disconnected.
ChordImplAccess - Class in de.uniba.wiai.lspi.chord.com.local
 
ChordRetrievalFuture - Interface in de.uniba.wiai.lspi.chord.service
This ChordFuture represents the invocation result of AsynChord.retrieveAsync(Key).
CLEAR_PARAM - Static variable in class de.uniba.wiai.lspi.util.console.ShowOutputCommand
 
clearBuffer() - Method in class de.uniba.wiai.lspi.util.console.MemoryOutputStream
Clears the internal buffer of this output stream.
closeConnections() - Method in class de.uniba.wiai.lspi.chord.com.Endpoint
This method has to be overwritten by sub classes and is invoked by Endpoint.disconnect()to close all connections from the chord network.
closeConnections() - Method in class de.uniba.wiai.lspi.chord.com.local.ThreadEndpoint
 
closeConnections() - Method in class de.uniba.wiai.lspi.chord.com.rmi.RMIEndpoint
 
closeConnections() - Method in class de.uniba.wiai.lspi.chord.com.socket.SocketEndpoint
 
column - Variable in class de.uniba.wiai.lspi.util.console.parser.SimpleCharStream
 
Command - Class in de.uniba.wiai.lspi.util.console
 
Command(Object[], PrintStream) - Constructor for class de.uniba.wiai.lspi.util.console.Command
Creates a new instance of Command.
command() - Method in class de.uniba.wiai.lspi.util.console.parser.CommandParser
 
COMMAND_NAME - Static variable in class de.uniba.wiai.lspi.chord.console.command.ChangeProtocol
 
COMMAND_NAME - Static variable in class de.uniba.wiai.lspi.chord.console.command.CrashNodes
The name of this command.
COMMAND_NAME - Static variable in class de.uniba.wiai.lspi.chord.console.command.CreateNodes
Name of this commmand.
COMMAND_NAME - Static variable in class de.uniba.wiai.lspi.chord.console.command.Exit
The name of this command, that can be typed into the console.
COMMAND_NAME - Static variable in class de.uniba.wiai.lspi.chord.console.command.Help
The name of this Command.
COMMAND_NAME - Static variable in class de.uniba.wiai.lspi.chord.console.command.Insert
Name of this command.
COMMAND_NAME - Static variable in class de.uniba.wiai.lspi.chord.console.command.InsertNetwork
The name of this Command.
COMMAND_NAME - Static variable in class de.uniba.wiai.lspi.chord.console.command.JoinNetwork
The name of this Command.
COMMAND_NAME - Static variable in class de.uniba.wiai.lspi.chord.console.command.LeaveNetwork
The name of this Command.
COMMAND_NAME - Static variable in class de.uniba.wiai.lspi.chord.console.command.Remove
The name of this command.
COMMAND_NAME - Static variable in class de.uniba.wiai.lspi.chord.console.command.RemoveNetwork
The name of this Command.
COMMAND_NAME - Static variable in class de.uniba.wiai.lspi.chord.console.command.Retrieve
The name of this Command.
COMMAND_NAME - Static variable in class de.uniba.wiai.lspi.chord.console.command.RetrieveNetwork
The name of this Command.
COMMAND_NAME - Static variable in class de.uniba.wiai.lspi.chord.console.command.ShowEntries
The name of this command.
COMMAND_NAME - Static variable in class de.uniba.wiai.lspi.chord.console.command.ShowEntriesNetwork
The name of this command.
COMMAND_NAME - Static variable in class de.uniba.wiai.lspi.chord.console.command.ShowFingerTable
The name of this Command.
COMMAND_NAME - Static variable in class de.uniba.wiai.lspi.chord.console.command.ShowFingerTableNetwork
The name of this Command.
COMMAND_NAME - Static variable in class de.uniba.wiai.lspi.chord.console.command.ShowNodes
Name of this commmand.
COMMAND_NAME - Static variable in class de.uniba.wiai.lspi.chord.console.command.ShowSuccessorList
Name of this Command.
COMMAND_NAME - Static variable in class de.uniba.wiai.lspi.chord.console.command.ShutdownNodes
Name of this Command.
COMMAND_NAME - Static variable in class de.uniba.wiai.lspi.chord.console.command.Wait
The name of this Command.
COMMAND_NAME - Static variable in class de.uniba.wiai.lspi.util.console.ExecuteMacro
The name of this command.
COMMAND_NAME - Static variable in class de.uniba.wiai.lspi.util.console.ShowOutputCommand
 
CommandFactory - Class in de.uniba.wiai.lspi.util.console
Factory responsible to create instances of Command given the commands name.
CommandFactory(Object[], PrintStream, Map<String, String>) - Constructor for class de.uniba.wiai.lspi.util.console.CommandFactory
Creates a new instance of CommandFactory.
commandMapping - Variable in class de.uniba.wiai.lspi.util.console.CommandFactory
The mapping from command name to command class name.
CommandParser - Class in de.uniba.wiai.lspi.util.console.parser
 
CommandParser(InputStream) - Constructor for class de.uniba.wiai.lspi.util.console.parser.CommandParser
 
CommandParser(Reader) - Constructor for class de.uniba.wiai.lspi.util.console.parser.CommandParser
 
CommandParser(CommandParserTokenManager) - Constructor for class de.uniba.wiai.lspi.util.console.parser.CommandParser
 
CommandParserConstants - Interface in de.uniba.wiai.lspi.util.console.parser
 
CommandParserTokenManager - Class in de.uniba.wiai.lspi.util.console.parser
 
CommandParserTokenManager(SimpleCharStream) - Constructor for class de.uniba.wiai.lspi.util.console.parser.CommandParserTokenManager
 
CommandParserTokenManager(SimpleCharStream, int) - Constructor for class de.uniba.wiai.lspi.util.console.parser.CommandParserTokenManager
 
CommunicationException - Exception in de.uniba.wiai.lspi.chord.com
 
CommunicationException() - Constructor for exception de.uniba.wiai.lspi.chord.com.CommunicationException
 
CommunicationException(String) - Constructor for exception de.uniba.wiai.lspi.chord.com.CommunicationException
 
CommunicationException(Throwable) - Constructor for exception de.uniba.wiai.lspi.chord.com.CommunicationException
 
CommunicationException(String, Throwable) - Constructor for exception de.uniba.wiai.lspi.chord.com.CommunicationException
 
compareTo(ID) - Method in class de.uniba.wiai.lspi.chord.data.ID
Compare current ID with the given object.
ConsoleException - Exception in de.uniba.wiai.lspi.util.console
 
ConsoleException(String) - Constructor for exception de.uniba.wiai.lspi.util.console.ConsoleException
Creates a new instance of ConsoleException
ConsoleException(String, Throwable) - Constructor for exception de.uniba.wiai.lspi.util.console.ConsoleException
 
consoleName - Variable in class de.uniba.wiai.lspi.util.console.ConsoleThread
The name of this console.
ConsoleThread - Class in de.uniba.wiai.lspi.util.console
 
ConsoleThread(String, CommandFactory) - Constructor for class de.uniba.wiai.lspi.util.console.ConsoleThread
Creates a new instance of ConsoleThread
ConsoleThread(String, CommandFactory, OutputStream) - Constructor for class de.uniba.wiai.lspi.util.console.ConsoleThread
Creates a new instance of ConsoleThread.
COUNT_PARAM - Static variable in class de.uniba.wiai.lspi.chord.console.command.ShowNodes
 
crash() - Method in class de.uniba.wiai.lspi.chord.com.local.ThreadEndpoint
Method to emulate a crash of the node that this is the endpoint for.
CrashNodes - Class in de.uniba.wiai.lspi.chord.console.command
This command can be used to crash a number of nodes in the local chord network.
CrashNodes(Object[], PrintStream) - Constructor for class de.uniba.wiai.lspi.chord.console.command.CrashNodes
Creates a new instance of CrashNodes
create(URL, URL) - Static method in class de.uniba.wiai.lspi.chord.com.rmi.RMIProxy
 
create(URL, URL) - Static method in class de.uniba.wiai.lspi.chord.com.socket.SocketProxy
Establishes a connection from urlOfLocalNode to url.
create(URL, URL, ID) - Static method in class de.uniba.wiai.lspi.chord.com.socket.SocketProxy
Creates a SocketProxy representing the connection from urlOfLocalNode to url.
create() - Method in interface de.uniba.wiai.lspi.chord.service.AsynChord
Creates a new chord network which is not connected to any other node.
create(URL) - Method in interface de.uniba.wiai.lspi.chord.service.AsynChord
Creates a new chord network which is not connected to any other node.
create(URL, ID) - Method in interface de.uniba.wiai.lspi.chord.service.AsynChord
Creates a new chord network which is not connected to any other node.
create() - Method in interface de.uniba.wiai.lspi.chord.service.Chord
Creates a new chord network which is not connected to any other node.
create(URL) - Method in interface de.uniba.wiai.lspi.chord.service.Chord
Creates a new chord network which is not connected to any other node.
create(URL, ID) - Method in interface de.uniba.wiai.lspi.chord.service.Chord
Creates a new chord network which is not connected to any other node.
create() - Method in class de.uniba.wiai.lspi.chord.service.impl.ChordImpl
 
create(URL) - Method in class de.uniba.wiai.lspi.chord.service.impl.ChordImpl
 
create(URL, ID) - Method in class de.uniba.wiai.lspi.chord.service.impl.ChordImpl
 
createCommand(String) - Method in class de.uniba.wiai.lspi.util.console.CommandFactory
Creates the Command instance corresponding to the given command name.
createConnection(URL, URL) - Static method in class de.uniba.wiai.lspi.chord.com.Proxy
Factory method to create a proxy to connect to the given URL.
createEndpoint(Node, URL) - Static method in class de.uniba.wiai.lspi.chord.com.Endpoint
Create the endpoints for the protocol given by url.
CreateNodes - Class in de.uniba.wiai.lspi.chord.console.command
Command to create a number of nodes.
CreateNodes(Object[], PrintStream) - Constructor for class de.uniba.wiai.lspi.chord.console.command.CreateNodes
Creates a new instance of CreateNodes
creatorURL - Variable in class de.uniba.wiai.lspi.chord.com.local.ThreadProxy
The URLof the node that created this proxy.
curChar - Variable in class de.uniba.wiai.lspi.util.console.parser.CommandParserTokenManager
 
currentToken - Variable in exception de.uniba.wiai.lspi.util.console.parser.ParseException
This is the last token that has been consumed successfully.

D

de.uniba.wiai.lspi.chord.com - package de.uniba.wiai.lspi.chord.com
Provides classes and interfaces for communication tasks on behalf of the service layer, but without depending on the service layer.
de.uniba.wiai.lspi.chord.com.local - package de.uniba.wiai.lspi.chord.com.local
Implements the communication tasks for multiple Chord nodes running in one JVM and communicating locally.
de.uniba.wiai.lspi.chord.com.rmi - package de.uniba.wiai.lspi.chord.com.rmi
Implements communication via RMI for peers in an Open Chord network.
de.uniba.wiai.lspi.chord.com.socket - package de.uniba.wiai.lspi.chord.com.socket
Implements the communication tasks by (insecure) Socket communication.
de.uniba.wiai.lspi.chord.console - package de.uniba.wiai.lspi.chord.console
Contains the test console for working with a raw Chord ring.
de.uniba.wiai.lspi.chord.console.command - package de.uniba.wiai.lspi.chord.console.command
Contains commands which can be fired by the test console only.
de.uniba.wiai.lspi.chord.console.command.entry - package de.uniba.wiai.lspi.chord.console.command.entry
Implements data structures for working with entries in the test console.
de.uniba.wiai.lspi.chord.data - package de.uniba.wiai.lspi.chord.data
Contains data structures which are used by the service and com packages similarly.
de.uniba.wiai.lspi.chord.service - package de.uniba.wiai.lspi.chord.service
Provides the API for applications using the Chord implementation.
de.uniba.wiai.lspi.chord.service.impl - package de.uniba.wiai.lspi.chord.service.impl
Implements the Chord protocol.
de.uniba.wiai.lspi.util.console - package de.uniba.wiai.lspi.util.console
Contains utility classes for building a test console.
de.uniba.wiai.lspi.util.console.parser - package de.uniba.wiai.lspi.util.console.parser
Contains the parser of the test console.
de.uniba.wiai.lspi.util.logging - package de.uniba.wiai.lspi.util.logging
Wraps different logging APIs by providing a unified logging API.
debug(Object) - Method in class de.uniba.wiai.lspi.util.logging.DummyLogger
 
debug(Object, Throwable) - Method in class de.uniba.wiai.lspi.util.logging.DummyLogger
 
debug(Object) - Method in class de.uniba.wiai.lspi.util.logging.Log4jLogger
 
debug(Object, Throwable) - Method in class de.uniba.wiai.lspi.util.logging.Log4jLogger
 
debug(Object) - Method in class de.uniba.wiai.lspi.util.logging.Logger
 
debug(Object, Throwable) - Method in class de.uniba.wiai.lspi.util.logging.Logger
 
debug(Object) - Method in class de.uniba.wiai.lspi.util.logging.SystemOutPrintlnLogger
Log a message object with the DEBUG level.
debug(Object, Throwable) - Method in class de.uniba.wiai.lspi.util.logging.SystemOutPrintlnLogger
Log a message object with the DEBUG level including the stack trace of the Throwable t passed as parameter.
debugStream - Variable in class de.uniba.wiai.lspi.util.console.parser.CommandParserTokenManager
 
DEFAULT - Static variable in interface de.uniba.wiai.lspi.util.console.parser.CommandParserConstants
 
deregister(EndpointStateListener) - Method in class de.uniba.wiai.lspi.chord.com.Endpoint
Remove a listener that listened for state changes of this endpoint.
disable_tracing() - Method in class de.uniba.wiai.lspi.util.console.parser.CommandParser
 
disconnect() - Method in class de.uniba.wiai.lspi.chord.com.Endpoint
Tell this endpoint to disconnect and close all connections.
disconnect() - Method in class de.uniba.wiai.lspi.chord.com.local.ThreadProxy
 
disconnect() - Method in class de.uniba.wiai.lspi.chord.com.Node
Closes the connection to the node.
disconnect() - Method in class de.uniba.wiai.lspi.chord.com.rmi.RMIProxy
 
disconnect() - Method in class de.uniba.wiai.lspi.chord.com.socket.SocketProxy
Tells this proxy that it is not needed anymore.
disconnect() - Method in class de.uniba.wiai.lspi.chord.service.impl.NodeImpl
Closes the connection to the node.
DISCONNECTED - Static variable in class de.uniba.wiai.lspi.chord.com.Endpoint
Integer representation of state.
Done() - Method in class de.uniba.wiai.lspi.util.console.parser.SimpleCharStream
 
DummyLogger - Class in de.uniba.wiai.lspi.util.logging
This is a dummy logger that does no logging.
DummyOutputStream - Class in de.uniba.wiai.lspi.util.console
Dummy output stream that writes nothing.
DummyOutputStream() - Constructor for class de.uniba.wiai.lspi.util.console.DummyOutputStream
Creates a new instance of DummyOutputStream

E

enable_tracing() - Method in class de.uniba.wiai.lspi.util.console.parser.CommandParser
 
endColumn - Variable in class de.uniba.wiai.lspi.util.console.parser.Token
beginLine and beginColumn describe the position of the first character of this token; endLine and endColumn describe the position of the last character of this token.
endLine - Variable in class de.uniba.wiai.lspi.util.console.parser.Token
beginLine and beginColumn describe the position of the first character of this token; endLine and endColumn describe the position of the last character of this token.
Endpoint - Class in de.uniba.wiai.lspi.chord.com
This class represents an endpoint, which wraps a Node, so that other nodes can connect to the node using a protocol.
Endpoint(Node, URL) - Constructor for class de.uniba.wiai.lspi.chord.com.Endpoint
 
endpoints - Static variable in class de.uniba.wiai.lspi.chord.com.Endpoint
Map containing all endpoints.
EndpointStateListener - Interface in de.uniba.wiai.lspi.chord.com
This interface must be implemented by classes that want to be notified about state changes of an Endpoint.
entriesAcceptable() - Method in class de.uniba.wiai.lspi.chord.com.Endpoint
This method has to be overwritten by subclasses.
entriesAcceptable() - Method in class de.uniba.wiai.lspi.chord.com.local.ThreadEndpoint
 
entriesAcceptable() - Method in class de.uniba.wiai.lspi.chord.com.rmi.RMIEndpoint
 
entriesAcceptable() - Method in class de.uniba.wiai.lspi.chord.com.socket.SocketEndpoint
 
Entry - Class in de.uniba.wiai.lspi.chord.com
 
Entry(ID, Serializable) - Constructor for class de.uniba.wiai.lspi.chord.com.Entry
 
EOF - Static variable in interface de.uniba.wiai.lspi.util.console.parser.CommandParserConstants
 
eol - Variable in exception de.uniba.wiai.lspi.util.console.parser.ParseException
The end of line string for this machine.
equals(Object) - Method in class de.uniba.wiai.lspi.chord.com.Entry
 
equals(Object) - Method in class de.uniba.wiai.lspi.chord.com.local.ThreadEndpoint
Overwritten from Object.
equals(Object) - Method in class de.uniba.wiai.lspi.chord.com.Node
 
equals(Object) - Method in class de.uniba.wiai.lspi.chord.console.command.entry.Key
 
equals(Object) - Method in class de.uniba.wiai.lspi.chord.console.command.entry.Value
 
equals(Object) - Method in class de.uniba.wiai.lspi.chord.data.ID
Checks the given object for equality with this ID.
equals(Object) - Method in class de.uniba.wiai.lspi.chord.data.URL
Overwritten from Object.
error(Object) - Method in class de.uniba.wiai.lspi.util.logging.DummyLogger
 
error(Object, Throwable) - Method in class de.uniba.wiai.lspi.util.logging.DummyLogger
 
error(Object) - Method in class de.uniba.wiai.lspi.util.logging.Log4jLogger
 
error(Object, Throwable) - Method in class de.uniba.wiai.lspi.util.logging.Log4jLogger
 
error(Object) - Method in class de.uniba.wiai.lspi.util.logging.Logger
 
error(Object, Throwable) - Method in class de.uniba.wiai.lspi.util.logging.Logger
 
error(Object) - Method in class de.uniba.wiai.lspi.util.logging.SystemOutPrintlnLogger
Log a message object with the ERROR level.
error(Object, Throwable) - Method in class de.uniba.wiai.lspi.util.logging.SystemOutPrintlnLogger
Log a message object with the ERROR level including the stack trace of the Throwable t passed as parameter.
exec() - Method in class de.uniba.wiai.lspi.chord.console.command.ChangeProtocol
 
exec() - Method in class de.uniba.wiai.lspi.chord.console.command.CrashNodes
 
exec() - Method in class de.uniba.wiai.lspi.chord.console.command.CreateNodes
 
exec() - Method in class de.uniba.wiai.lspi.chord.console.command.Exit
 
exec() - Method in class de.uniba.wiai.lspi.chord.console.command.Help
 
exec() - Method in class de.uniba.wiai.lspi.chord.console.command.Insert
 
exec() - Method in class de.uniba.wiai.lspi.chord.console.command.InsertNetwork
 
exec() - Method in class de.uniba.wiai.lspi.chord.console.command.JoinNetwork
 
exec() - Method in class de.uniba.wiai.lspi.chord.console.command.LeaveNetwork
 
exec() - Method in class de.uniba.wiai.lspi.chord.console.command.Remove
 
exec() - Method in class de.uniba.wiai.lspi.chord.console.command.RemoveNetwork
 
exec() - Method in class de.uniba.wiai.lspi.chord.console.command.Retrieve
 
exec() - Method in class de.uniba.wiai.lspi.chord.console.command.RetrieveNetwork
 
exec() - Method in class de.uniba.wiai.lspi.chord.console.command.ShowEntries
 
exec() - Method in class de.uniba.wiai.lspi.chord.console.command.ShowEntriesNetwork
 
exec() - Method in class de.uniba.wiai.lspi.chord.console.command.ShowFingerTable
 
exec() - Method in class de.uniba.wiai.lspi.chord.console.command.ShowFingerTableNetwork
 
exec() - Method in class de.uniba.wiai.lspi.chord.console.command.ShowNodes
 
exec() - Method in class de.uniba.wiai.lspi.chord.console.command.ShowSuccessorList
 
exec() - Method in class de.uniba.wiai.lspi.chord.console.command.ShutdownNodes
 
exec() - Method in class de.uniba.wiai.lspi.chord.console.command.Wait
 
exec() - Method in class de.uniba.wiai.lspi.util.console.Command
To be overwritten by subclasses for command execution.
exec() - Method in class de.uniba.wiai.lspi.util.console.ExecuteMacro
 
exec() - Method in class de.uniba.wiai.lspi.util.console.ShowOutputCommand
 
execute() - Method in class de.uniba.wiai.lspi.util.console.Command
Executes the command.
ExecuteMacro - Class in de.uniba.wiai.lspi.util.console
This is an implementation of Command that allows the execution of commands stored in a .txt file.
ExecuteMacro(Object[], PrintStream) - Constructor for class de.uniba.wiai.lspi.util.console.ExecuteMacro
Creates a new instance of ExecuteMacro
Exit - Class in de.uniba.wiai.lspi.chord.console.command
The command to close the console.
Exit(Object[], PrintStream) - Constructor for class de.uniba.wiai.lspi.chord.console.command.Exit
Creates a new instance of Exit
exitCommand - Variable in class de.uniba.wiai.lspi.util.console.ConsoleThread
The Command that exits the console.
ExpandBuff(boolean) - Method in class de.uniba.wiai.lspi.util.console.parser.SimpleCharStream
 
expectedTokenSequences - Variable in exception de.uniba.wiai.lspi.util.console.parser.ParseException
Each entry in this array is an array of integers.

F

factory - Variable in class de.uniba.wiai.lspi.util.console.ConsoleThread
The factory responsible for Creation of commands.
fatal(Object) - Method in class de.uniba.wiai.lspi.util.logging.DummyLogger
 
fatal(Object, Throwable) - Method in class de.uniba.wiai.lspi.util.logging.DummyLogger
 
fatal(Object) - Method in class de.uniba.wiai.lspi.util.logging.Log4jLogger
 
fatal(Object, Throwable) - Method in class de.uniba.wiai.lspi.util.logging.Log4jLogger
 
fatal(Object) - Method in class de.uniba.wiai.lspi.util.logging.Logger
 
fatal(Object, Throwable) - Method in class de.uniba.wiai.lspi.util.logging.Logger
 
fatal(Object) - Method in class de.uniba.wiai.lspi.util.logging.SystemOutPrintlnLogger
Log a message object with the FATAL level.
fatal(Object, Throwable) - Method in class de.uniba.wiai.lspi.util.logging.SystemOutPrintlnLogger
Log a message object with the FATAL level including the stack trace of the Throwable t passed as parameter.
fetchChordImplOfNode(Node) - Static method in class de.uniba.wiai.lspi.chord.com.local.ChordImplAccess
 
FILE_PARAM - Static variable in class de.uniba.wiai.lspi.util.console.ExecuteMacro
The name of the parameter for the file name.
FillBuff() - Method in class de.uniba.wiai.lspi.util.console.parser.SimpleCharStream
 
finalize() - Method in class de.uniba.wiai.lspi.chord.com.socket.SocketProxy
Finalization ensures that the socket is closed if this proxy is not needed anymore.
FIND_SUCCESSOR - Static variable in interface de.uniba.wiai.lspi.chord.com.local.InvocationListener
 
findSuccessor(ID) - Method in class de.uniba.wiai.lspi.chord.com.local.ThreadEndpoint
 
findSuccessor(ID) - Method in class de.uniba.wiai.lspi.chord.com.local.ThreadProxy
 
findSuccessor(ID) - Method in class de.uniba.wiai.lspi.chord.com.Node
Returns the Chord node which is responsible for the given key.
findSuccessor(ID) - Method in interface de.uniba.wiai.lspi.chord.com.rmi.RemoteNode
 
findSuccessor(ID) - Method in class de.uniba.wiai.lspi.chord.com.rmi.RMIEndpoint
 
findSuccessor(ID) - Method in class de.uniba.wiai.lspi.chord.com.rmi.RMIProxy
 
findSuccessor(ID) - Method in class de.uniba.wiai.lspi.chord.com.socket.SocketProxy
 
findSuccessor(ID) - Method in class de.uniba.wiai.lspi.chord.service.impl.NodeImpl
Returns the Chord node which is responsible for the given key.

G

generateParseException() - Method in class de.uniba.wiai.lspi.util.console.parser.CommandParser
 
getBeginColumn() - Method in class de.uniba.wiai.lspi.util.console.parser.SimpleCharStream
 
getBeginLine() - Method in class de.uniba.wiai.lspi.util.console.parser.SimpleCharStream
 
getBytes() - Method in class de.uniba.wiai.lspi.chord.console.command.entry.Key
Returns the byte for this key which is then used to calculate a unique ID for storage in the chord network.
getBytes() - Method in interface de.uniba.wiai.lspi.chord.service.Key
Returns the byte for this key which is then used to calculate a unique ID for storage in the chord network.
getColumn() - Method in class de.uniba.wiai.lspi.util.console.parser.SimpleCharStream
Deprecated.  
getCommandFactory() - Method in class de.uniba.wiai.lspi.util.console.ConsoleThread
Get a reference to the CommandFactory used by this console.
getCommandName() - Method in class de.uniba.wiai.lspi.chord.console.command.ChangeProtocol
 
getCommandName() - Method in class de.uniba.wiai.lspi.chord.console.command.CrashNodes
 
getCommandName() - Method in class de.uniba.wiai.lspi.chord.console.command.CreateNodes
 
getCommandName() - Method in class de.uniba.wiai.lspi.chord.console.command.Exit
 
getCommandName() - Method in class de.uniba.wiai.lspi.chord.console.command.Help
 
getCommandName() - Method in class de.uniba.wiai.lspi.chord.console.command.Insert
 
getCommandName() - Method in class de.uniba.wiai.lspi.chord.console.command.InsertNetwork
 
getCommandName() - Method in class de.uniba.wiai.lspi.chord.console.command.JoinNetwork
 
getCommandName() - Method in class de.uniba.wiai.lspi.chord.console.command.LeaveNetwork
 
getCommandName() - Method in class de.uniba.wiai.lspi.chord.console.command.Remove
 
getCommandName() - Method in class de.uniba.wiai.lspi.chord.console.command.RemoveNetwork
 
getCommandName() - Method in class de.uniba.wiai.lspi.chord.console.command.Retrieve
 
getCommandName() - Method in class de.uniba.wiai.lspi.chord.console.command.RetrieveNetwork
 
getCommandName() - Method in class de.uniba.wiai.lspi.chord.console.command.ShowEntries
 
getCommandName() - Method in class de.uniba.wiai.lspi.chord.console.command.ShowEntriesNetwork
 
getCommandName() - Method in class de.uniba.wiai.lspi.chord.console.command.ShowFingerTable
 
getCommandName() - Method in class de.uniba.wiai.lspi.chord.console.command.ShowFingerTableNetwork
 
getCommandName() - Method in class de.uniba.wiai.lspi.chord.console.command.ShowNodes
 
getCommandName() - Method in class de.uniba.wiai.lspi.chord.console.command.ShowSuccessorList
 
getCommandName() - Method in class de.uniba.wiai.lspi.chord.console.command.ShutdownNodes
 
getCommandName() - Method in class de.uniba.wiai.lspi.chord.console.command.Wait
 
getCommandName() - Method in class de.uniba.wiai.lspi.util.console.Command
Return the name of the command.
getCommandName() - Method in class de.uniba.wiai.lspi.util.console.ExecuteMacro
 
getCommandName() - Method in class de.uniba.wiai.lspi.util.console.ShowOutputCommand
 
getConsole() - Static method in class de.uniba.wiai.lspi.util.console.ConsoleThread
Method to obtain a reference to the console currently active in this JVM.
getConsole(String, CommandFactory) - Static method in class de.uniba.wiai.lspi.util.console.ConsoleThread
Factory method to get a reference to the console singleton.
getConsole(String, CommandFactory, OutputStream) - Static method in class de.uniba.wiai.lspi.util.console.ConsoleThread
Factory method to create a console.
getEndColumn() - Method in class de.uniba.wiai.lspi.util.console.parser.SimpleCharStream
 
getEndLine() - Method in class de.uniba.wiai.lspi.util.console.parser.SimpleCharStream
 
getEndpoint(URL) - Static method in class de.uniba.wiai.lspi.chord.com.Endpoint
Get the Endpoint for the given url.
getEndpoint() - Method in class de.uniba.wiai.lspi.chord.com.local.ThreadProxy
Get a reference to the endpoint this proxy delegates methods to.
getEntries() - Method in class de.uniba.wiai.lspi.chord.com.RefsAndEntries
 
getHost() - Method in class de.uniba.wiai.lspi.chord.data.URL
Get the host name contained in this URL.
getId() - Method in class de.uniba.wiai.lspi.chord.com.Entry
 
getID() - Method in interface de.uniba.wiai.lspi.chord.service.AsynChord
Returns the ID of the local node; is null if no network has been created or joined.
getID() - Method in interface de.uniba.wiai.lspi.chord.service.Chord
Returns the ID of the local node; is null if no network has been created or joined.
getID() - Method in class de.uniba.wiai.lspi.chord.service.impl.ChordImpl
 
GetImage() - Method in class de.uniba.wiai.lspi.util.console.parser.SimpleCharStream
 
getLength() - Method in class de.uniba.wiai.lspi.chord.data.ID
Returns length of this ID measured in bits.
getLine() - Method in class de.uniba.wiai.lspi.util.console.parser.SimpleCharStream
Deprecated.  
getLogger(Class) - Static method in class de.uniba.wiai.lspi.util.logging.Logger
 
getLogger(String) - Static method in class de.uniba.wiai.lspi.util.logging.Logger
 
getMessage() - Method in exception de.uniba.wiai.lspi.util.console.parser.ParseException
This method has the standard behavior when this object has been created using the standard constructors.
getMessage() - Method in error de.uniba.wiai.lspi.util.console.parser.TokenMgrError
You can also modify the body of this method to customize your error messages.
getNextToken() - Method in class de.uniba.wiai.lspi.util.console.parser.CommandParser
 
getNextToken() - Method in class de.uniba.wiai.lspi.util.console.parser.CommandParserTokenManager
 
getNode() - Method in class de.uniba.wiai.lspi.chord.com.Endpoint
 
getNodeID() - Method in class de.uniba.wiai.lspi.chord.com.local.ThreadEndpoint
 
getNodeID() - Method in class de.uniba.wiai.lspi.chord.com.Node
Returns the ID of a node.
getNodeID() - Method in interface de.uniba.wiai.lspi.chord.com.rmi.RemoteNode
 
getNodeID() - Method in class de.uniba.wiai.lspi.chord.com.rmi.RMIEndpoint
 
getNodeURL() - Method in class de.uniba.wiai.lspi.chord.com.Node
 
getOutput() - Method in class de.uniba.wiai.lspi.util.console.MemoryOutputStream
Get the content of the internal buffer.
getPath() - Method in class de.uniba.wiai.lspi.chord.data.URL
Get the path contained in this URL.
getPort() - Method in class de.uniba.wiai.lspi.chord.data.URL
Get the port contained in this URL.
getPrintStream() - Method in class de.uniba.wiai.lspi.util.console.CommandFactory
Get the PrintStream, to that all Commands created by this factory, print their output to.
getPrintStream() - Method in class de.uniba.wiai.lspi.util.console.ConsoleThread
Get a reference to the PrintStream this console prints its output to.
getProtocol() - Method in class de.uniba.wiai.lspi.chord.data.URL
Get the protocol of this URL.
getProxiesInUseBy(URL) - Method in class de.uniba.wiai.lspi.chord.com.local.Registry
Get a reference to the Listof proxies used by the node with nodeName.
getRefs() - Method in class de.uniba.wiai.lspi.chord.com.RefsAndEntries
Returns references to the nodes contained within this instance.
getRegistryInstance() - Static method in class de.uniba.wiai.lspi.chord.com.local.Registry
Get a reference to the registry singleton.
getResult() - Method in interface de.uniba.wiai.lspi.chord.service.ChordRetrievalFuture
Method to obtain the result of the retrieve operation associated with this.
getState() - Method in class de.uniba.wiai.lspi.chord.com.Endpoint
 
GetSuffix(int) - Method in class de.uniba.wiai.lspi.util.console.parser.SimpleCharStream
 
getSystemOutputStream() - Method in class de.uniba.wiai.lspi.util.console.ConsoleThread
Get a reference to the OutputStream calls to System.out are delegated to.
getThrowable() - Method in interface de.uniba.wiai.lspi.chord.service.ChordFuture
 
getToken(int) - Method in class de.uniba.wiai.lspi.util.console.parser.CommandParser
 
getUniqueInstance() - Static method in class de.uniba.wiai.lspi.chord.console.command.RemoteChordNetworkAccess
Provides unique instance of RemoteChordNetworkAccess.
getURL() - Method in class de.uniba.wiai.lspi.chord.com.Endpoint
Get the URLof this endpoint.
getURL() - Method in interface de.uniba.wiai.lspi.chord.service.AsynChord
Returns the URL of the local node; is null if no network has been created or joined.
getURL() - Method in interface de.uniba.wiai.lspi.chord.service.Chord
Returns the URL of the local node; is null if no network has been created or joined.
getURL() - Method in class de.uniba.wiai.lspi.chord.service.impl.ChordImpl
 
getValue() - Method in class de.uniba.wiai.lspi.chord.com.Entry
 

H

hasBeenUsed - Variable in class de.uniba.wiai.lspi.chord.com.local.ThreadProxy
Indicates if this proxy has been used to make a invocation.
hashCode() - Method in class de.uniba.wiai.lspi.chord.com.Entry
 
hashCode() - Method in class de.uniba.wiai.lspi.chord.com.local.ThreadEndpoint
Overwritten from Object.
hashCode() - Method in class de.uniba.wiai.lspi.chord.com.Node
 
hashCode() - Method in class de.uniba.wiai.lspi.chord.console.command.entry.Key
 
hashCode() - Method in class de.uniba.wiai.lspi.chord.console.command.entry.Value
 
hashCode() - Method in class de.uniba.wiai.lspi.chord.data.ID
 
hashCode() - Method in class de.uniba.wiai.lspi.chord.data.URL
Overwritten from Object.
Help - Class in de.uniba.wiai.lspi.chord.console.command
This command prints a list of available commands.
Help(Object[], PrintStream) - Constructor for class de.uniba.wiai.lspi.chord.console.command.Help
Creates a new instance of Help
HELP_ARG1 - Variable in class de.uniba.wiai.lspi.util.console.Command
Standard argument for displaying help of this command.
HELP_ARG2 - Variable in class de.uniba.wiai.lspi.util.console.Command
Alternative standard argument for displaying help of this command.

I

ID - Class in de.uniba.wiai.lspi.chord.data
Identifier for nodes and user-defined objects.
ID(byte[]) - Constructor for class de.uniba.wiai.lspi.chord.data.ID
Creates a new ID consisting of the given byte[] array.
image - Variable in class de.uniba.wiai.lspi.util.console.parser.Token
The string image of the token.
inBuf - Variable in class de.uniba.wiai.lspi.util.console.parser.SimpleCharStream
 
info(Object) - Method in class de.uniba.wiai.lspi.util.logging.DummyLogger
 
info(Object, Throwable) - Method in class de.uniba.wiai.lspi.util.logging.DummyLogger
 
info(Object) - Method in class de.uniba.wiai.lspi.util.logging.Log4jLogger
 
info(Object, Throwable) - Method in class de.uniba.wiai.lspi.util.logging.Log4jLogger
 
info(Object) - Method in class de.uniba.wiai.lspi.util.logging.Logger
 
info(Object, Throwable) - Method in class de.uniba.wiai.lspi.util.logging.Logger
 
info(Object) - Method in class de.uniba.wiai.lspi.util.logging.SystemOutPrintlnLogger
Log a message object with the INFO level.
info(Object, Throwable) - Method in class de.uniba.wiai.lspi.util.logging.SystemOutPrintlnLogger
Log a message object with the INFO level including the stack trace of the Throwable t passed as parameter.
input_stream - Variable in class de.uniba.wiai.lspi.util.console.parser.CommandParserTokenManager
 
inputStream - Variable in class de.uniba.wiai.lspi.util.console.parser.SimpleCharStream
 
Insert - Class in de.uniba.wiai.lspi.chord.console.command
Command to insert a value from a specified node into the local chord network.
Insert(Object[], PrintStream) - Constructor for class de.uniba.wiai.lspi.chord.console.command.Insert
Creates a new instance of Insert
insert(Key, Serializable, ChordCallback) - Method in interface de.uniba.wiai.lspi.chord.service.AsynChord
Asynchronous method to insert entry under the provided key.
insert(Key, Serializable) - Method in interface de.uniba.wiai.lspi.chord.service.Chord
Inserts a new data object into the network stored under the given key.
insert(Key, Serializable) - Method in class de.uniba.wiai.lspi.chord.service.impl.ChordImpl
 
insert(Key, Serializable, ChordCallback) - Method in class de.uniba.wiai.lspi.chord.service.impl.ChordImpl
 
INSERT_ENTRY - Static variable in interface de.uniba.wiai.lspi.chord.com.local.InvocationListener
 
INSERT_REPLICAS - Static variable in interface de.uniba.wiai.lspi.chord.com.local.InvocationListener
 
insertAsync(Key, Serializable) - Method in interface de.uniba.wiai.lspi.chord.service.AsynChord
Asynchronous method to insert entry with key.
insertAsync(Key, Serializable) - Method in class de.uniba.wiai.lspi.chord.service.impl.ChordImpl
 
inserted(Key, Serializable, Throwable) - Method in interface de.uniba.wiai.lspi.chord.service.ChordCallback
This method is called, when a call to AsynChord.insert(Key, Serializable, ChordCallback) has been finished.
insertEntry(Entry) - Method in class de.uniba.wiai.lspi.chord.com.local.ThreadEndpoint
 
insertEntry(Entry) - Method in class de.uniba.wiai.lspi.chord.com.local.ThreadProxy
 
insertEntry(Entry) - Method in class de.uniba.wiai.lspi.chord.com.Node
Stores the given object under the given ID.
insertEntry(Entry) - Method in interface de.uniba.wiai.lspi.chord.com.rmi.RemoteNode
 
insertEntry(Entry) - Method in class de.uniba.wiai.lspi.chord.com.rmi.RMIEndpoint
 
insertEntry(Entry) - Method in class de.uniba.wiai.lspi.chord.com.rmi.RMIProxy
 
insertEntry(Entry) - Method in class de.uniba.wiai.lspi.chord.com.socket.SocketProxy
 
insertEntry(Entry) - Method in class de.uniba.wiai.lspi.chord.service.impl.NodeImpl
Stores the given object under the given ID.
InsertNetwork - Class in de.uniba.wiai.lspi.chord.console.command
This command can be used to insert a value into the remote chord network.
InsertNetwork(Object[], PrintStream) - Constructor for class de.uniba.wiai.lspi.chord.console.command.InsertNetwork
Creates a new instance of Insert
insertReplicas(Set<Entry>) - Method in class de.uniba.wiai.lspi.chord.com.local.ThreadEndpoint
 
insertReplicas(Set<Entry>) - Method in class de.uniba.wiai.lspi.chord.com.local.ThreadProxy
 
insertReplicas(Set<Entry>) - Method in class de.uniba.wiai.lspi.chord.com.Node
Inserts replicates of the given entries.
insertReplicas(Set<Entry>) - Method in interface de.uniba.wiai.lspi.chord.com.rmi.RemoteNode
 
insertReplicas(Set<Entry>) - Method in class de.uniba.wiai.lspi.chord.com.rmi.RMIEndpoint
 
insertReplicas(Set<Entry>) - Method in class de.uniba.wiai.lspi.chord.com.rmi.RMIProxy
 
insertReplicas(Set<Entry>) - Method in class de.uniba.wiai.lspi.chord.com.socket.SocketProxy
 
insertReplicas(Set<Entry>) - Method in class de.uniba.wiai.lspi.chord.service.impl.NodeImpl
Inserts replicates of the given entries.
instanceMap - Variable in class de.uniba.wiai.lspi.util.console.CommandFactory
Map containing already instantiated commands.
invalidate() - Method in class de.uniba.wiai.lspi.chord.com.local.ThreadProxy
Invalidates this proxy.
InvocationListener - Interface in de.uniba.wiai.lspi.chord.com.local
This interface has to be implemented by classes that want to be notified about invocations made to a ThreadEndpoint.
invocationListeners - Variable in class de.uniba.wiai.lspi.chord.com.local.ThreadEndpoint
Listof listenersthat want to be notified if a method is invoked on this endpoint.
isDone() - Method in interface de.uniba.wiai.lspi.chord.service.ChordFuture
Method to test if the method associated with this has been finished.
isEnabledFor(Logger.LogLevel) - Method in class de.uniba.wiai.lspi.util.logging.DummyLogger
 
isEnabledFor(Logger.LogLevel) - Method in class de.uniba.wiai.lspi.util.logging.Log4jLogger
 
isEnabledFor(Logger.LogLevel) - Method in class de.uniba.wiai.lspi.util.logging.Logger
 
isEnabledFor(Logger.LogLevel) - Method in class de.uniba.wiai.lspi.util.logging.SystemOutPrintlnLogger
 
isInInterval(ID, ID) - Method in class de.uniba.wiai.lspi.chord.data.ID
Checks if this ID is in the interval determined by the two given IDs.
isValid - Variable in class de.uniba.wiai.lspi.chord.com.local.ThreadProxy
Indicates if this proxy can be used for communication;
isValid() - Method in class de.uniba.wiai.lspi.chord.com.local.ThreadProxy
Test if this Proxy is valid.

J

jj_nt - Variable in class de.uniba.wiai.lspi.util.console.parser.CommandParser
 
jjFillToken() - Method in class de.uniba.wiai.lspi.util.console.parser.CommandParserTokenManager
 
join(URL) - Method in interface de.uniba.wiai.lspi.chord.service.AsynChord
Joins an existing chord network and announces its presence to the other nodes.
join(URL, URL) - Method in interface de.uniba.wiai.lspi.chord.service.AsynChord
Joins an existing chord network and announces its presence to the other nodes.
join(URL, ID, URL) - Method in interface de.uniba.wiai.lspi.chord.service.AsynChord
Joins an existing chord network and announces its presence to the other nodes.
join(URL) - Method in interface de.uniba.wiai.lspi.chord.service.Chord
Joins an existing chord network and announces its presence to the other nodes.
join(URL, URL) - Method in interface de.uniba.wiai.lspi.chord.service.Chord
Joins an existing chord network and announces its presence to the other nodes.
join(URL, ID, URL) - Method in interface de.uniba.wiai.lspi.chord.service.Chord
Joins an existing chord network and announces its presence to the other nodes.
join(URL) - Method in class de.uniba.wiai.lspi.chord.service.impl.ChordImpl
 
join(URL, URL) - Method in class de.uniba.wiai.lspi.chord.service.impl.ChordImpl
 
join(URL, ID, URL) - Method in class de.uniba.wiai.lspi.chord.service.impl.ChordImpl
 
JoinNetwork - Class in de.uniba.wiai.lspi.chord.console.command
Command to join a remote chord network.
JoinNetwork(Object[], PrintStream) - Constructor for class de.uniba.wiai.lspi.chord.console.command.JoinNetwork
Creates a new instance of CreateNodes

K

Key - Class in de.uniba.wiai.lspi.chord.console.command.entry
Represents a key used within console to store a Value within a chord network.
Key(String) - Constructor for class de.uniba.wiai.lspi.chord.console.command.entry.Key
Creates a new instance of Key
Key - Interface in de.uniba.wiai.lspi.chord.service
Key under which an object is stored in the chord network.
KEY_PARAM - Static variable in class de.uniba.wiai.lspi.chord.console.command.Insert
The name of the parameter, that defines the key for the value to insert.
KEY_PARAM - Static variable in class de.uniba.wiai.lspi.chord.console.command.InsertNetwork
The name of the parameter, that defines the key of the value to insert.
KEY_PARAM - Static variable in class de.uniba.wiai.lspi.chord.console.command.Remove
The name of the parameter that defines the key of the value to remove.
KEY_PARAM - Static variable in class de.uniba.wiai.lspi.chord.console.command.RemoveNetwork
The name of the parameter that defines the key of the value to remove.
KEY_PARAM - Static variable in class de.uniba.wiai.lspi.chord.console.command.Retrieve
The name of the parameter, that defines the key of the value to be retrieved.
KEY_PARAM - Static variable in class de.uniba.wiai.lspi.chord.console.command.RetrieveNetwork
The name of the parameter, that defines the key to be retrieved.
kind - Variable in class de.uniba.wiai.lspi.util.console.parser.Token
An integer that describes the kind of this token.
KNOWN_PROTOCOLS - Static variable in class de.uniba.wiai.lspi.chord.data.URL
The names of the protocols known to this chord implementation.

L

leave() - Method in interface de.uniba.wiai.lspi.chord.service.AsynChord
Disconnects from the network.
leave() - Method in interface de.uniba.wiai.lspi.chord.service.Chord
Disconnects from the network.
leave() - Method in class de.uniba.wiai.lspi.chord.service.impl.ChordImpl
 
LeaveNetwork - Class in de.uniba.wiai.lspi.chord.console.command
Command to leave the remote chord network.
LeaveNetwork(Object[], PrintStream) - Constructor for class de.uniba.wiai.lspi.chord.console.command.LeaveNetwork
Creates a new instance of Exit
LEAVES_NETWORK - Static variable in interface de.uniba.wiai.lspi.chord.com.local.InvocationListener
 
leavesNetwork(Node) - Method in class de.uniba.wiai.lspi.chord.com.local.ThreadEndpoint
 
leavesNetwork(Node) - Method in class de.uniba.wiai.lspi.chord.com.local.ThreadProxy
 
leavesNetwork(Node) - Method in class de.uniba.wiai.lspi.chord.com.Node
Inform a node that its predecessor leaves the network.
leavesNetwork(RemoteNodeInfo) - Method in interface de.uniba.wiai.lspi.chord.com.rmi.RemoteNode
 
leavesNetwork(RemoteNodeInfo) - Method in class de.uniba.wiai.lspi.chord.com.rmi.RMIEndpoint
 
leavesNetwork(Node) - Method in class de.uniba.wiai.lspi.chord.com.rmi.RMIProxy
 
leavesNetwork(Node) - Method in class de.uniba.wiai.lspi.chord.com.socket.SocketProxy
 
leavesNetwork(Node) - Method in class de.uniba.wiai.lspi.chord.service.impl.NodeImpl
Inform a node that its predecessor leaves the network.
LETTER - Static variable in interface de.uniba.wiai.lspi.util.console.parser.CommandParserConstants
 
LexicalError(boolean, int, int, int, String, char) - Static method in error de.uniba.wiai.lspi.util.console.parser.TokenMgrError
Returns a detailed message for the Error when it is thrown by the token manager to indicate a lexical error.
line - Variable in class de.uniba.wiai.lspi.util.console.parser.SimpleCharStream
 
listen() - Method in class de.uniba.wiai.lspi.chord.com.Endpoint
Tell this endpoint that it can listen to incoming messages from other chord nodes.
LISTENING - Static variable in class de.uniba.wiai.lspi.chord.com.Endpoint
Integer representation of state.
ListRMIRegistry - Class in de.uniba.wiai.lspi.chord.com.rmi
 
ListRMIRegistry() - Constructor for class de.uniba.wiai.lspi.chord.com.rmi.ListRMIRegistry
 
loadPropertyFile() - Static method in class de.uniba.wiai.lspi.chord.service.PropertiesLoader
Reads the properties from property file.
LOCAL_PROTOCOL - Static variable in class de.uniba.wiai.lspi.chord.data.URL
Index of thread protocol (for local chord network ) in URL.KNOWN_PROTOCOLS.
Log4jLogger - Class in de.uniba.wiai.lspi.util.logging
This is the standard logger for this framework.
Log4jLogger(String) - Constructor for class de.uniba.wiai.lspi.util.logging.Log4jLogger
Creates a new instance of Log4JLogger
logger - Variable in class de.uniba.wiai.lspi.chord.service.impl.ChordImpl
Object logger.
Logger - Class in de.uniba.wiai.lspi.util.logging
This class is the abstract class to be implemented by a logger that should be used within the framework.
Logger(String) - Constructor for class de.uniba.wiai.lspi.util.logging.Logger
Creates a new instance of Logger
Logger.LogLevel - Enum in de.uniba.wiai.lspi.util.logging
 
LOGGER_CLASS_NAME_PROPERTY_NAME - Static variable in class de.uniba.wiai.lspi.util.logging.Logger
Name of property that specifies the name of the logger class to be used.
LOGGING_OFF_PROPERTY_NAME - Static variable in class de.uniba.wiai.lspi.util.logging.Logger
Name of property that defines if logging is off.
lookingAhead - Variable in class de.uniba.wiai.lspi.util.console.parser.CommandParser
 
lookup(URL) - Method in class de.uniba.wiai.lspi.chord.com.local.Registry
This method looks up the endpointfor the node with the given name.
lookupAll() - Method in class de.uniba.wiai.lspi.chord.com.local.Registry
Returns an array of all registered endpoints.

M

main(String[]) - Static method in class de.uniba.wiai.lspi.chord.com.rmi.ListRMIRegistry
 
main(String[]) - Static method in class de.uniba.wiai.lspi.chord.com.Test
 
Main - Class in de.uniba.wiai.lspi.chord.console
Main class to start a console, that allows manual testing of chord.
main(String[]) - Static method in class de.uniba.wiai.lspi.chord.console.Main
 
maxNextCharInd - Variable in class de.uniba.wiai.lspi.util.console.parser.SimpleCharStream
 
MemoryOutputStream - Class in de.uniba.wiai.lspi.util.console
This class can be used as OutputStream provided to a PrintStream that can be used to substitute System.out.
MemoryOutputStream() - Constructor for class de.uniba.wiai.lspi.util.console.MemoryOutputStream
Creates a new instance of MemoryOutputStream
METHODS_ALLOWED_IN_ACCEPT_ENTRIES - Static variable in class de.uniba.wiai.lspi.chord.com.Endpoint
Array containing names of methods only allowed to be invoked in state Endpoint.ACCEPT_ENTRIES.
MILLIS_PARAM - Static variable in class de.uniba.wiai.lspi.chord.console.command.Wait
The parameter, that defines the time to wait in milliseconds.

N

name - Variable in class de.uniba.wiai.lspi.util.logging.Logger
The name of the class, for which this is the logger.
NAMES_PARAM - Static variable in class de.uniba.wiai.lspi.chord.console.command.CrashNodes
The name of the parameter defining the names of the nodes to crash.
NAMES_PARAM - Static variable in class de.uniba.wiai.lspi.chord.console.command.CreateNodes
Name of parameter that defines the names of the nodes to create.
NAMES_PARAM - Static variable in class de.uniba.wiai.lspi.chord.console.command.ShutdownNodes
The name of the parameter, that defines the list of the nodes to shutdown.
newToken(int) - Static method in class de.uniba.wiai.lspi.util.console.parser.Token
Returns a new Token object, by default.
next - Variable in class de.uniba.wiai.lspi.util.console.parser.Token
A reference to the next regular (non-special) token from the input stream.
node - Variable in class de.uniba.wiai.lspi.chord.com.Endpoint
The nodeon which this endpoint invokes methods.
Node - Class in de.uniba.wiai.lspi.chord.com
Provides methods which remote nodes can invoke.
Node() - Constructor for class de.uniba.wiai.lspi.chord.com.Node
 
NODE_PARAM - Static variable in class de.uniba.wiai.lspi.chord.console.command.Insert
The name of the parameter, that defines the name of the node, from that the value should be inserted.
NODE_PARAM - Static variable in class de.uniba.wiai.lspi.chord.console.command.Remove
The name of the parameter, that defines the name of the node, from that the request to remove a key-value-pair from the dht, must be made.
NODE_PARAM - Static variable in class de.uniba.wiai.lspi.chord.console.command.Retrieve
The name of the parameter, that defines the node from which the request to retrieve a value is made.
NODE_PARAM - Static variable in class de.uniba.wiai.lspi.chord.console.command.ShowEntries
The name of the parameter, that defines the name of the node.
NODE_PARAM - Static variable in class de.uniba.wiai.lspi.chord.console.command.ShowFingerTable
Name of the parameter, that defines the name of the node, for which the finger table should be displayed.
NODE_PARAM - Static variable in class de.uniba.wiai.lspi.chord.console.command.ShowSuccessorList
The name of the parameter, that defines the node for which the successors should be shown.
nodeID - Variable in class de.uniba.wiai.lspi.chord.com.Node
This is the id of this node.
NodeImpl - Class in de.uniba.wiai.lspi.chord.service.impl
Implements all operations which can be invoked remotely by other nodes.
nodeURL - Variable in class de.uniba.wiai.lspi.chord.com.Node
This is the url of this node.
notify(int) - Method in class de.uniba.wiai.lspi.chord.com.Endpoint
Method to notify listeners about a change in state of this endpoint.
notify(int) - Method in interface de.uniba.wiai.lspi.chord.com.EndpointStateListener
Notify this listener that the endpoint changed it state to newState.
NOTIFY - Static variable in interface de.uniba.wiai.lspi.chord.com.local.InvocationListener
 
notify(Node) - Method in class de.uniba.wiai.lspi.chord.com.local.ThreadEndpoint
 
notify(Node) - Method in class de.uniba.wiai.lspi.chord.com.local.ThreadProxy
 
notify(Node) - Method in class de.uniba.wiai.lspi.chord.com.Node
Requests this node's predecessor in result[0] and successor list in result[1..length-1].
notify(RemoteNodeInfo) - Method in interface de.uniba.wiai.lspi.chord.com.rmi.RemoteNode
 
notify(RemoteNodeInfo) - Method in class de.uniba.wiai.lspi.chord.com.rmi.RMIEndpoint
 
notify(Node) - Method in class de.uniba.wiai.lspi.chord.com.rmi.RMIProxy
 
notify(Node) - Method in class de.uniba.wiai.lspi.chord.com.socket.SocketProxy
 
notify(Node) - Method in class de.uniba.wiai.lspi.chord.service.impl.NodeImpl
Requests this node's predecessor in result[0] and successor list in result[1..length-1].
NOTIFY_AND_COPY - Static variable in interface de.uniba.wiai.lspi.chord.com.local.InvocationListener
 
notifyAndCopyEntries(Node) - Method in class de.uniba.wiai.lspi.chord.com.local.ThreadEndpoint
 
notifyAndCopyEntries(Node) - Method in class de.uniba.wiai.lspi.chord.com.local.ThreadProxy
 
notifyAndCopyEntries(Node) - Method in class de.uniba.wiai.lspi.chord.com.Node
Requests this node's predecessor, successor list and entries.
notifyAndCopyEntries(RemoteNodeInfo) - Method in interface de.uniba.wiai.lspi.chord.com.rmi.RemoteNode
 
notifyAndCopyEntries(RemoteNodeInfo) - Method in class de.uniba.wiai.lspi.chord.com.rmi.RMIEndpoint
 
notifyAndCopyEntries(Node) - Method in class de.uniba.wiai.lspi.chord.com.rmi.RMIProxy
 
notifyAndCopyEntries(Node) - Method in class de.uniba.wiai.lspi.chord.com.socket.SocketProxy
 
notifyAndCopyEntries(Node) - Method in class de.uniba.wiai.lspi.chord.service.impl.NodeImpl
Requests this node's predecessor, successor list and entries.
notifyInvocationOf(int) - Method in interface de.uniba.wiai.lspi.chord.com.local.InvocationListener
 
notifyInvocationOfFinished(int) - Method in interface de.uniba.wiai.lspi.chord.com.local.InvocationListener
 

O

openConnections() - Method in class de.uniba.wiai.lspi.chord.com.Endpoint
To implemented by sub classes.
openConnections() - Method in class de.uniba.wiai.lspi.chord.com.local.ThreadEndpoint
 
openConnections() - Method in class de.uniba.wiai.lspi.chord.com.rmi.RMIEndpoint
 
openConnections() - Method in class de.uniba.wiai.lspi.chord.com.socket.SocketEndpoint
 
out - Variable in class de.uniba.wiai.lspi.util.console.Command
The PrintStream to print the command's output to.
out - Variable in class de.uniba.wiai.lspi.util.console.CommandFactory
The PrintStream to that all Commands print their outputs.
out - Variable in class de.uniba.wiai.lspi.util.console.ConsoleThread
The PrintStream to print the consoles output to.

P

parameters - Variable in class de.uniba.wiai.lspi.util.console.Command
The parameters passed to this command are contained within this Hashtable.
parameters() - Method in class de.uniba.wiai.lspi.util.console.parser.CommandParser
 
PARAMSTART - Static variable in interface de.uniba.wiai.lspi.util.console.parser.CommandParserConstants
 
parse(String) - Static method in class de.uniba.wiai.lspi.util.console.parser.CommandParser
 
ParseException - Exception in de.uniba.wiai.lspi.util.console.parser
 
ParseException(Token, int[][], String[]) - Constructor for exception de.uniba.wiai.lspi.util.console.parser.ParseException
This constructor is used by the method "generateParseException" in the generated parser.
ParseException() - Constructor for exception de.uniba.wiai.lspi.util.console.parser.ParseException
The following constructors are for use by you for whatever purpose you can think of.
ParseException(String) - Constructor for exception de.uniba.wiai.lspi.util.console.parser.ParseException
 
parseParams(String) - Static method in class de.uniba.wiai.lspi.util.console.parser.CommandParser
 
PING - Static variable in interface de.uniba.wiai.lspi.chord.com.local.InvocationListener
 
ping() - Method in class de.uniba.wiai.lspi.chord.com.local.ThreadEndpoint
 
ping() - Method in class de.uniba.wiai.lspi.chord.com.local.ThreadProxy
 
ping() - Method in class de.uniba.wiai.lspi.chord.com.Node
Requests a sign of live.
ping() - Method in interface de.uniba.wiai.lspi.chord.com.rmi.RemoteNode
 
ping() - Method in class de.uniba.wiai.lspi.chord.com.rmi.RMIEndpoint
 
ping() - Method in class de.uniba.wiai.lspi.chord.com.rmi.RMIProxy
 
ping() - Method in class de.uniba.wiai.lspi.chord.com.socket.SocketProxy
 
ping() - Method in class de.uniba.wiai.lspi.chord.service.impl.NodeImpl
Requests a sign of live.
PORT_PARAM - Static variable in class de.uniba.wiai.lspi.chord.console.command.JoinNetwork
The port on which the local node should listen.
prevCharIsCR - Variable in class de.uniba.wiai.lspi.util.console.parser.SimpleCharStream
 
prevCharIsLF - Variable in class de.uniba.wiai.lspi.util.console.parser.SimpleCharStream
 
printEntries() - Method in class de.uniba.wiai.lspi.chord.service.impl.ChordImpl
 
printEntries() - Method in interface de.uniba.wiai.lspi.chord.service.Report
Returns a formatted String containing all entries stored on this node.
printFingerTable() - Method in class de.uniba.wiai.lspi.chord.service.impl.ChordImpl
 
printFingerTable() - Method in interface de.uniba.wiai.lspi.chord.service.Report
Returns a formatted String containing all references stored in the finger table of this node.
printOutHelp() - Method in class de.uniba.wiai.lspi.chord.console.command.ChangeProtocol
 
printOutHelp() - Method in class de.uniba.wiai.lspi.chord.console.command.CrashNodes
 
printOutHelp() - Method in class de.uniba.wiai.lspi.chord.console.command.CreateNodes
 
printOutHelp() - Method in class de.uniba.wiai.lspi.chord.console.command.Exit
 
printOutHelp() - Method in class de.uniba.wiai.lspi.chord.console.command.Help
 
printOutHelp() - Method in class de.uniba.wiai.lspi.chord.console.command.Insert
 
printOutHelp() - Method in class de.uniba.wiai.lspi.chord.console.command.InsertNetwork
 
printOutHelp() - Method in class de.uniba.wiai.lspi.chord.console.command.JoinNetwork
 
printOutHelp() - Method in class de.uniba.wiai.lspi.chord.console.command.LeaveNetwork
 
printOutHelp() - Method in class de.uniba.wiai.lspi.chord.console.command.Remove
 
printOutHelp() - Method in class de.uniba.wiai.lspi.chord.console.command.RemoveNetwork
 
printOutHelp() - Method in class de.uniba.wiai.lspi.chord.console.command.Retrieve
 
printOutHelp() - Method in class de.uniba.wiai.lspi.chord.console.command.RetrieveNetwork
 
printOutHelp() - Method in class de.uniba.wiai.lspi.chord.console.command.ShowEntries
 
printOutHelp() - Method in class de.uniba.wiai.lspi.chord.console.command.ShowEntriesNetwork
 
printOutHelp() - Method in class de.uniba.wiai.lspi.chord.console.command.ShowFingerTable
 
printOutHelp() - Method in class de.uniba.wiai.lspi.chord.console.command.ShowFingerTableNetwork
 
printOutHelp() - Method in class de.uniba.wiai.lspi.chord.console.command.ShowNodes
 
printOutHelp() - Method in class de.uniba.wiai.lspi.chord.console.command.ShowSuccessorList
 
printOutHelp() - Method in class de.uniba.wiai.lspi.chord.console.command.ShutdownNodes
 
printOutHelp() - Method in class de.uniba.wiai.lspi.chord.console.command.Wait
 
printOutHelp() - Method in class de.uniba.wiai.lspi.util.console.Command
To be overwritten.
printOutHelp() - Method in class de.uniba.wiai.lspi.util.console.ExecuteMacro
 
printOutHelp() - Method in class de.uniba.wiai.lspi.util.console.ShowOutputCommand
 
printOutputTo(PrintStream) - Method in class de.uniba.wiai.lspi.util.console.MemoryOutputStream
Print the content of the internal buffer to the given PrintStream out.
printPredecessor() - Method in class de.uniba.wiai.lspi.chord.service.impl.ChordImpl
 
printPredecessor() - Method in interface de.uniba.wiai.lspi.chord.service.Report
Returns a formatted String containing the predecessor reference of this node.
printReferences() - Method in class de.uniba.wiai.lspi.chord.service.impl.ChordImpl
 
printReferences() - Method in interface de.uniba.wiai.lspi.chord.service.Report
Returns a formatted String containing all references stored on this node.
printSuccessorList() - Method in class de.uniba.wiai.lspi.chord.service.impl.ChordImpl
 
printSuccessorList() - Method in interface de.uniba.wiai.lspi.chord.service.Report
Returns a formatted String containing all references stored in the successor list of this node.
PROPERTIES_FILE_PROPERTY - Static variable in class de.uniba.wiai.lspi.util.logging.Log4jLogger
Name of property to set the reference to the property file containing log4j properties.
PropertiesLoader - Class in de.uniba.wiai.lspi.chord.service
This class is responsible for loading all properties of a given property file and for setting them as Java properties for this JVM.
PROPERTY_WHERE_TO_FIND_PROPERTY_FILE - Static variable in class de.uniba.wiai.lspi.chord.service.PropertiesLoader
Name of property which has to be set for loading a specific property file.
Proxy - Class in de.uniba.wiai.lspi.chord.com
This class is used to represent other nodes at a node, so that these nodes are able to connect to the node.
Proxy(URL) - Constructor for class de.uniba.wiai.lspi.chord.com.Proxy
 

R

readChar() - Method in class de.uniba.wiai.lspi.util.console.parser.SimpleCharStream
 
references - Variable in class de.uniba.wiai.lspi.chord.service.impl.ChordImpl
References to remote nodes.
RefsAndEntries - Class in de.uniba.wiai.lspi.chord.com
 
RefsAndEntries(List<Node>, Set<Entry>) - Constructor for class de.uniba.wiai.lspi.chord.com.RefsAndEntries
 
register(EndpointStateListener) - Method in class de.uniba.wiai.lspi.chord.com.Endpoint
Register a listener that is notified when the state of this endpoint changes.
register(InvocationListener) - Method in class de.uniba.wiai.lspi.chord.com.local.ThreadEndpoint
 
Registry - Class in de.uniba.wiai.lspi.chord.com.local
This class represents a registry for endpointsthat can be used to build up a chord network within the same JVM with help of Java Threads.
registry - Variable in class de.uniba.wiai.lspi.chord.com.local.ThreadEndpoint
The registryof local endpoints.
registry - Variable in class de.uniba.wiai.lspi.chord.com.local.ThreadProxy
Reference to the registrysingleton.
ReInit(InputStream) - Method in class de.uniba.wiai.lspi.util.console.parser.CommandParser
 
ReInit(Reader) - Method in class de.uniba.wiai.lspi.util.console.parser.CommandParser
 
ReInit(CommandParserTokenManager) - Method in class de.uniba.wiai.lspi.util.console.parser.CommandParser
 
ReInit(SimpleCharStream) - Method in class de.uniba.wiai.lspi.util.console.parser.CommandParserTokenManager
 
ReInit(SimpleCharStream, int) - Method in class de.uniba.wiai.lspi.util.console.parser.CommandParserTokenManager
 
ReInit(Reader, int, int, int) - Method in class de.uniba.wiai.lspi.util.console.parser.SimpleCharStream
 
ReInit(Reader, int, int) - Method in class de.uniba.wiai.lspi.util.console.parser.SimpleCharStream
 
ReInit(Reader) - Method in class de.uniba.wiai.lspi.util.console.parser.SimpleCharStream
 
ReInit(InputStream, int, int, int) - Method in class de.uniba.wiai.lspi.util.console.parser.SimpleCharStream
 
ReInit(InputStream) - Method in class de.uniba.wiai.lspi.util.console.parser.SimpleCharStream
 
ReInit(InputStream, int, int) - Method in class de.uniba.wiai.lspi.util.console.parser.SimpleCharStream
 
RemoteChordNetworkAccess - Class in de.uniba.wiai.lspi.chord.console.command
 
RemoteNode - Interface in de.uniba.wiai.lspi.chord.com.rmi
 
Remove - Class in de.uniba.wiai.lspi.chord.console.command
To get a description of this command type remove -help into the console.
Remove(Object[], PrintStream) - Constructor for class de.uniba.wiai.lspi.chord.console.command.Remove
Creates a new instance of Remove
remove(Key, Serializable, ChordCallback) - Method in interface de.uniba.wiai.lspi.chord.service.AsynChord
Asynchronous method to remove entry under the provided key.
remove(Key, Serializable) - Method in interface de.uniba.wiai.lspi.chord.service.Chord
Removes the given object stored under given key from the network.
remove(Key, Serializable) - Method in class de.uniba.wiai.lspi.chord.service.impl.ChordImpl
 
remove(Key, Serializable, ChordCallback) - Method in class de.uniba.wiai.lspi.chord.service.impl.ChordImpl
 
REMOVE_ENTRY - Static variable in interface de.uniba.wiai.lspi.chord.com.local.InvocationListener
 
REMOVE_REPLICAS - Static variable in interface de.uniba.wiai.lspi.chord.com.local.InvocationListener
 
removeAsync(Key, Serializable) - Method in interface de.uniba.wiai.lspi.chord.service.AsynChord
Asynchronous method to remove entry with key.
removeAsync(Key, Serializable) - Method in class de.uniba.wiai.lspi.chord.service.impl.ChordImpl
 
removed(Key, Serializable, Throwable) - Method in interface de.uniba.wiai.lspi.chord.service.ChordCallback
This is the callback method for removal of the entry with key.
removeEntry(Entry) - Method in class de.uniba.wiai.lspi.chord.com.local.ThreadEndpoint
 
removeEntry(Entry) - Method in class de.uniba.wiai.lspi.chord.com.local.ThreadProxy
 
removeEntry(Entry) - Method in class de.uniba.wiai.lspi.chord.com.Node
Removes the given object from the list stored under the given ID.
removeEntry(Entry) - Method in interface de.uniba.wiai.lspi.chord.com.rmi.RemoteNode
 
removeEntry(Entry) - Method in class de.uniba.wiai.lspi.chord.com.rmi.RMIEndpoint
 
removeEntry(Entry) - Method in class de.uniba.wiai.lspi.chord.com.rmi.RMIProxy
 
removeEntry(Entry) - Method in class de.uniba.wiai.lspi.chord.com.socket.SocketProxy
 
removeEntry(Entry) - Method in class de.uniba.wiai.lspi.chord.service.impl.NodeImpl
Removes the given object from the list stored under the given ID.
RemoveNetwork - Class in de.uniba.wiai.lspi.chord.console.command
To get a description of this command type removeN -help into the console.
RemoveNetwork(Object[], PrintStream) - Constructor for class de.uniba.wiai.lspi.chord.console.command.RemoveNetwork
Creates a new instance of Remove
removeProxiesInUseBy(URL) - Method in class de.uniba.wiai.lspi.chord.com.local.Registry
Removes the proxies used by the node with nodeName.
removeReplicas(ID, Set<Entry>) - Method in class de.uniba.wiai.lspi.chord.com.local.ThreadEndpoint
 
removeReplicas(ID, Set<Entry>) - Method in class de.uniba.wiai.lspi.chord.com.local.ThreadProxy
 
removeReplicas(ID, Set<Entry>) - Method in class de.uniba.wiai.lspi.chord.com.Node
Removes replicates of the given entries.
removeReplicas(ID, Set<Entry>) - Method in interface de.uniba.wiai.lspi.chord.com.rmi.RemoteNode
 
removeReplicas(ID, Set<Entry>) - Method in class de.uniba.wiai.lspi.chord.com.rmi.RMIEndpoint
 
removeReplicas(ID, Set<Entry>) - Method in class de.uniba.wiai.lspi.chord.com.rmi.RMIProxy
 
removeReplicas(ID, Set<Entry>) - Method in class de.uniba.wiai.lspi.chord.com.socket.SocketProxy
 
removeReplicas(ID, Set<Entry>) - Method in class de.uniba.wiai.lspi.chord.service.impl.NodeImpl
Removes replicates of the given entries.
Report - Interface in de.uniba.wiai.lspi.chord.service
Provides the user application with methods for retrieving internal information about the state of a Chord node, e.g. entries or references.
Retrieve - Class in de.uniba.wiai.lspi.chord.console.command
Command to retrieve a value from the local chord network.
Retrieve(Object[], PrintStream) - Constructor for class de.uniba.wiai.lspi.chord.console.command.Retrieve
Creates a new instance of Retrieve
retrieve(Key, ChordCallback) - Method in interface de.uniba.wiai.lspi.chord.service.AsynChord
Asynchronous method to retrieve the entries associated with key.
retrieve(Key) - Method in interface de.uniba.wiai.lspi.chord.service.Chord
Attempts to find all objects with given key.
retrieve(Key) - Method in class de.uniba.wiai.lspi.chord.service.impl.ChordImpl
 
retrieve(Key, ChordCallback) - Method in class de.uniba.wiai.lspi.chord.service.impl.ChordImpl
 
RETRIEVE_ENTRIES - Static variable in interface de.uniba.wiai.lspi.chord.com.local.InvocationListener
 
retrieveAsync(Key) - Method in interface de.uniba.wiai.lspi.chord.service.AsynChord
Asynchronous method to retrieve the entries associated with key.
retrieveAsync(Key) - Method in class de.uniba.wiai.lspi.chord.service.impl.ChordImpl
 
retrieved(Key, Set<Serializable>, Throwable) - Method in interface de.uniba.wiai.lspi.chord.service.ChordCallback
This is the callback method for retrieval of values associated with key.
retrieveEntries(ID) - Method in class de.uniba.wiai.lspi.chord.com.local.ThreadEndpoint
 
retrieveEntries(ID) - Method in class de.uniba.wiai.lspi.chord.com.local.ThreadProxy
 
retrieveEntries(ID) - Method in class de.uniba.wiai.lspi.chord.com.Node
Returns all entries stored under the given ID.
retrieveEntries(ID) - Method in interface de.uniba.wiai.lspi.chord.com.rmi.RemoteNode
 
retrieveEntries(ID) - Method in class de.uniba.wiai.lspi.chord.com.rmi.RMIEndpoint
 
retrieveEntries(ID) - Method in class de.uniba.wiai.lspi.chord.com.rmi.RMIProxy
 
retrieveEntries(ID) - Method in class de.uniba.wiai.lspi.chord.com.socket.SocketProxy
 
retrieveEntries(ID) - Method in class de.uniba.wiai.lspi.chord.service.impl.NodeImpl
Returns all entries stored under the given ID.
RetrieveNetwork - Class in de.uniba.wiai.lspi.chord.console.command
Command to retrieve a value from the remote chord network.
RetrieveNetwork(Object[], PrintStream) - Constructor for class de.uniba.wiai.lspi.chord.console.command.RetrieveNetwork
Creates a new instance of Retrieve
RMI_PROTOCOL - Static variable in class de.uniba.wiai.lspi.chord.data.URL
Index of socket protocol in URL.KNOWN_PROTOCOLS.
RMIEndpoint - Class in de.uniba.wiai.lspi.chord.com.rmi
 
RMIEndpoint(Node, URL) - Constructor for class de.uniba.wiai.lspi.chord.com.rmi.RMIEndpoint
 
RMIProxy - Class in de.uniba.wiai.lspi.chord.com.rmi
 
run() - Method in class de.uniba.wiai.lspi.chord.com.socket.SocketEndpoint
Run method from Runnable to accept connections from clients.
run() - Method in class de.uniba.wiai.lspi.chord.com.socket.SocketProxy
The run methods waits for incoming Response made by this proxy and puts them into a datastructure from where the can be collected by the associated method call that made a Request to the Node, that this is the proxy for.
run() - Method in class de.uniba.wiai.lspi.util.console.ConsoleThread
The run method.

S

ServiceException - Exception in de.uniba.wiai.lspi.chord.service
Whenever this exception is thrown, an error has occured which cannot be resolved by the service layer.
ServiceException(String) - Constructor for exception de.uniba.wiai.lspi.chord.service.ServiceException
Creates a new service exception with the given description.
ServiceException(String, Throwable) - Constructor for exception de.uniba.wiai.lspi.chord.service.ServiceException
Creates a new service exception with the given description.
setDebugStream(PrintStream) - Method in class de.uniba.wiai.lspi.util.console.parser.CommandParserTokenManager
 
setExitCommand(String) - Method in class de.uniba.wiai.lspi.util.console.ConsoleThread
Set the Command that exits this console.
setID(ID) - Method in interface de.uniba.wiai.lspi.chord.service.AsynChord
Sets the ID of the local node to the given value; only available before creating or joining a network.
setID(ID) - Method in interface de.uniba.wiai.lspi.chord.service.Chord
Sets the ID of the local node to the given value; only available before creating or joining a network.
setID(ID) - Method in class de.uniba.wiai.lspi.chord.service.impl.ChordImpl
 
setNodeID(ID) - Method in class de.uniba.wiai.lspi.chord.com.Node
 
setNodeURL(URL) - Method in class de.uniba.wiai.lspi.chord.com.Node
 
setParameters(Map<String, String>) - Method in class de.uniba.wiai.lspi.util.console.Command
Set the parameters for the Command.
setPrintStream(PrintStream) - Method in class de.uniba.wiai.lspi.util.console.Command
Set the PrintStream, to that this command prints its output.
setState(int) - Method in class de.uniba.wiai.lspi.chord.com.Endpoint
 
setURL(URL) - Method in interface de.uniba.wiai.lspi.chord.service.AsynChord
Sets the URL of the local node to the given value; only available before creating or joining a network.
setURL(URL) - Method in interface de.uniba.wiai.lspi.chord.service.Chord
Sets the URL of the local node to the given value; only available before creating or joining a network.
setURL(URL) - Method in class de.uniba.wiai.lspi.chord.service.impl.ChordImpl
 
setWelcomeText(String) - Method in class de.uniba.wiai.lspi.util.console.ConsoleThread
Set a costum welcome text for the console.
ShowEntries - Class in de.uniba.wiai.lspi.chord.console.command
Command to show the entries of a node of local chord network.
ShowEntries(Object[], PrintStream) - Constructor for class de.uniba.wiai.lspi.chord.console.command.ShowEntries
Creates a new instance of ShowFingerTable
ShowEntriesNetwork - Class in de.uniba.wiai.lspi.chord.console.command
Command to show the entries of a node of local chord network.
ShowEntriesNetwork(Object[], PrintStream) - Constructor for class de.uniba.wiai.lspi.chord.console.command.ShowEntriesNetwork
Creates a new instance of ShowFingerTable
ShowFingerTable - Class in de.uniba.wiai.lspi.chord.console.command
Command to show the finger table of a chord node of the local chord network.
ShowFingerTable(Object[], PrintStream) - Constructor for class de.uniba.wiai.lspi.chord.console.command.ShowFingerTable
Creates a new instance of ShowFingerTable
ShowFingerTableNetwork - Class in de.uniba.wiai.lspi.chord.console.command
Command to show the finger table of a chord node of the local chord network.
ShowFingerTableNetwork(Object[], PrintStream) - Constructor for class de.uniba.wiai.lspi.chord.console.command.ShowFingerTableNetwork
Creates a new instance of ShowFingerTable
ShowNodes - Class in de.uniba.wiai.lspi.chord.console.command
Command to show all nodes present in local chord network.
ShowNodes(Object[], PrintStream) - Constructor for class de.uniba.wiai.lspi.chord.console.command.ShowNodes
Creates a new instance of ShowNodes
ShowOutputCommand - Class in de.uniba.wiai.lspi.util.console
 
ShowOutputCommand(Object[], PrintStream) - Constructor for class de.uniba.wiai.lspi.util.console.ShowOutputCommand
Creates a new instance of ShowOutputCommand
ShowSuccessorList - Class in de.uniba.wiai.lspi.chord.console.command
Command to show the successors of a local chord node.
ShowSuccessorList(Object[], PrintStream) - Constructor for class de.uniba.wiai.lspi.chord.console.command.ShowSuccessorList
Creates a new instance of ShowSuccessorList
shutdown() - Method in class de.uniba.wiai.lspi.chord.com.local.Registry
Shutdown this registry.
ShutdownNodes - Class in de.uniba.wiai.lspi.chord.console.command
Command to shutdown a number of nodes.
ShutdownNodes(Object[], PrintStream) - Constructor for class de.uniba.wiai.lspi.chord.console.command.ShutdownNodes
Creates a new instance of shutdownNodes
SimpleCharStream - Class in de.uniba.wiai.lspi.util.console.parser
 
SimpleCharStream(Reader, int, int, int) - Constructor for class de.uniba.wiai.lspi.util.console.parser.SimpleCharStream
 
SimpleCharStream(Reader, int, int) - Constructor for class de.uniba.wiai.lspi.util.console.parser.SimpleCharStream
 
SimpleCharStream(Reader) - Constructor for class de.uniba.wiai.lspi.util.console.parser.SimpleCharStream
 
SimpleCharStream(InputStream, int, int, int) - Constructor for class de.uniba.wiai.lspi.util.console.parser.SimpleCharStream
 
SimpleCharStream(InputStream, int, int) - Constructor for class de.uniba.wiai.lspi.util.console.parser.SimpleCharStream
 
SimpleCharStream(InputStream) - Constructor for class de.uniba.wiai.lspi.util.console.parser.SimpleCharStream
 
SOCKET_PROTOCOL - Static variable in class de.uniba.wiai.lspi.chord.data.URL
Index of socket protocol in URL.KNOWN_PROTOCOLS.
SocketEndpoint - Class in de.uniba.wiai.lspi.chord.com.socket
This class represents an Endpoint for communication over socket protocol.
SocketEndpoint(Node, URL) - Constructor for class de.uniba.wiai.lspi.chord.com.socket.SocketEndpoint
Creates a new SocketEndpoint for the given Node with url.
SocketProxy - Class in de.uniba.wiai.lspi.chord.com.socket
This is the implementation of Proxy for the socket protocol.
SocketProxy(URL, URL, ID) - Constructor for class de.uniba.wiai.lspi.chord.com.socket.SocketProxy
Corresponding constructor to factory method SocketProxy.create(URL, URL, ID).
specialConstructor - Variable in exception de.uniba.wiai.lspi.util.console.parser.ParseException
This variable determines which constructor was used to create this object and thereby affects the semantics of the "getMessage" method (see below).
specialToken - Variable in class de.uniba.wiai.lspi.util.console.parser.Token
This field is used to access special tokens that occur prior to this token, but after the immediately preceding regular (non-special) token.
STANDARD_PROPERTY_FILE - Static variable in class de.uniba.wiai.lspi.chord.service.PropertiesLoader
File name of property file which is loaded, if no other file is specified.
STARTED - Static variable in class de.uniba.wiai.lspi.chord.com.Endpoint
Integer representation of state.
staticFlag - Static variable in class de.uniba.wiai.lspi.util.console.parser.SimpleCharStream
 
SwitchTo(int) - Method in class de.uniba.wiai.lspi.util.console.parser.CommandParserTokenManager
 
systemOut - Variable in class de.uniba.wiai.lspi.util.console.ConsoleThread
The old PrintStream to print the standard output to.
SystemOutPrintlnLogger - Class in de.uniba.wiai.lspi.util.logging
Logger, that logs to System.out.
systemOutputStream - Variable in class de.uniba.wiai.lspi.util.console.ConsoleThread
Reference to the standard output stream.

T

Test - Class in de.uniba.wiai.lspi.chord.com
 
testConnection() - Method in class de.uniba.wiai.lspi.chord.com.rmi.RMIProxy
 
ThreadEndpoint - Class in de.uniba.wiai.lspi.chord.com.local
This represents the Endpoint for the protocol that can be used to build a (local) chord network within one JVM.
ThreadEndpoint(Node, URL) - Constructor for class de.uniba.wiai.lspi.chord.com.local.ThreadEndpoint
Creates a new Endpoint for communication via Java Threads.
ThreadProxy - Class in de.uniba.wiai.lspi.chord.com.local
This class represents a Proxy for the protocol that allows to be build a (local) chord network within one JVM.
ThreadProxy(URL, URL) - Constructor for class de.uniba.wiai.lspi.chord.com.local.ThreadProxy
Creates a Proxy for the jchordlocal protocol.
TIMES_PARAM - Static variable in class de.uniba.wiai.lspi.util.console.ExecuteMacro
The number of times that the Macro is executed.
toBinaryString(int) - Method in class de.uniba.wiai.lspi.chord.data.ID
Returns a string of the binary representation of the first n bytes of this ID, including leading zeros.
toBinaryString() - Method in class de.uniba.wiai.lspi.chord.data.ID
Returns a string of the binary representation of this ID, including leading zeros.
toCommand - Variable in class de.uniba.wiai.lspi.util.console.Command
The instances to execute the commands on.
toCommand - Variable in class de.uniba.wiai.lspi.util.console.CommandFactory
The Objects given to the Commands to execute commands on.
toDecimalString(int) - Method in class de.uniba.wiai.lspi.chord.data.ID
Returns a string of the decimal representation of the first n bytes of this ID, including leading zeros.
toDecimalString() - Method in class de.uniba.wiai.lspi.chord.data.ID
Returns a string of the decimal representation of this ID, including leading zeros.
toHexString(int) - Method in class de.uniba.wiai.lspi.chord.data.ID
Returns a string of the hexadecimal representation of the first n bytes of this ID, including leading zeros.
toHexString() - Method in class de.uniba.wiai.lspi.chord.data.ID
Returns a string of the hexadecimal representation of this ID, including leading zeros.
token - Variable in class de.uniba.wiai.lspi.util.console.parser.CommandParser
 
Token - Class in de.uniba.wiai.lspi.util.console.parser
 
Token() - Constructor for class de.uniba.wiai.lspi.util.console.parser.Token
 
token_source - Variable in class de.uniba.wiai.lspi.util.console.parser.CommandParser
 
tokenImage - Static variable in interface de.uniba.wiai.lspi.util.console.parser.CommandParserConstants
 
tokenImage - Variable in exception de.uniba.wiai.lspi.util.console.parser.ParseException
This is a reference to the "tokenImage" array of the generated parser within which the parse error occurred.
TokenMgrError - Error in de.uniba.wiai.lspi.util.console.parser
 
TokenMgrError() - Constructor for error de.uniba.wiai.lspi.util.console.parser.TokenMgrError
 
TokenMgrError(String, int) - Constructor for error de.uniba.wiai.lspi.util.console.parser.TokenMgrError
 
TokenMgrError(boolean, int, int, int, String, char, int) - Constructor for error de.uniba.wiai.lspi.util.console.parser.TokenMgrError
 
toString() - Method in class de.uniba.wiai.lspi.chord.com.Endpoint
Overwritten from Object.
toString() - Method in class de.uniba.wiai.lspi.chord.com.Entry
 
toString() - Method in class de.uniba.wiai.lspi.chord.com.local.Registry
Overwritten from Object.
toString() - Method in class de.uniba.wiai.lspi.chord.com.local.ThreadEndpoint
Overwritten from Object.
toString() - Method in class de.uniba.wiai.lspi.chord.com.local.ThreadProxy
 
toString() - Method in class de.uniba.wiai.lspi.chord.com.Node
 
toString() - Method in class de.uniba.wiai.lspi.chord.com.socket.SocketProxy
 
toString() - Method in class de.uniba.wiai.lspi.chord.console.command.entry.Key
 
toString() - Method in class de.uniba.wiai.lspi.chord.console.command.entry.Value
 
toString() - Method in class de.uniba.wiai.lspi.chord.data.ID
Returns a string of the decimal representation of this ID, including leading zeros.
toString() - Method in class de.uniba.wiai.lspi.chord.data.URL
Overwritten from Object.
toString() - Method in class de.uniba.wiai.lspi.chord.service.impl.ChordImpl
Returns a human-readable string representation containing this node's node ID and URL.
toString() - Method in class de.uniba.wiai.lspi.util.console.parser.Token
Returns the image.

U

unbind(ThreadEndpoint) - Method in class de.uniba.wiai.lspi.chord.com.local.Registry
Remove the given endpointfrom the registry.
UpdateLineColumn(char) - Method in class de.uniba.wiai.lspi.util.console.parser.SimpleCharStream
 
url - Variable in class de.uniba.wiai.lspi.chord.com.Endpoint
The URLthat can be used to connect to this endpoint.
URL - Class in de.uniba.wiai.lspi.chord.data
Address of nodes.
URL(String) - Constructor for class de.uniba.wiai.lspi.chord.data.URL
Create an instance of URL from urlString.

V

Value - Class in de.uniba.wiai.lspi.chord.console.command.entry
A Value to be stored within a chord network by a command issued from console.
Value(String) - Constructor for class de.uniba.wiai.lspi.chord.console.command.entry.Value
Creates a new instance of Value
VALUE_PARAM - Static variable in class de.uniba.wiai.lspi.chord.console.command.Insert
The name of the parameter, that defines the value, which is inserted into the distributed hash table.
VALUE_PARAM - Static variable in class de.uniba.wiai.lspi.chord.console.command.InsertNetwork
The name of the parameter, that defines the value to insert.
VALUE_PARAM - Static variable in class de.uniba.wiai.lspi.chord.console.command.Remove
The name of the parameter that defines the value to remove.
VALUE_PARAM - Static variable in class de.uniba.wiai.lspi.chord.console.command.RemoveNetwork
The name of the parameter that defines the value to remove.
valueOf(String) - Static method in enum de.uniba.wiai.lspi.util.logging.Logger.LogLevel
Returns the enum constant of this type with the specified name.
values() - Static method in enum de.uniba.wiai.lspi.util.logging.Logger.LogLevel
Returns an array containing the constants of this enum type, in the order they're declared.

W

Wait - Class in de.uniba.wiai.lspi.chord.console.command
Command to block the console for a provided time.
Wait(Object[], PrintStream) - Constructor for class de.uniba.wiai.lspi.chord.console.command.Wait
Creates a new instance of Wait
waitForBeingDone() - Method in interface de.uniba.wiai.lspi.chord.service.ChordFuture
This method blocks the calling thread until the execution of the method associated with this has been finished.
warn(Object) - Method in class de.uniba.wiai.lspi.util.logging.DummyLogger
 
warn(Object, Throwable) - Method in class de.uniba.wiai.lspi.util.logging.DummyLogger
 
warn(Object) - Method in class de.uniba.wiai.lspi.util.logging.Log4jLogger
 
warn(Object, Throwable) - Method in class de.uniba.wiai.lspi.util.logging.Log4jLogger
 
warn(Object) - Method in class de.uniba.wiai.lspi.util.logging.Logger
 
warn(Object, Throwable) - Method in class de.uniba.wiai.lspi.util.logging.Logger
 
warn(Object) - Method in class de.uniba.wiai.lspi.util.logging.SystemOutPrintlnLogger
Log a message object with the WARN level.
warn(Object, Throwable) - Method in class de.uniba.wiai.lspi.util.logging.SystemOutPrintlnLogger
Log a message object with the WARN level including the stack trace of the Throwable t passed as parameter.
welcome - Variable in class de.uniba.wiai.lspi.util.console.ConsoleThread
The text displayed, when the Thread is started.
WORD - Static variable in interface de.uniba.wiai.lspi.util.console.parser.CommandParserConstants
 
write(int) - Method in class de.uniba.wiai.lspi.util.console.DummyOutputStream
Overwritten from OutputStream.
write(int) - Method in class de.uniba.wiai.lspi.util.console.MemoryOutputStream
Overwritten from OutputStream.

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

Copyright © 2004-2008 Karsten Loesing, Sven Kaffille - Distributed and Mobile Systems Group, Lehrstuhl für Praktische Informatik, Universität Bamberg. All Rights Reserved.