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 _

A

absoluteDistance(HashValue) - Method in class viceroy.HashValue
Gets the absolute distance between this and other.
actionCombo - Variable in class viceroy.GUI.GraphViewer
combo-box containing the possible user defined actions for this viewer.
actionGoButton - Variable in class viceroy.GUI.GraphViewer
 
actionPerformed(ActionEvent) - Method in class viceroy.GUI.GraphViewer.ShowConnectionsAdapter
 
actionPerformed(ActionEvent) - Method in class viceroy.GUI.GraphViewer.NumberOfNodesAdapter
 
actionPerformed(ActionEvent) - Method in class viceroy.GUI.GraphViewer.LookupValAdapter
 
actionPerformed(ActionEvent) - Method in class viceroy.GUI.GraphViewer.RefreshButtonAdapter
 
actionPerformed(ActionEvent) - Method in class viceroy.GUI.GraphViewer.BackButtonAdapter
 
actionPerformed(ActionEvent) - Method in class viceroy.GUI.GraphViewer.ModeComboAdapter
 
actionPerformed(ActionEvent) - Method in class viceroy.GUI.GraphViewer.BuildModeComboAdapter
 
actionPerformed(ActionEvent) - Method in class viceroy.GUI.GraphViewer.ZoomComboAdapter
 
actionPerformed(ActionEvent) - Method in class viceroy.GUI.GraphViewer.RingRadiusComboAdapter
 
actionPerformed(ActionEvent) - Method in class viceroy.GUI.GraphViewer.CustomActionAdapter
 
ACTIVE - Static variable in class viceroy.PeerState
State - Active
add(int, Object) - Method in class viceroy.misc.typeSafeCollections.TypeSafeList
See java.util.List.
add(Object) - Method in class viceroy.misc.typeSafeCollections.TypeSafeMapEntrySet
See java.util.Set Doesn't check the type of the object!
add(Object) - Method in class viceroy.misc.typeSafeCollections.TypeSafeList.TypeSafeListIterator
See java.util.ListIterator Checks the type of the object.
add(Object) - Method in class viceroy.misc.typeSafeCollections.TypeSafeCollection
see java.util.Collection Checks the type of the object.
addAll(Collection) - Method in class viceroy.misc.typeSafeCollections.TypeSafeMapEntrySet
See java.util.Set Doesn't check the type of the object!
addAll(Collection) - Method in class viceroy.misc.typeSafeCollections.TypeSafeCollection
see java.util.Collection Checks the type of the objects in the Collection.
addAll(int, Collection) - Method in class viceroy.misc.typeSafeCollections.TypeSafeList
see java.util.List Checks the type of the objects in the Collection.
addCustomActionListener(CustomActionInterface) - Method in class viceroy.GUI.GraphViewer
Add another custom listener
addJoinDataListener(JoinDataListener) - Method in class viceroy.LocalViceroyPeer
Adds a new listener.
addJoinDataListener(JoinDataListener) - Method in interface viceroy.AuthorizedViceroyPeer
Adds a new listener.
addListener(GraphElementListener) - Method in class viceroy.GUI.GraphPanel
Adds a listener
addListener(Listener, AuthorizedViceroyPeer) - Method in interface viceroy.net.ViceroyPeerManager
adds a new listener to the system.
addListener(Listener, AuthorizedViceroyPeer) - Method in class viceroy.net.DummyCommunicationManager
adds a new listener to the system.
addLookupAnswerListener(LookupAnswerListener) - Method in class viceroy.LocalViceroyPeer
Adds a new listener.
addLookupAnswerListener(LookupAnswerListener) - Method in interface viceroy.AuthorizedViceroyPeer
Adds a new listener.
addNodeToTableLine(ViewController) - Method in class viceroy.GUI.GraphPanel
Add node and all his children to the ring table
addNodeToTableRing(ViewController) - Method in class viceroy.GUI.GraphPanel
Add node and all his children to the ring table
addPointToPath(MessageStatistics) - Method in class viceroy.MessagePath
Adds the given point to the path, making it the last point added
addResource(Resource) - Method in class viceroy.LocalViceroyPeer
Adds new Resource to this peer, and to the viceroy network
addResource(Resource) - Method in interface viceroy.AuthorizedLookupPeer
Adds new Resource to this peer, and to the viceroy network
address - Variable in class viceroy.RemoteViceroyPeer
The address of this peer in the communication world.
address - Variable in class viceroy.LocalViceroyPeer
a real-world address, given by the ViceroyPeerManager and used by it.
address - Variable in class viceroy.net.LookupMessage
the return address
address - Variable in class viceroy.net.DummyAddress
The peer's address
Address - interface viceroy.net.Address.
Represents a real-world address in a communication system (Jxta id, an IP address etc.) The classes that implement this interface should be immutable
addressPool - Static variable in class viceroy.net.DummyAddress
The counter
addToTableBFS(ViewController, int) - Method in class viceroy.GUI.GraphPanel
Adds noses as in BFS form: the level defines the node's row
addToTableDFS(ViewController, int) - Method in class viceroy.GUI.GraphPanel
Adds a node to the hashtable
answer - Variable in class viceroy.net.LookupAnswerMessage
the value to lookup
ARROWHEAD_SIZE - Static variable in class viceroy.GUI.GraphPanel
size (in pixels of the arrow head size)
AuthorizedLookupPeer - interface viceroy.AuthorizedLookupPeer.
Represents a peer in some Lookup network.
AuthorizedViceroyPeer - interface viceroy.AuthorizedViceroyPeer.
Represents an authorized lookup peer in the viceroy network.

B

backButton - Variable in class viceroy.GUI.GraphViewer
button used to go back in the root list
beforeLookup(CustomActionData) - Method in class viceroy.GUI.ViceroyCustomActionListener
Sets the "showConnection" to "All" connections (instead of ring or up or down or butterfly) Sets the "All" to "Sticky"
BFS_BUILDMODE - Static variable in class viceroy.GUI.GraphPanel
 
BLACK - Static variable in interface viceroy.GUI.ViewController
 
BLUE - Static variable in interface viceroy.GUI.ViewController
 
buildGraph(ViewController) - Method in class viceroy.GUI.GraphPanel
Will re-build the graph for the specified root
buildMode - Variable in class viceroy.GUI.GraphPanel
BFS/DFS/RING/LINE
buildModeCombo - Variable in class viceroy.GUI.GraphViewer
 

C

calcStats(Map[], String[]) - Static method in class viceroy.ViceroyStatistics
Prints the table to the screen and calculate the average.
calculateLevel() - Method in class viceroy.LocalViceroyPeer
Calculates the level according to the algorithm specified in the article.
calculateNodePosOnLine(ViewController) - Method in class viceroy.GUI.GraphPanel
Calculates a node position on the ring sorted by its id
calculateNodePosOnRing(ViewController) - Method in class viceroy.GUI.GraphPanel
Calculates a node position on the ring sorted by its id
calculateRightValueToLook() - Method in class viceroy.LocalViceroyPeer
Calculates the value which is supposed to be this peer's right child.
CHANGING_LEVEL - Static variable in class viceroy.net.MessageType
MessageType CHANGING_LEVEL
ChangingLevelListener - interface viceroy.net.ChangingLevelListener.
Describes a listener for the message ChangingLevelMessage.
ChangingLevelMessage - class viceroy.net.ChangingLevelMessage.
represents a message which holds an update for the a peer's level
ChangingLevelMessage(ViceroyPeer) - Constructor for class viceroy.net.ChangingLevelMessage
Generates a new Message
changingLevelReceived(ViceroyPeer) - Method in interface viceroy.ViceroyPeer
Is activated when a changing level message was received.
changingLevelReceived(ViceroyPeer) - Method in class viceroy.RemoteViceroyPeer
Is activated when a changing level message was received.
changingLevelReceived(ViceroyPeer) - Method in class viceroy.LocalViceroyPeer
An information that a peer related to this peer changed his level
checkKeyType(Object) - Method in class viceroy.misc.typeSafeCollections.TypeSafeMap
Tests whether a key object is an instance of the allowed type.
checkType(Object) - Method in class viceroy.misc.typeSafeCollections.TypeSafeCollection
Tests whether the an object is an instance of the allowed type.
checkType(Object, Class) - Method in class viceroy.misc.typeSafeCollections.TypeSafeMap
Tests whether an object is an instance of the allowed type.
checkValueType(Object) - Method in class viceroy.misc.typeSafeCollections.TypeSafeMap
Tests whether a value object is an instance of the allowed type.
clear() - Method in class viceroy.misc.typeSafeCollections.TypeSafeMap
see java.util.Map
clear() - Method in class viceroy.misc.typeSafeCollections.TypeSafeCollection
see java.util.Collection
clockwiseDistance(HashValue) - Method in class viceroy.HashValue
Calculates the clock-wise distance from this HashValue to the given value.
communicationManager - Variable in class viceroy.RemoteViceroyPeer
A communication manager.
communicationManager - Variable in class viceroy.LocalViceroyPeer
a communication manager.
comparator() - Method in class viceroy.misc.typeSafeCollections.TypeSafeSortedSet
see java.util.SortedSet
comparator() - Method in class viceroy.misc.typeSafeCollections.TypeSafeSortedMap
see java.util.SortedMap
compareTo(Object) - Method in class viceroy.HashValue
Compares this object with the specified object for order.
Connection - class viceroy.Connection.
A type-safe enum representing all the possible connections of a ViceroyPeer.(connections:successor and predeccessor, Relatives:parent/left/right)
Connection(String) - Constructor for class viceroy.Connection
Constructor
connectionButton - Variable in class viceroy.GUI.GraphViewer
button used to select connection type (sticky, none, all)
connectionType - Variable in class viceroy.GUI.GraphViewer
holds the value of the current connection type
contains(Object) - Method in class viceroy.misc.typeSafeCollections.TypeSafeCollection
see java.util.Collection
containsAll(Collection) - Method in class viceroy.misc.typeSafeCollections.TypeSafeCollection
see java.util.Collection
containsID(Collection, HashValue) - Static method in class viceroy.LocalViceroyPeer
For our checks: checks if a given collection of peers contains a given id
containsKey(Object) - Method in class viceroy.misc.typeSafeCollections.TypeSafeMap
see java.util.Map
containsResource(Resource) - Method in class viceroy.LocalViceroyPeer
Checks if this peer actually holds the given resource.
containsResource(Resource) - Method in interface viceroy.AuthorizedLookupPeer
Checks if this peer actually holds the given resource.
containsValue(Object) - Method in class viceroy.misc.typeSafeCollections.TypeSafeMap
see java.util.Map
CONTROL_HEIGHT - Static variable in class viceroy.GUI.GraphViewer
height of controls
controlPanel - Variable in class viceroy.GUI.GraphViewer
GUI panel
createInitialNet(DummyCommunicationManager) - Static method in class viceroy.InitNetCreator
Creates initial net Pay attention not to "leave" the entrance point
createInitialNet2(DummyCommunicationManager) - Static method in class viceroy.InitNetCreator
Creates initial net 2 Pay attention not to "leave" the entrance point
createInitialNetPaper(DummyCommunicationManager) - Static method in class viceroy.InitNetCreator
Creates initial net Paper Pay attention not to "leave" the entrance point
createNet(int) - Static method in class viceroy.ViceroyStatistics
Create initial net create the net with the number of given peers removes the initial net
curMode - Variable in class viceroy.GUI.GraphPanel
Current mode we are using
customAction(Object, int, CustomActionData) - Method in class viceroy.GUI.ViceroyCustomActionListener
 
customAction(Object, int, CustomActionData) - Method in interface viceroy.GUI.CustomActionInterface
 
CustomActionData - interface viceroy.GUI.CustomActionData.
interface to handle the data of the viceroy's graph for the GUI
CustomActionDataImpl - class viceroy.GUI.CustomActionDataImpl.
implementation.
CustomActionDataImpl(GraphViewer) - Constructor for class viceroy.GUI.CustomActionDataImpl
CTOR
CustomActionInterface - interface viceroy.GUI.CustomActionInterface.
interface to handle the actions of the program in the GUI
customActionListeners - Variable in class viceroy.GUI.GraphViewer
 

D

data - Variable in class viceroy.GUI.GraphPanel.PoolObject
 
DEF_HEIGHT - Static variable in class viceroy.GUI.GraphViewer
default hight of entire window
DEF_WIDTH - Static variable in class viceroy.GUI.GraphViewer
default width of entire window
DEFAULT_DEPTH_LEVEL - Static variable in class viceroy.GUI.GraphViewer
depth to enter recursion in graph viewer.
DEFAULT_LINE_LENGTH - Static variable in class viceroy.GUI.GraphPanel
defualt line length
DEFAULT_PRECISION_BITS - Static variable in class viceroy.HashValue
The default number of precision bits in this HashValue's value
DEFAULT_PRECISION_BITS_TO_ADD - Static variable in class viceroy.LocalViceroyPeer
default number of precision bits to add if collision arises
DEFUALT_NUMBER_OF_LOOKUP - Static variable in class viceroy.ViceroyStatistics
default number of lookups
DEFUALT_NUMBER_OF_PEERS - Static variable in class viceroy.ViceroyStatistics
default number of peers
deleteResource(Resource) - Method in class viceroy.LocalViceroyPeer
Deletes a resource from this peer - if it is present
deleteResource(Resource) - Method in interface viceroy.AuthorizedLookupPeer
Deletes a resource from this peer- if it is present
depthEdit - Variable in class viceroy.GUI.GraphViewer
textField used to enter required depth level
depthLevel - Variable in class viceroy.GUI.GraphPanel
The depth we will enter in the recursion for displaying child nodes.
DFS_BUILDMODE - Static variable in class viceroy.GUI.GraphPanel
 
DISCOVER - Static variable in class viceroy.net.MessageType
MessageType DISCOVER
discover(ViceroyPeer) - Method in interface viceroy.net.ViceroyPeerManager
finds the successor of me in the Viceroy network.
discover(ViceroyPeer) - Method in class viceroy.net.DummyCommunicationManager
finds the successor of me in the Viceroy network.
DiscoverListener - interface viceroy.net.DiscoverListener.
Describes a listener for the message DiscoverMessage.
DiscoverMessage - class viceroy.net.DiscoverMessage.
A 'discover' message.
DiscoverMessage(ViceroyPeer) - Constructor for class viceroy.net.DiscoverMessage
 
discoverReceived(ViceroyPeer) - Method in interface viceroy.ViceroyPeer
Is activated when some peer wants to join in.
discoverReceived(ViceroyPeer) - Method in class viceroy.RemoteViceroyPeer
Is activated when some peer wants to join in.
discoverReceived(ViceroyPeer) - Method in class viceroy.LocalViceroyPeer
Is activated when some peer wants to join in, and sends a 'discover' message.
display(String) - Method in class viceroy.GUI.GraphViewer
Display a string
doingLookup - Variable in class viceroy.GUI.GraphPanel
If we are on a lookup request
drawArrowLine(Graphics, int, int, int, int) - Method in class viceroy.GUI.GraphPanel
Draws a line from (x0,y0) to (x1, y1) and adds an arrow head to the line's end.
drawLinesFrom(Graphics, Object, Color) - Method in class viceroy.GUI.GraphPanel
Draws all the edges leaving a certain node
drawLinesTo(Graphics, Object, Color) - Method in class viceroy.GUI.GraphPanel
Draws all the edges entering a certain node
drawNode(Graphics, Object, int, int, int, int) - Method in class viceroy.GUI.GraphPanel
Draws the node in the specified place
drawStickyNodeFrame(Graphics, Object, Color) - Method in class viceroy.GUI.GraphPanel
Handles sticky
DummyAddress - class viceroy.net.DummyAddress.
An Implementation for an address.
DummyAddress() - Constructor for class viceroy.net.DummyAddress
 
DummyCommunicationManager - class viceroy.net.DummyCommunicationManager.
Implementation of Communication manager
DummyCommunicationManager() - Constructor for class viceroy.net.DummyCommunicationManager
 

E

elementClicked(Object) - Method in class viceroy.GUI.GraphViewer.TextAdapter
 
elementClicked(Object) - Method in interface viceroy.GUI.GraphElementListener
If element is clicked
elementDoubleClicked(Object) - Method in class viceroy.GUI.GraphViewer.TextAdapter
 
elementDoubleClicked(Object) - Method in interface viceroy.GUI.GraphElementListener
If element is double clicked
elementReleased() - Method in class viceroy.GUI.GraphViewer.TextAdapter
 
elementReleased() - Method in interface viceroy.GUI.GraphElementListener
If element is released
ended - Variable in class viceroy.GUI.GraphViewer
 
entrancePoint - Variable in class viceroy.net.DummyCommunicationManager
The entrance point of the net
entrySet() - Method in class viceroy.misc.typeSafeCollections.TypeSafeMap
see java.util.Map Returns a type safe java.util.Set which prevents values of the wrong type to be set via the stored java.util.Map.Entry object.
equals(Object) - Method in class viceroy.ResourceImp
 
equals(Object) - Method in class viceroy.Relative
 
equals(Object) - Method in class viceroy.PeerState
 
equals(Object) - Method in class viceroy.LookupState
 
equals(Object) - Method in class viceroy.LookupMessageStatisticsImpl
true if this equals other
equals(Object) - Method in class viceroy.LocalViceroyPeer
returns true if my id equals other's id
equals(Object) - Method in class viceroy.HashValue
Checks if a given object equals to me.
equals(Object) - Method in class viceroy.misc.typeSafeCollections.TypeSafeMapEntrySet.TypeSafeMapEntry
see java.util.Map.Entry
equals(Object) - Method in class viceroy.misc.typeSafeCollections.TypeSafeMap
see java.util.Map
equals(Object) - Method in class viceroy.misc.typeSafeCollections.TypeSafeCollection
see java.util.Collection
equals(Object) - Method in class viceroy.net.MessageType
 

F

field - Variable in class viceroy.net.NewFieldMessage
the new field
FIND_RELATIVE - Static variable in class viceroy.net.MessageType
MessageType FIND_RELATIVE
findAbsoluteClosestTo(Collection, Resource) - Static method in class viceroy.FindFastAlgorithm
Gets the absolute closest peer to the given target
FindFastAlgorithm - class viceroy.FindFastAlgorithm.
A Change in the lookup algorithm.
FindFastAlgorithm(AuthorizedViceroyPeer) - Constructor for class viceroy.FindFastAlgorithm
Ctor
findLeftChild() - Method in class viceroy.LocalViceroyPeer
Finds the left child of this peer The algorithm is as follows: we should find a successor with this.level+1 We should find the closest hash value to me (clockwise closest to me) provided that it has a level higher than mine by one.
findLeftChildInitiated - Variable in class viceroy.LocalViceroyPeer
Indicates if this peer initated the search for its left child.
findParent() - Method in class viceroy.LocalViceroyPeer
Finds the parent of this peer
findParentInitiated - Variable in class viceroy.LocalViceroyPeer
Indicates if this peer initated the search for its parent.
findRelative(ViceroyPeer, Relative) - Method in interface viceroy.ViceroyPeer
Finds the left child of this peer
findRelative(ViceroyPeer, Relative) - Method in class viceroy.RemoteViceroyPeer
Finds the relative of this peer Impl note: The algorithm for the left child is as follows: find a successor with this.level+1 .
findRelative(ViceroyPeer, Relative) - Method in class viceroy.LocalViceroyPeer
Finds the relative of this peer
FindRelativeListener - interface viceroy.net.FindRelativeListener.
Describes a listener for the message FindrelativeMessage.
FindRelativeMessage - class viceroy.net.FindRelativeMessage.
A 'find relative' message.
FindRelativeMessage(ViceroyPeer, Relative) - Constructor for class viceroy.net.FindRelativeMessage
creates a new find relative message
findRightChild() - Method in class viceroy.LocalViceroyPeer
Finds the right child of this peer The algorithm is as follows: 1.
findRightChildInitiated - Variable in class viceroy.LocalViceroyPeer
Indicates if this peer initated the search for its right child.
fireClicked(Object) - Method in class viceroy.GUI.GraphPanel
Triggers the GraphElementClicked event on all listeners
fireCustomAction(Object, int, CustomActionData) - Method in class viceroy.GUI.GraphViewer
 
fireDoubleClicked(Object) - Method in class viceroy.GUI.GraphPanel
Triggers the GraphElementDoubleClicked event on all listeners
fireReleased() - Method in class viceroy.GUI.GraphPanel
Triggers the GraphElementReleased event on all listeners
first() - Method in class viceroy.misc.typeSafeCollections.TypeSafeSortedSet
see java.util.SortedSet
firstKey() - Method in class viceroy.misc.typeSafeCollections.TypeSafeSortedMap
see java.util.SortedMap
freeLock(Object) - Method in class viceroy.LocalViceroyPeer
free a lock on this object

G

get(int) - Method in class viceroy.misc.typeSafeCollections.TypeSafeList
see java.util.List
get(Object) - Method in class viceroy.misc.typeSafeCollections.TypeSafeMap
see java.util.Map
getAddress() - Method in class viceroy.RemoteViceroyPeer
Returns a real-world address for sending messages
getAddress() - Method in interface viceroy.LookupPeer
Returns a real-world address for sending messages
getAddress() - Method in class viceroy.LocalViceroyPeer
Returns a real-world address for sending messages
getAnswer() - Method in class viceroy.net.LookupAnswerMessage
gets the peer which holds the looked up resource
getArrowHeadSize() - Method in class viceroy.GUI.GraphPanel
Return the size of the arrow head
getBuildMode() - Method in class viceroy.GUI.GraphPanel
Gets the build mode
getChildren(int) - Method in class viceroy.LocalViceroyPeer
Returns all the outgoing connections of the node: All/Ring/Butterfly
getChildren(int) - Method in interface viceroy.GUI.ViewController
Returns all the children of the node
getColor(int) - Method in class viceroy.LocalViceroyPeer
Returns one of the above color enum telling the panel how to display the node in the gui
getColor(int) - Method in interface viceroy.GUI.ViewController
Returns one of the above color enum telling the panel how to display the node in the gui
getColorByType(LookupState) - Static method in class viceroy.GUI.GraphPanel
Gets a color by a node's type
getCommunicationManager() - Method in class viceroy.LocalViceroyPeer
Gets the communication manager of the peer
getCommunicationManager() - Method in interface viceroy.AuthorizedViceroyPeer
Gets the communication manager of the peer
getConnections() - Method in class viceroy.LocalViceroyPeer
Gets a set holding both outgoing and ingoing connections of this peer.
getConnections() - Method in interface viceroy.AuthorizedViceroyPeer
Gets a set holding both outgoing and ingoing connections of this peer.
getConnectionType() - Method in interface viceroy.MessageStatistics
Gets the type of the connection that this peer function as, to the previous one, and caused the mesaage sending to this peer.
getConnectionType() - Method in class viceroy.LookupMessageStatisticsImpl
Gets the type of the connection that this peer function as, to the previous one, and caused the mesaage sending to this peer.
getDepthLevel() - Method in class viceroy.GUI.GraphPanel
Gets the depth level
getElementSize() - Method in class viceroy.GUI.GraphPanel
Returns the number of pixels each element takes in the current display ratio
getField() - Method in class viceroy.net.NewFieldMessage
gets the field
getGraph() - Method in class viceroy.GUI.CustomActionDataImpl
Returns the graph
getGraph() - Method in interface viceroy.GUI.CustomActionData
 
getGraphPanel() - Method in class viceroy.GUI.GraphViewer
 
getInbound() - Method in class viceroy.net.InboundRelativeMessage
gets the searcher
getInboundRelatives() - Method in class viceroy.LocalViceroyPeer
Gets a view of the inbound conections to this peer: children and parents.
getInboundRelatives() - Method in interface viceroy.AuthorizedViceroyPeer
Gets a view of the inbound conections to this peer: children and parents.
getKey() - Method in class viceroy.misc.typeSafeCollections.TypeSafeMapEntrySet.TypeSafeMapEntry
see java.util.Map.Entry
getKeyType() - Method in class viceroy.misc.typeSafeCollections.TypeSafeMap
Returns the type of the keys.
getLastInPath() - Method in class viceroy.MessagePath
Gets the last element in the path.
getLeavingPredecessor() - Method in class viceroy.net.LeavingPeerMessage
gets the leaving peer's predecessor
getLeavingSuccessor() - Method in class viceroy.net.LeavingPeerMessage
gets the leaving peer's successor
getLeavingValues() - Method in class viceroy.net.LeavingPeerMessage
gets the leaving peer's values
getLeftChild() - Method in class viceroy.LocalViceroyPeer
Gets the peer's left child
getLeftChild() - Method in interface viceroy.AuthorizedViceroyPeer
Gets the peer's left child
getLevel() - Method in interface viceroy.ViceroyPeer
Gets the level of this peer.
getLevel() - Method in class viceroy.RemoteViceroyPeer
Gets the level of this peer.
getLevel() - Method in class viceroy.LocalViceroyPeer
Gets the level of this peer.
getLevel() - Method in interface viceroy.GUI.ViewController
Returns the level of a node
getLock(Object) - Method in class viceroy.LocalViceroyPeer
get a lock on this object
getLookupAlgorithm() - Method in class viceroy.net.LookupMessage
gets the lookup method - which lookup algorithm to use
getLookupAnswer(Resource) - Method in class viceroy.LocalViceroyPeer
Gets the viceroy peer who is supposed to be responsible for the lookedup value
getLookupAnswer(Resource) - Method in interface viceroy.GUI.ViewController
Gets the viceroy peer who is supposed to be responsible for the lookedup value
getLookupPath() - Method in class viceroy.net.LookupAnswerMessage
gets the path that the lookup message went through
getLookupPath(Resource) - Method in class viceroy.LocalViceroyPeer
Gets the path that the lookup search has gone through
getLookupPath(Resource) - Method in interface viceroy.GUI.ViewController
Gets the path that the lookup search has gone through
getLookupState() - Method in class viceroy.PapersAlgorithm
Gets the state of the lookup
getLookupState() - Method in class viceroy.LookupMessageStatisticsImpl
Gets the state of the lookup
getLookupState() - Method in interface viceroy.LookupMessageStatistics
Gets the state of the lookup
getLookupVal() - Method in class viceroy.GUI.GraphViewer
Gets the lookup val
getLookupVal() - Method in class viceroy.GUI.GraphPanel
Gets the lookup value
getMessagePath() - Method in class viceroy.PapersAlgorithm
Gets the path of the lookup message
getMessagePath() - Method in interface viceroy.LookupAlgorithm
Returns the path of the lookup message
getMessagePath() - Method in class viceroy.FindFastAlgorithm
Gets the message path
getMode() - Method in class viceroy.GUI.GraphPanel
Gets the mode
getNextInRow(int) - Method in class viceroy.GUI.GraphPanel
Get next available col in a given row, and updates the lastInRow vector
getNodeFromPoint(int, int) - Method in class viceroy.GUI.GraphPanel
Returns the node at a givel (pixel) coordinate
getNumberOfNodes() - Method in class viceroy.GUI.GraphViewer
Gets the number of nodes
getNumberOfNodes() - Method in class viceroy.GUI.GraphPanel
Gets the number of nodes
getPath() - Method in class viceroy.MessagePath
Returns a view of the path elements.
getPeer() - Method in interface viceroy.MessageStatistics
Gets the visited peer
getPeer() - Method in class viceroy.LookupMessageStatisticsImpl
Gets the visited peer
getPeer() - Method in class viceroy.net.LeavingPeerMessage
gets the peer that is going to leave
getPredecessor() - Method in class viceroy.LocalViceroyPeer
Gets the peer's predeccessor
getPredecessor() - Method in interface viceroy.AuthorizedViceroyPeer
Gets the peer's predecessor
getPredecessor() - Method in class viceroy.net.JoinLeaveDataMessage
gets the predecessor viceroy peer
getRandomInRange(int) - Static method in class viceroy.HashValue
Gets a random in the specific range
getReturnAddress() - Method in class viceroy.net.LookupMessage
gets the viceroy peer that the answer message should be sent to
getRightChild() - Method in class viceroy.LocalViceroyPeer
Gets the peer's right child
getRightChild() - Method in interface viceroy.AuthorizedViceroyPeer
Gets the peer's right child
getRoot() - Method in class viceroy.GUI.GraphViewer
Gets the root
getRoot() - Method in class viceroy.GUI.GraphPanel
gets the root
getSearcher() - Method in class viceroy.net.FindRelativeMessage
gets the searcher
getSender() - Method in class viceroy.net.DiscoverMessage
Gets the sender of this message
getShape(int) - Method in class viceroy.LocalViceroyPeer
Returns one of the above SHAPE_ enum telling the panel how to display the node in the gui
getShape(int) - Method in interface viceroy.GUI.ViewController
Returns one of the above SHAPE_ enum telling the panel how to display the node in the gui
getShowConnections() - Method in class viceroy.GUI.GraphPanel
Gets the connections
getState() - Method in class viceroy.LocalViceroyPeer
Returns the peer's state: joining leaving etc.
getState() - Method in interface viceroy.AuthorizedViceroyPeer
Gets the peer's state
getStickyDisplay() - Method in class viceroy.GUI.GraphPanel
Gets the sticky display
getStickyNode() - Method in class viceroy.GUI.GraphPanel
Gets the sticky node
getSuccessor() - Method in class viceroy.LocalViceroyPeer
Gets the peer's Successor
getSuccessor() - Method in interface viceroy.AuthorizedViceroyPeer
Gets the peer's successor
getSuccessor() - Method in class viceroy.net.JoinLeaveDataMessage
gets the successor viceroy peer
getType() - Method in class viceroy.misc.typeSafeCollections.TypeSafeCollection
Returns the type of objects which can be added to this collection
getType() - Method in class viceroy.net.NewSuccessorMessage
gets the type of the message
getType() - Method in class viceroy.net.NewRightChildMessage
gets the type of the message
getType() - Method in class viceroy.net.NewPredecessorMessage
gets the type of the message
getType() - Method in class viceroy.net.NewParentMessage
gets the type of the message
getType() - Method in class viceroy.net.NewLeftChildMessage
gets the type of the message
getType() - Method in interface viceroy.net.Message
gets the type of the message
getType() - Method in class viceroy.net.LookupMessage
gets the type of the message
getType() - Method in class viceroy.net.LookupAnswerMessage
gets the type of the message
getType() - Method in class viceroy.net.LeavingPeerMessage
gets the type of the message
getType() - Method in class viceroy.net.LeaveDataMessage
gets the type of the message
getType() - Method in class viceroy.net.JoinDataMessage
gets the type of the message
getType() - Method in class viceroy.net.InboundRelativeMessage
gets the type of the message
getType() - Method in class viceroy.net.FindRelativeMessage
gets the type of the message
getType() - Method in class viceroy.net.DiscoverMessage
Gets the type of the message
getType() - Method in class viceroy.net.ChangingLevelMessage
Gets the type of the message
getTypeOfRelative() - Method in class viceroy.net.InboundRelativeMessage
gets the searcher
getTypeOfRelative() - Method in class viceroy.net.FindRelativeMessage
gets the searcher
getValue() - Method in class viceroy.misc.typeSafeCollections.TypeSafeMapEntrySet.TypeSafeMapEntry
see java.util.Map.Entry
getValueLookedUp() - Method in class viceroy.net.LookupAnswerMessage
gets the value that was looked up
getValues() - Method in class viceroy.LocalViceroyPeer
Gets an unmodifiable Map of this peer's values
getValues() - Method in class viceroy.net.JoinLeaveDataMessage
gets the values stored
getValueToLook() - Method in class viceroy.net.LookupMessage
gets the value that was looked up
getValueType() - Method in class viceroy.misc.typeSafeCollections.TypeSafeMap
Returns the type of the values.
getVisitTime() - Method in interface viceroy.MessageStatistics
Gets the time that this peer was visited, as returned from System.currentTimeMillis()
getVisitTime() - Method in class viceroy.LookupMessageStatisticsImpl
Gets the time that this peer was visited, as returned from System.currentTimeMillis()
getZoomRatio() - Method in class viceroy.GUI.GraphPanel
Gets the zoom ratio
goToLeftChild(AuthorizedViceroyPeer, LookupState) - Method in class viceroy.PapersAlgorithm
going to the left child as the next step (in the TraverseTree) in the lookup algorithm
goToParent(AuthorizedViceroyPeer, LookupState) - Method in class viceroy.PapersAlgorithm
going to the parent as the next step in the lookup algorithm
goToPredecessor(AuthorizedViceroyPeer, LookupState) - Method in class viceroy.PapersAlgorithm
going to the predecessor as the next step in the lookup algorithm
goToRightChild(AuthorizedViceroyPeer, LookupState) - Method in class viceroy.PapersAlgorithm
going to the right child as the next step (in the TraverseTree) in the lookup algorithm
goToSuccessor(AuthorizedViceroyPeer, LookupState) - Method in class viceroy.PapersAlgorithm
going to the successor as the next step in the lookup algorithm
graph - Variable in class viceroy.GUI.CustomActionDataImpl
 
GraphElementListener - interface viceroy.GUI.GraphElementListener.
interface used by listeners of GraphPanel to listen to events
graphPanel - Variable in class viceroy.GUI.GraphViewer
panel containg the graph
GraphPanel - class viceroy.GUI.GraphPanel.
This class actually displays the graph.
GraphPanel.MouseHandler - class viceroy.GUI.GraphPanel.MouseHandler.
handles the mouse events sent on the panel
GraphPanel.MouseHandler() - Constructor for class viceroy.GUI.GraphPanel.MouseHandler
 
GraphPanel.PoolObject - class viceroy.GUI.GraphPanel.PoolObject.
a pool object
GraphPanel.PoolObject(ViewController, int) - Constructor for class viceroy.GUI.GraphPanel.PoolObject
the constructor
GraphPanel() - Constructor for class viceroy.GUI.GraphPanel
constructs the panel
GraphView - Variable in class viceroy.GUI.GraphViewer
used to contain the graph (this adds scroll bars if needed)
GraphViewer - class viceroy.GUI.GraphViewer.
Main GUI Class, divided into two major parts: the first is a panel with control to direct the acutal graph, the second contain the actual GraphPanel.
GraphViewer.BackButtonAdapter - class viceroy.GUI.GraphViewer.BackButtonAdapter.
 
GraphViewer.BackButtonAdapter() - Constructor for class viceroy.GUI.GraphViewer.BackButtonAdapter
 
GraphViewer.BuildModeComboAdapter - class viceroy.GUI.GraphViewer.BuildModeComboAdapter.
 
GraphViewer.BuildModeComboAdapter() - Constructor for class viceroy.GUI.GraphViewer.BuildModeComboAdapter
 
GraphViewer.CustomActionAdapter - class viceroy.GUI.GraphViewer.CustomActionAdapter.
 
GraphViewer.CustomActionAdapter() - Constructor for class viceroy.GUI.GraphViewer.CustomActionAdapter
 
GraphViewer.LookupValAdapter - class viceroy.GUI.GraphViewer.LookupValAdapter.
 
GraphViewer.LookupValAdapter() - Constructor for class viceroy.GUI.GraphViewer.LookupValAdapter
 
GraphViewer.ModeComboAdapter - class viceroy.GUI.GraphViewer.ModeComboAdapter.
 
GraphViewer.ModeComboAdapter() - Constructor for class viceroy.GUI.GraphViewer.ModeComboAdapter
 
GraphViewer.NumberOfNodesAdapter - class viceroy.GUI.GraphViewer.NumberOfNodesAdapter.
 
GraphViewer.NumberOfNodesAdapter() - Constructor for class viceroy.GUI.GraphViewer.NumberOfNodesAdapter
 
GraphViewer.RefreshButtonAdapter - class viceroy.GUI.GraphViewer.RefreshButtonAdapter.
 
GraphViewer.RefreshButtonAdapter() - Constructor for class viceroy.GUI.GraphViewer.RefreshButtonAdapter
 
GraphViewer.RingRadiusComboAdapter - class viceroy.GUI.GraphViewer.RingRadiusComboAdapter.
 
GraphViewer.RingRadiusComboAdapter() - Constructor for class viceroy.GUI.GraphViewer.RingRadiusComboAdapter
 
GraphViewer.ShowConnectionsAdapter - class viceroy.GUI.GraphViewer.ShowConnectionsAdapter.
 
GraphViewer.ShowConnectionsAdapter() - Constructor for class viceroy.GUI.GraphViewer.ShowConnectionsAdapter
 
GraphViewer.TextAdapter - class viceroy.GUI.GraphViewer.TextAdapter.
 
GraphViewer.TextAdapter() - Constructor for class viceroy.GUI.GraphViewer.TextAdapter
 
GraphViewer.ZoomComboAdapter - class viceroy.GUI.GraphViewer.ZoomComboAdapter.
 
GraphViewer.ZoomComboAdapter() - Constructor for class viceroy.GUI.GraphViewer.ZoomComboAdapter
 
GraphViewer(Vector, Vector) - Constructor for class viceroy.GUI.GraphViewer
Constructor
GraphViewer$1 - class viceroy.GUI.GraphViewer$1.
 
GraphViewer$1(GraphViewer) - Constructor for class viceroy.GUI.GraphViewer$1
 
GREEN - Static variable in interface viceroy.GUI.ViewController
 

H

hashCode() - Method in class viceroy.RemoteViceroyPeer
Return the peer's id
hashCode() - Method in class viceroy.Relative
 
hashCode() - Method in class viceroy.PeerState
 
hashCode() - Method in class viceroy.LookupState
 
hashCode() - Method in class viceroy.LookupMessageStatisticsImpl
returns the hashcode
hashCode() - Method in class viceroy.LocalViceroyPeer
Returns the hash code of this peer
hashCode() - Method in class viceroy.HashValue
uses the value's hashcode to return a hashcode
hashCode() - Method in class viceroy.misc.typeSafeCollections.TypeSafeMapEntrySet.TypeSafeMapEntry
see java.util.Map.Entry
hashCode() - Method in class viceroy.net.MessageType
 
HashValue - class viceroy.HashValue.
Represents the result value of a hash-function on some object.
hashValue() - Method in class viceroy.ResourceImp
calculates the hash value.
hashValue() - Method in interface viceroy.Resource
Calculates the hash value.
hashValue() - Method in class viceroy.RemoteViceroyPeer
Calculates the hash value.
hashValue() - Method in class viceroy.LocalViceroyPeer
Calculates the hash value.
hashValue() - Method in interface viceroy.GUI.ViewController
Calculates the hash value.
HashValue() - Constructor for class viceroy.HashValue
creates a new HashValue with a random value (uniform distribution) with the default number of bits.
HashValue(HashValue, int, HashValue) - Constructor for class viceroy.HashValue
Creates a new HashValue, which is based on the given one, making it more precise, according to the given parameter.
HashValue(int) - Constructor for class viceroy.HashValue
Creates a new HashValue with a random value (uniform distribution) with the requested number of bits.
HashValue(String) - Constructor for class viceroy.HashValue
Creates a HashValue from a given string
HashValue(String, int) - Constructor for class viceroy.HashValue
Creates a HashValue from a given string and precision bits.
HashValue(String, String) - Constructor for class viceroy.HashValue
 
hasNext() - Method in class viceroy.misc.typeSafeCollections.TypeSafeMapEntrySet.TypeSafeMapEntryIterator
see java.util.Iterator
hasNext() - Method in class viceroy.misc.typeSafeCollections.TypeSafeList.TypeSafeListIterator
see java.util.ListIterator
hasPrevious() - Method in class viceroy.misc.typeSafeCollections.TypeSafeList.TypeSafeListIterator
see java.util.ListIterator
headMap(Object) - Method in class viceroy.misc.typeSafeCollections.TypeSafeSortedMap
See java.util.SortedMap Returns a type safe java.util.SortedMap
headSet(Object) - Method in class viceroy.misc.typeSafeCollections.TypeSafeSortedSet
See java.util.SortedSet Returns a type safe java.util.SortedSet
howOvershoots(ViceroyPeer, Resource) - Static method in class viceroy.PapersAlgorithm
Returns a double value which symoblizes the clockwise distance that the peer's child overshoots the target

I

id - Variable in class viceroy.RemoteViceroyPeer
This peer's identifier in the viceroy network
id - Variable in class viceroy.LocalViceroyPeer
The id of this peer
IllegalResourceInsertionException - exception viceroy.IllegalResourceInsertionException.
Represents a wrong insertion of a resource to a peer, for example insertion of a resource to a peer which is not be responsible for.
IllegalResourceInsertionException(String) - Constructor for class viceroy.IllegalResourceInsertionException
Creates a new IllegalResourceInsertionException
INACTIVE - Static variable in class viceroy.PeerState
State - Inactive
inbound - Variable in class viceroy.net.InboundRelativeMessage
this is my inbound connection: inbound chose me as its relative
INBOUND_RELATIVE - Static variable in class viceroy.net.MessageType
MessageType INBOUND_RELATIVE
InboundRelativeListener - interface viceroy.net.InboundRelativeListener.
Describes a listener for the message InboundRelativeMessage.
InboundRelativeMessage - class viceroy.net.InboundRelativeMessage.
An 'inbound relative' message.
InboundRelativeMessage(ViceroyPeer, Relative) - Constructor for class viceroy.net.InboundRelativeMessage
creates a new inbound relative message
inboundRelatives - Variable in class viceroy.LocalViceroyPeer
inbound conections to this peer: children and parents.
indexOf(Object) - Method in class viceroy.misc.typeSafeCollections.TypeSafeList
see java.util.List
InitNetCreator - class viceroy.InitNetCreator.
Tests the Local viceroy peer
InitNetCreator() - Constructor for class viceroy.InitNetCreator
 
insertValue(Resource) - Method in class viceroy.LocalViceroyPeer
Inserts a value to this peer FOR our checks
insertValues(SortedMap) - Method in class viceroy.LocalViceroyPeer
inserts the given collection to the values list
isEmpty() - Method in class viceroy.misc.typeSafeCollections.TypeSafeMap
see java.util.Map
isEmpty() - Method in class viceroy.misc.typeSafeCollections.TypeSafeCollection
see java.util.Collection
isFirstTime(Relative) - Method in class viceroy.LocalViceroyPeer
Returns True if a search for a relative (from the given type) was not initated, i.e., True if this is the first time to search for this relative False otherwise.
isInStretch(HashValue, HashValue) - Method in class viceroy.HashValue
Checks if this HashValue is between begin and end.
isInStretchExclusive(HashValue, HashValue) - Method in class viceroy.HashValue
Checks if this HashValue is between begin and end, clock-wise and exclusive.
isInStretchExclusiveNonCyclic(HashValue, HashValue) - Method in class viceroy.HashValue
Checks if this HashValue is in the Sretch (begin,end) but only if begin < end.
isInStretchNonCyclic(HashValue, HashValue) - Method in class viceroy.HashValue
Checks if this HashValue is in the Sretch (begin,end] but only if begin < end.
isLeaf() - Method in class viceroy.LocalViceroyPeer
Checks if the current peer is a leaf or not
isResponsibleFor(HashValue) - Method in class viceroy.LocalViceroyPeer
True if this peer is responsible for the given value - if the value is in the range of values that this peer is responsible for (predecessor,id]
isResponsibleFor(HashValue) - Method in interface viceroy.AuthorizedLookupPeer
True if this peer is responsible for the given value - if the value is in the range of values that this peer is responsible for (predecessor,id]
isRoot() - Method in class viceroy.LocalViceroyPeer
Checks if the current peer is a root or not
iterator() - Method in class viceroy.misc.typeSafeCollections.TypeSafeMapEntrySet
See java.util.Set Returns an java.util.Iterator which gives access to type safe Map.Entry objects only.
iterator() - Method in class viceroy.misc.typeSafeCollections.TypeSafeCollection
see java.util.Collection

J

JOIN_DATA - Static variable in class viceroy.net.MessageType
MessageType JOIN_DATA
join() - Method in class viceroy.LocalViceroyPeer
Join this peer to the network: changes its state to joining selects an id the communication manager adds the correct listeners the communication manager finds my successor ("discover me").
join() - Method in interface viceroy.AuthorizedLookupPeer
Joins this peer to the network
join(HashValue) - Method in class viceroy.LocalViceroyPeer
Join for debug purposes (joins with a given id)
joinBeforeMe - Variable in class viceroy.LocalViceroyPeer
Condition variable initialized to false to indicate condition has not occurred.
joinBeforeMeLock - Variable in class viceroy.LocalViceroyPeer
Only one peer is allowed to join before me at a time, and the rest should wait.
JoinDataListener - interface viceroy.net.JoinDataListener.
Describes a listener for the message JoinDataMessage.
joinDataListeners - Variable in class viceroy.LocalViceroyPeer
a Set of JoinDataListeners that will be activated when the peer has completed the join operation.
JoinDataMessage - class viceroy.net.JoinDataMessage.
A 'Join data' message.
JoinDataMessage(ViceroyPeer, ViceroyPeer, SortedMap) - Constructor for class viceroy.net.JoinDataMessage
creates a new message
joinDataReceived(ViceroyPeer, ViceroyPeer, SortedMap) - Method in interface viceroy.ViceroyPeer
Is activated when a JoinData message arrives
joinDataReceived(ViceroyPeer, ViceroyPeer, SortedMap) - Method in class viceroy.RemoteViceroyPeer
Is activated when a JoinData message arrives
joinDataReceived(ViceroyPeer, ViceroyPeer, SortedMap) - Method in class viceroy.LocalViceroyPeer
Is activated when a JoinData message arrives.
JOINING - Static variable in class viceroy.PeerState
State - Joining
JoinLeaveDataMessage - class viceroy.net.JoinLeaveDataMessage.
A 'new peer data' message.
JoinLeaveDataMessage(ViceroyPeer, ViceroyPeer, SortedMap) - Constructor for class viceroy.net.JoinLeaveDataMessage
creates a new message

K

keySet() - Method in class viceroy.misc.typeSafeCollections.TypeSafeMap
see java.util.Map

L

last() - Method in class viceroy.misc.typeSafeCollections.TypeSafeSortedSet
see java.util.SortedSet
lastIndexOf(Object) - Method in class viceroy.misc.typeSafeCollections.TypeSafeList
see java.util.List
lastKey() - Method in class viceroy.misc.typeSafeCollections.TypeSafeSortedMap
see java.util.SortedMap
launchGui(ViewController) - Static method in class viceroy.LocalViceroyPeer
Launces the GUI
LEAVE_DATA - Static variable in class viceroy.net.MessageType
MessageType LEAVE_DATA
leave() - Method in class viceroy.LocalViceroyPeer
Removes this peer from the network.
leave() - Method in interface viceroy.AuthorizedLookupPeer
Removes this peer from the network
leave(AuthorizedViceroyPeer) - Method in interface viceroy.net.ViceroyPeerManager
removes the given peer from the network.
leave(AuthorizedViceroyPeer) - Method in class viceroy.net.DummyCommunicationManager
removes the given peer from the network.
LeaveDataListener - interface viceroy.net.LeaveDataListener.
Describes a listener for the message LeaveDataMessage.
LeaveDataMessage - class viceroy.net.LeaveDataMessage.
A 'Leave data' message.
LeaveDataMessage(ViceroyPeer, ViceroyPeer, SortedMap) - Constructor for class viceroy.net.LeaveDataMessage
creates a new message
leaveDataReceived(ViceroyPeer, ViceroyPeer, SortedMap) - Method in interface viceroy.ViceroyPeer
Is activated when a LeaveData message arrives from the predecessor of this peer
leaveDataReceived(ViceroyPeer, ViceroyPeer, SortedMap) - Method in class viceroy.RemoteViceroyPeer
Is activated when a LeaveData message arrives from the predecessor of this peer
leaveDataReceived(ViceroyPeer, ViceroyPeer, SortedMap) - Method in class viceroy.LocalViceroyPeer
Is activated when a LeaveData message arrives from the predecessor of this peer
leaving - Variable in class viceroy.net.LeavingPeerMessage
the peer which is leaving
LEAVING - Static variable in class viceroy.PeerState
State - Leaving
LEAVING_PEER - Static variable in class viceroy.net.MessageType
MessageType LEAVING_PEER
LeavingPeerListener - interface viceroy.net.LeavingPeerListener.
Describes a listener for the message LeavingPeerMessage.
LeavingPeerMessage - class viceroy.net.LeavingPeerMessage.
represents a 'leaving peer' message.
LeavingPeerMessage(ViceroyPeer, ViceroyPeer, ViceroyPeer, SortedMap) - Constructor for class viceroy.net.LeavingPeerMessage
generates a new message
leavingPeerReceived(ViceroyPeer, ViceroyPeer, ViceroyPeer, SortedMap) - Method in interface viceroy.ViceroyPeer
Is activated once a LeavingPeerMessage arrives.
leavingPeerReceived(ViceroyPeer, ViceroyPeer, ViceroyPeer, SortedMap) - Method in class viceroy.RemoteViceroyPeer
Is activated once a LeavingPeerMessage arrives.
leavingPeerReceived(ViceroyPeer, ViceroyPeer, ViceroyPeer, SortedMap) - Method in class viceroy.LocalViceroyPeer
Is activated once a LeavingPeerMessage arrives.
leavingPredecessor - Variable in class viceroy.net.LeavingPeerMessage
The leaving peer's predeccessor
leavingSuccessor - Variable in class viceroy.net.LeavingPeerMessage
The leaving peer's successor
leavingValues - Variable in class viceroy.net.LeavingPeerMessage
The leaving peer's values
LEFT_CHILD - Static variable in class viceroy.Relative
Relative - left child
leftChild - Variable in class viceroy.LocalViceroyPeer
The left child of this peer on butterfly network (on this.level+1)
leftChildReceived - Variable in class viceroy.LocalViceroyPeer
Indicated if a leftChild message has been received by this peer.
level - Variable in class viceroy.RemoteViceroyPeer
The peer's level
level - Variable in class viceroy.LocalViceroyPeer
The level of this peer on the butterfly network
LINE_BUILDMODE - Static variable in class viceroy.GUI.GraphPanel
Modes for the building the graph
LINE_COLOR_MAP - Static variable in class viceroy.GUI.GraphPanel
colors
lineLength - Variable in class viceroy.GUI.GraphPanel
line length
Listener - interface viceroy.net.Listener.
Represents a listener.
listeners - Variable in class viceroy.GUI.GraphPanel
A vector of listener classes implementing the GraphElementListener interface
listIterator() - Method in class viceroy.misc.typeSafeCollections.TypeSafeList
see java.util.List Returns a type safe java.util.ListIterator
listIterator(int) - Method in class viceroy.misc.typeSafeCollections.TypeSafeList
see java.util.List Returns a type safe java.util.ListIterator
LocalViceroyPeer - class viceroy.LocalViceroyPeer.
Represents a local peer in the Viceroy network.
LocalViceroyPeer.1 - class viceroy.LocalViceroyPeer.1.
 
LocalViceroyPeer.MyChangingLevelListener - class viceroy.LocalViceroyPeer.MyChangingLevelListener.
a Listener class.
LocalViceroyPeer.MyChangingLevelListener() - Constructor for class viceroy.LocalViceroyPeer.MyChangingLevelListener
 
LocalViceroyPeer.MyDiscoverListener - class viceroy.LocalViceroyPeer.MyDiscoverListener.
a Listener class.
LocalViceroyPeer.MyDiscoverListener() - Constructor for class viceroy.LocalViceroyPeer.MyDiscoverListener
 
LocalViceroyPeer.MyFindRelativeListener - class viceroy.LocalViceroyPeer.MyFindRelativeListener.
a Listener class.
LocalViceroyPeer.MyFindRelativeListener() - Constructor for class viceroy.LocalViceroyPeer.MyFindRelativeListener
 
LocalViceroyPeer.MyInboundRelativeListener - class viceroy.LocalViceroyPeer.MyInboundRelativeListener.
a Listener class.
LocalViceroyPeer.MyInboundRelativeListener() - Constructor for class viceroy.LocalViceroyPeer.MyInboundRelativeListener
 
LocalViceroyPeer.MyJoinDataListener - class viceroy.LocalViceroyPeer.MyJoinDataListener.
a Listener class.
LocalViceroyPeer.MyJoinDataListener() - Constructor for class viceroy.LocalViceroyPeer.MyJoinDataListener
 
LocalViceroyPeer.MyLeaveDataListener - class viceroy.LocalViceroyPeer.MyLeaveDataListener.
a Listener class.
LocalViceroyPeer.MyLeaveDataListener() - Constructor for class viceroy.LocalViceroyPeer.MyLeaveDataListener
 
LocalViceroyPeer.MyLeavingPeerListener - class viceroy.LocalViceroyPeer.MyLeavingPeerListener.
a Listener class.
LocalViceroyPeer.MyLeavingPeerListener() - Constructor for class viceroy.LocalViceroyPeer.MyLeavingPeerListener
 
LocalViceroyPeer.MyLookupAnswerListener - class viceroy.LocalViceroyPeer.MyLookupAnswerListener.
a Listener class.
LocalViceroyPeer.MyLookupAnswerListener() - Constructor for class viceroy.LocalViceroyPeer.MyLookupAnswerListener
 
LocalViceroyPeer.MyLookupListener - class viceroy.LocalViceroyPeer.MyLookupListener.
A Listener class.
LocalViceroyPeer.MyLookupListener() - Constructor for class viceroy.LocalViceroyPeer.MyLookupListener
 
LocalViceroyPeer.MyNewLeftChildListener - class viceroy.LocalViceroyPeer.MyNewLeftChildListener.
a Listener class.
LocalViceroyPeer.MyNewLeftChildListener() - Constructor for class viceroy.LocalViceroyPeer.MyNewLeftChildListener
 
LocalViceroyPeer.MyNewParentListener - class viceroy.LocalViceroyPeer.MyNewParentListener.
a Listener class.
LocalViceroyPeer.MyNewParentListener() - Constructor for class viceroy.LocalViceroyPeer.MyNewParentListener
 
LocalViceroyPeer.MyNewPredecessorListener - class viceroy.LocalViceroyPeer.MyNewPredecessorListener.
a Listener class.
LocalViceroyPeer.MyNewPredecessorListener() - Constructor for class viceroy.LocalViceroyPeer.MyNewPredecessorListener
 
LocalViceroyPeer.MyNewRightChildListener - class viceroy.LocalViceroyPeer.MyNewRightChildListener.
a Listener class.
LocalViceroyPeer.MyNewRightChildListener() - Constructor for class viceroy.LocalViceroyPeer.MyNewRightChildListener
 
LocalViceroyPeer.MyNewSuccessorListener - class viceroy.LocalViceroyPeer.MyNewSuccessorListener.
a Listener class.
LocalViceroyPeer.MyNewSuccessorListener() - Constructor for class viceroy.LocalViceroyPeer.MyNewSuccessorListener
 
LocalViceroyPeer(HashValue, ViceroyPeerManager, int, Resource) - Constructor for class viceroy.LocalViceroyPeer
a Ctor For our private checks.
LocalViceroyPeer(ViceroyPeerManager) - Constructor for class viceroy.LocalViceroyPeer
Constructs a new LocalViceroyPeer.
log10(double) - Static method in class viceroy.HashValue
Returns the log10 of a given number NOTE<\B> This method returns a floor rounding!!!
log2(double) - Static method in class viceroy.HashValue
Returns the log2 of a given number NOTE<\B> This method returns a floor rounding!!!
logger - Static variable in class viceroy.ViceroyStatistics
logger for debug
logger - Static variable in class viceroy.TraverseTreePlusAlgorithm
logger for debug
logger - Static variable in class viceroy.TraverseTreeAbsoluteAlgorithm
logger for debug
logger - Static variable in class viceroy.TestViceroy
 
logger - Static variable in class viceroy.PapersPlusAlgorithm
logger for debug
logger - Static variable in class viceroy.PapersAlgorithm
logger for debug
logger - Static variable in class viceroy.MyTryBig
a logger for checks
logger - Static variable in class viceroy.LocalViceroyPeer
a logger for checks
logger - Static variable in class viceroy.InitNetCreator
 
logger - Static variable in class viceroy.HashValue
Logger for debug
logger - Static variable in class viceroy.FindFastAlgorithm
A logger for our debug
logger - Static variable in class viceroy.GUI.ViceroyCustomActionListener
 
logger - Static variable in class viceroy.GUI.GraphViewer
 
logger - Static variable in class viceroy.GUI.GraphPanel
 
logger - Static variable in class viceroy.net.DummyCommunicationManager
logger for debug
lookingForRightChild - Variable in class viceroy.LocalViceroyPeer
Indicates if I am in the middle of looking for my right child.
LOOKUP - Static variable in class viceroy.net.MessageType
MessageType LOOKUP
LOOKUP_ANSWER - Static variable in class viceroy.net.MessageType
MessageType LOOKUP ANSWER
lookup(Resource, LookupAlgorithm) - Method in class viceroy.RemoteViceroyPeer
Performs a lookup operation on this peer Note: this method is used when this peer initiate a lookup request.
lookup(Resource, LookupAlgorithm) - Method in interface viceroy.LookupPeer
Performs a lookup operation on this peer
lookup(Resource, LookupAlgorithm) - Method in class viceroy.LocalViceroyPeer
Performs a lookup operation on this peer.
lookup(Resource, LookupPeer, LookupAlgorithm) - Method in class viceroy.RemoteViceroyPeer
Performs a lookup operation on this peer Note: this method is used when this peer recieves a lookup a lookup message that was initiated by another peer.
lookup(Resource, LookupPeer, LookupAlgorithm) - Method in interface viceroy.LookupPeer
Performs a lookup operation on this peer
lookup(Resource, LookupPeer, LookupAlgorithm) - Method in class viceroy.LocalViceroyPeer
Performs a lookup operation on this peer.
LookupAlgorithm - interf