Uses of Class
de.uniba.wiai.lspi.chord.com.CommunicationException

Packages that use CommunicationException
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.impl Implements the Chord protocol. 
tests   
 

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

Methods in de.uniba.wiai.lspi.chord.com that throw CommunicationException
static Node Proxy.createConnection(URL sourceUrl, URL destinationUrl)
          Factory method to create a proxy to connect to the given 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.
abstract  Node Node.findSuccessorAtFloor(Floor f, ID key)
          Returns the node which is responsible for the given key at given floor.
abstract  Floor Node.getFirstFloor()
           
abstract  void Node.insertEntry(Floor floor, Entry entryToInsert)
          Stores the given object under the given ID at given floor.
abstract  void Node.insertReplicas(Floor floor, java.util.Set<Entry> entries)
          Inserts replicates of the given entries for given floor.
abstract  void Node.leavesNetwork(Floor floor, Node predecessor)
          Inform all predecessor of given node that it leaves the network.
abstract  java.util.List<Node> Node.notify(Floor floor, Node potentialPredecessor)
          Requests this node's predecessor at given floor in result[0] and successor list in result[1..length-1].
abstract  RefsAndEntries Node.notifyAndCopyEntries(Floor floor, Node potentialPredecessor)
          Requests this node's predecessor, successor list and entries at given floor.
abstract  void Node.ping()
          Requests a sign of live.
abstract  void Node.removeEntry(Floor floor, Entry entryToRemove)
          Removes the given object from the list stored under the given ID at given floor.
abstract  void Node.removeReplicas(Floor floor, ID sendingNode, java.util.Set<Entry> replicasToRemove)
          Removes replicates of the given entries for given floor.
abstract  java.util.Set<Entry> Node.retrieveEntries(Floor floor, ID id)
          Returns all entries stored under the given ID.
 

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

Methods in de.uniba.wiai.lspi.chord.com.local that throw CommunicationException
 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)
           
 Node ThreadProxy.findSuccessorAtFloor(Floor floor, ID key)
           
 Node ThreadEndpoint.findSuccessorAtFloor(Floor floor, ID key)
           
 ThreadEndpoint ThreadProxy.getEndpoint()
          Get a reference to the endpoint this proxy delegates methods to.
 Floor ThreadProxy.getFirstFloor()
           
 void ThreadProxy.insertEntry(Floor floor, Entry entry)
           
 void ThreadEndpoint.insertEntry(Floor floor, Entry entry)
           
 void ThreadProxy.insertReplicas(Floor floor, java.util.Set<Entry> entries)
           
 void ThreadEndpoint.insertReplicas(Floor floor, java.util.Set<Entry> entries)
           
 void ThreadProxy.leavesNetwork(Floor floor, Node predecessor)
           
 void ThreadEndpoint.leavesNetwork(Floor floor, Node predecessor)
           
 java.util.List<Node> ThreadProxy.notify(Floor floor, Node potentialPredecessor)
           
 java.util.List<Node> ThreadEndpoint.notify(Floor floor, Node potentialPredecessor)
           
 RefsAndEntries ThreadProxy.notifyAndCopyEntries(Floor floor, Node potentialPredecessor)
           
 RefsAndEntries ThreadEndpoint.notifyAndCopyEntries(Floor floor, Node potentialPredecessor)
           
 void ThreadProxy.ping()
           
 void ThreadEndpoint.ping()
           
 void ThreadProxy.removeEntry(Floor floor, Entry entry)
           
 void ThreadEndpoint.removeEntry(Floor floor, Entry entry)
           
 void ThreadProxy.removeReplicas(Floor floor, ID sendingNodeID, java.util.Set<Entry> entriesToRemove)
           
 void ThreadEndpoint.removeReplicas(Floor floor, ID sendingNodeID, java.util.Set<Entry> entriesToRemove)
           
 java.util.Set<Entry> ThreadProxy.retrieveEntries(Floor floor, ID id)
           
 java.util.Set<Entry> ThreadEndpoint.retrieveEntries(Floor floor, ID id)
           
 

Constructors in de.uniba.wiai.lspi.chord.com.local that throw CommunicationException
ThreadProxy(URL creatorURL1, URL url)
          Creates a Proxy for the jchordlocal protocol.
 

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

Methods in de.uniba.wiai.lspi.chord.com.socket that throw CommunicationException
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)
           
 Node SocketProxy.findSuccessorAtFloor(Floor floor, ID key)
           
 Floor SocketProxy.getFirstFloor()
           
 void SocketProxy.insertEntry(Floor floor, Entry entry)
           
 void SocketProxy.insertReplicas(Floor floor, java.util.Set<Entry> replicas)
           
 void SocketProxy.leavesNetwork(Floor floor, Node predecessor)
           
 java.util.List<Node> SocketProxy.notify(Floor floor, Node potentialPredecessor)
           
 RefsAndEntries SocketProxy.notifyAndCopyEntries(Floor floor, Node potentialPredecessor)
           
 void SocketProxy.ping()
           
 void SocketProxy.removeEntry(Floor floor, Entry entry)
           
 void SocketProxy.removeReplicas(Floor floor, ID sendingNodeID, java.util.Set<Entry> replicas)
           
 java.util.Set<Entry> SocketProxy.retrieveEntries(Floor floor, ID id)
           
 

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

Methods in de.uniba.wiai.lspi.chord.service.impl that throw CommunicationException
 void NodeImpl.insertEntry(Floor floor, Entry toInsert)
          Stores the given object under the given ID at given floor.
 RefsAndEntries NodeImpl.notifyAndCopyEntries(Floor floor, Node potentialPredecessor)
          Requests this node's predecessor, successor list and entries at given floor.
 void NodeImpl.removeEntry(Floor floor, Entry entryToRemove)
          Removes the given object from the list stored under the given ID at given floor.
 java.util.Set<Entry> NodeImpl.retrieveEntries(Floor floor, ID id)
          Returns all entries stored under the given ID.
 

Uses of CommunicationException in tests
 

Methods in tests that throw CommunicationException
static void TestSocket.main(java.lang.String[] args)