Subversion Repositories eFlore/Applications.coel

Compare Revisions

Ignore whitespace Rev 1366 → Rev 1367

/trunk/src/org/tela_botanica/client/synchronisation/Requete.java
6,7 → 6,7
public class Requete implements Rafraichissable{
private Rafraichissable vueARafraichir;
private Object retour;
private Reponse reponse;
private int numeroSequence;
public Requete(Rafraichissable vueARafraichir, int numeroSequence) {
18,16 → 18,16
return this.vueARafraichir;
}
public boolean aRetour() {
return (retour!=null);
public boolean hasResponse() {
return (reponse!=null);
}
public void setRetour(Reponse reponse) {
this.retour = reponse.obtenirRetour();
this.reponse = reponse;
}
public Object obtenirRetour() {
return this.retour;
public Reponse obtenirReponse() {
return this.reponse;
}
public int obtenirNumeroSequence() {
35,11 → 35,11
}
public void rafraichir() {
rafraichir(null);
vueARafraichir.rafraichir(reponse.obtenirRetour());
}
public void rafraichir(Object nouvellesDonnees) {
vueARafraichir.rafraichir(retour);
vueARafraichir.rafraichir(nouvellesDonnees);
}
public String toString() {