|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Interface que les objets désirants utiliser PDP doivent implémenter.
yb.pdp
Field Summary | |
static int |
ACCUSE_OK
accusé de réception : ok |
static int |
ACCUSE_PAS_ABONNE
accusé de réception : pas d'abonné sur l'hôte de destination |
static int |
ACCUSE_PAS_HOTE
accusé de réception : pas d'hôte |
Method Summary | |
void |
getResultatPDP(int id,
int code)
réception d'une réponse de message (confirmation/accusé de réception) |
void |
getResultatPDP(int id,
pdpPeerSimple resultat)
reception d'un peer (suite à une demande de recherche) |
void |
getResultatPDP(int id,
java.util.Vector resultat)
reception d'une liste de peers |
void |
getResultatPDP(java.lang.String cat,
java.lang.String msg,
pdpPeerSimple src)
réception d'un message |
Field Detail |
public static final int ACCUSE_OK
public static final int ACCUSE_PAS_HOTE
public static final int ACCUSE_PAS_ABONNE
Method Detail |
public void getResultatPDP(java.lang.String cat, java.lang.String msg, pdpPeerSimple src)
cat
- catégorie du message reçumsg
- contenu du message reçusrc
- source du messagepublic void getResultatPDP(int id, int code)
id
- identifiant de la requête d'envoi du message originalcode
- accusé de réception (pdpAppelant.ACCUSE_xxx)public void getResultatPDP(int id, pdpPeerSimple resultat)
id
- identifiant de la requête de recherche d'origineresultat
- le peer recherchépublic void getResultatPDP(int id, java.util.Vector resultat)
id
- identifiant de la requête d'origineresultat
- le liste de peers
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |