Uses of Class
de.uniba.wiai.lspi.chord.data.URL

Packages that use URL
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 Implements the communication tasks for multiple Chord nodes running in one JVM and communicating locally. 
de.uniba.wiai.lspi.chord.com.socket Implements the communication tasks by (insecure) Socket communication. 
de.uniba.wiai.lspi.chord.service Provides the API for applications using the Chord implementation. 
de.uniba.wiai.lspi.chord.service.impl Implements the Chord protocol. 
 

Uses of URL in de.uniba.wiai.lspi.chord.com
 

Methods in de.uniba.wiai.lspi.chord.com that return URL
 URL Node.getNodeURL()
           
 URL Endpoint.getURL()
          Get the URLof this endpoint.
 

Methods in de.uniba.wiai.lspi.chord.com with parameters of type URL
static Node Proxy.createConnection(URL sourceUrl, URL destinationUrl)
          Factory method to create a proxy to connect to the given URL.
static Endpoint Endpoint.createEndpoint(Node node, URL url)
          Create the endpoints for the protocol given by url.
abstract  java.util.List<ResponsibleNode> Node.findSuccessor(int tag, java.lang.String res, URL url)
          Returns the node which is responsible for the given resource.
static Endpoint Endpoint.getEndpoint(URL url)
          Get the Endpoint for the given url.
 

Constructors in de.uniba.wiai.lspi.chord.com with parameters of type URL
MyFloor(Floor floor, NodeImpl node, URL nodeURL, int ns)
          Class constructor
 

Uses of URL in de.uniba.wiai.lspi.chord.com.local
 

Methods in de.uniba.wiai.lspi.chord.com.local that return types with arguments of type URL
 java.util.Map<URL,ThreadEndpoint> Registry.lookupAll()
          Returns an array of all registered endpoints.
 

Methods in de.uniba.wiai.lspi.chord.com.local with parameters of type URL
 void Registry.addProxyUsedBy(URL url, ThreadProxy proxy)
          Add the given proxy used by the node with nodeName.
 java.util.List<ResponsibleNode> ThreadProxy.findSuccessor(int tag, java.lang.String res, URL url)
           
 java.util.List<ResponsibleNode> ThreadEndpoint.findSuccessor(int tag, java.lang.String res, URL url)
           
 java.util.List<ThreadProxy> Registry.getProxiesInUseBy(URL nodeName)
          Get a reference to the Listof proxies used by the node with nodeName.
 ThreadEndpoint Registry.lookup(URL url)
          This method looks up the endpointfor the node with the given name.
 void Registry.removeProxiesInUseBy(URL nodeName)
          Removes the proxies used by the node with nodeName.
 

Constructors in de.uniba.wiai.lspi.chord.com.local with parameters of type URL
ThreadEndpoint(Node node1, URL url1)
          Creates a new Endpoint for communication via Java Threads.
ThreadProxy(URL creatorURL1, URL url)
          Creates a Proxy for the jchordlocal protocol.
 

Uses of URL in de.uniba.wiai.lspi.chord.com.socket
 

Methods in de.uniba.wiai.lspi.chord.com.socket with parameters of type URL
static SocketProxy SocketProxy.create(URL urlOfLocalNode, URL url)
          Establishes a connection from urlOfLocalNode to url.
 java.util.List<ResponsibleNode> SocketProxy.findSuccessor(int tag, java.lang.String res, URL url)
           
 

Constructors in de.uniba.wiai.lspi.chord.com.socket with parameters of type URL
SocketEndpoint(Node node1, URL url1)
          Creates a new SocketEndpoint for the given Node with url.
 

Uses of URL in de.uniba.wiai.lspi.chord.service
 

Methods in de.uniba.wiai.lspi.chord.service that return URL
 URL Chord.getURL()
          Returns the URL of the local node; is null if no network has been created or joined.
 URL AsynChord.getURL()
          Returns the URL of the local node; is null if no network has been created or joined.
 

Methods in de.uniba.wiai.lspi.chord.service with parameters of type URL
 void Chord.create(URL localURL)
          Creates a new chord network which is not connected to any other node.
 void AsynChord.create(URL localURL)
          Creates a new chord network which is not connected to any other node.
 void Chord.initialJoin(Floor floor, URL bootstrapURL)
           
 void AsynChord.initialJoin(Floor floor, URL bootstrapURL)
           
 void Chord.initialJoin(Floor floor, URL localURL, URL bootstrapURL)
           
 void AsynChord.initialJoin(Floor floor, URL localURL, URL bootstrapURL)
           
 void Chord.join(Floor floor, URL bootstrapURL)
          Joins an existing chord network and announces its presence to the other nodes.
 void AsynChord.join(Floor floor, URL bootstrapURL)
          Joins an existing chord network and announces its presence to the other nodes.
 void Chord.join(Floor floor, URL localURL, URL bootstrapURL)
          Joins an existing chord network and announces its presence to the other nodes.
 void AsynChord.join(Floor floor, URL localURL, URL bootstrapURL)
          Joins an existing chord network and announces its presence to the other nodes.
 void Chord.setURL(URL nodeURL)
          Sets the URL of the local node to the given value; only available before creating or joining a network.
 void AsynChord.setURL(URL nodeURL)
          Sets the URL of the local node to the given value; only available before creating or joining a network.
 

Uses of URL in de.uniba.wiai.lspi.chord.service.impl
 

Methods in de.uniba.wiai.lspi.chord.service.impl that return URL
 URL References.getPredecessorURL()
           
 URL References.getSuccessorURL()
           
 URL ChordImpl.getURL()
           
 

Methods in de.uniba.wiai.lspi.chord.service.impl with parameters of type URL
 void ChordImpl.addNewFloor(Floor floor, URL nodeURL, int ns)
           
 void ChordImpl.create(URL localURL1)
           
 Floor ChordImpl.createFloor(URL url)
           
 Floor ChordImpl.createNewFloor(URL url)
          
 java.util.List<ResponsibleNode> NodeImpl.findSuccessor(int tag, java.lang.String res, URL url)
          Returns the node which is responsible for the given resource.
 int ChordImpl.generateNewTag(URL url)
          
 boolean ChordImpl.goodDeal(URL url, Floor floor)
          
 void ChordImpl.initialJoin(Floor floor, URL bootstrapURL)
           
 void ChordImpl.initialJoin(Floor floor, URL localURL1, URL bootstrapURL)
           
 void ChordImpl.join(Floor floor, URL bootstrapURL)
           
 void ChordImpl.join(Floor floor, URL localURL1, URL bootstrapURL)
           
 Floor ChordImpl.join(URL bootstrapURL)
           
 void ChordImpl.setURL(URL nodeURL)
           
 

Constructors in de.uniba.wiai.lspi.chord.service.impl with parameters of type URL
References(Floor floor, ID locID, URL locURL, int numberOfEntriesInSuccessorList, Entries entries)
          Creates an References object which contains no references.