de.uniba.wiai.lspi.chord.com.rmi
Interface RemoteNode
- All Superinterfaces:
- Remote
- All Known Implementing Classes:
- RMIEndpoint
public interface RemoteNode
- extends Remote
findSuccessor
de.uniba.wiai.lspi.chord.com.rmi.RemoteNodeInfo findSuccessor(ID key)
throws CommunicationException,
RemoteException
- Parameters:
key -
- Returns:
-
- Throws:
CommunicationException
RemoteException
getNodeID
ID getNodeID()
throws RemoteException
- Returns:
-
- Throws:
RemoteException
insertEntry
void insertEntry(Entry entryToInsert)
throws CommunicationException,
RemoteException
- Parameters:
entryToInsert -
- Throws:
CommunicationException
RemoteException
insertReplicas
void insertReplicas(Set<Entry> entries)
throws CommunicationException,
RemoteException
- Parameters:
entries -
- Throws:
CommunicationException
RemoteException
leavesNetwork
void leavesNetwork(de.uniba.wiai.lspi.chord.com.rmi.RemoteNodeInfo predecessor)
throws CommunicationException,
RemoteException
- Parameters:
predecessor -
- Throws:
CommunicationException
RemoteException
notify
List<de.uniba.wiai.lspi.chord.com.rmi.RemoteNodeInfo> notify(de.uniba.wiai.lspi.chord.com.rmi.RemoteNodeInfo potentialPredecessor)
throws CommunicationException,
RemoteException
- Parameters:
potentialPredecessor -
- Returns:
-
- Throws:
CommunicationException
RemoteException
notifyAndCopyEntries
de.uniba.wiai.lspi.chord.com.rmi.RemoteRefsAndEntries notifyAndCopyEntries(de.uniba.wiai.lspi.chord.com.rmi.RemoteNodeInfo potentialPredecessor)
throws CommunicationException,
RemoteException
- Parameters:
potentialPredecessor -
- Returns:
-
- Throws:
CommunicationException
RemoteException
ping
void ping()
throws CommunicationException,
RemoteException
- Throws:
CommunicationException
RemoteException
removeEntry
void removeEntry(Entry entryToRemove)
throws CommunicationException,
RemoteException
- Parameters:
entryToRemove -
- Throws:
CommunicationException
RemoteException
removeReplicas
void removeReplicas(ID sendingNode,
Set<Entry> replicasToRemove)
throws CommunicationException,
RemoteException
- Parameters:
sendingNode - replicasToRemove -
- Throws:
CommunicationException
RemoteException
retrieveEntries
Set<Entry> retrieveEntries(ID id)
throws CommunicationException,
RemoteException
- Parameters:
id -
- Returns:
-
- Throws:
CommunicationException
RemoteException
Copyright © 2004-2008 Karsten Loesing, Sven Kaffille - Distributed and Mobile Systems Group, Lehrstuhl für Praktische Informatik, Universität Bamberg. All Rights Reserved.