* @throws RemoteException
*/
@Override
public Peer getPeer(String restaurant) throws RemoteException
{
Peer peer = this.tracker.getRandomPeer();
if(peer.get(restaurant) != null)
{
return peer;
}else if(peer.getReplicat(restaurant) != null)
{
return peer;
}else return peer.findSuccessor(new Key(restaurant));
}