|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--algod.AlgoDMessage
Message transmis entre deux sommets.
AlgoDMessageFIFO
,
SommetIO.recevoir(algod.AlgoDMessage)
,
SommetVoisin.recevoir(algod.AlgoDMessage)
Field Summary | |
java.lang.String |
contenu
Contenu du message, dépendant du type. |
int |
identSommetDestination
Dans le cas d'un message routé, identifiant du sommet à qui ce message est destiné. |
int |
identSommetSource
Sommet qui est la cause de ce message. |
int |
identVoisin
Dernier sommet (voisin) ayant relayé ce message. |
static char |
MSG_ARBCOUV_ENFANT_NON
Transmission de l'identifiant d'un enfant à son père. |
static char |
MSG_ARBCOUV_ENFANT_OUI
Transmission de l'identifiant d'un enfant à son père. |
static char |
MSG_ARBCOUV_FINI
Transmission de la fin de l'algorithme d'arbre couvrant. |
static char |
MSG_ARBCOUV_PARENT
Diffusion de l'indentifiant d'une proposition de parent. |
static char |
MSG_COLOR_DEMARRE
Transmission de sa couleur à ses fils et demande de coloration. |
static char |
MSG_COLOR_NON
Transmission à son père d'une coloration rattée. |
static char |
MSG_COLOR_NUMCOLOR
Transmission de sa couleur à ses voisins plus faibles. |
static char |
MSG_COLOR_OK
Transmission à son père d'une coloration réussie. |
static char |
MSG_COLORASYNCH1_DEMARRE
Transmission de sa couleur à ses fils et demande de coloration. |
static char |
MSG_COLORASYNCH1_DEMARRE_SJ
Transmission de sa couleur à ses fils et demande de coloration. |
static char |
MSG_COLORASYNCH1_NON
Transmission à son père d'une coloration rattée. |
static char |
MSG_COLORASYNCH1_NON_SJ
Transmission à son père d'une coloration rattée sans jeton. |
static char |
MSG_COLORASYNCH1_NUMCOLOR
Transmission de sa couleur à ses voisins plus faibles. |
static char |
MSG_COLORASYNCH1_NUMCOLOR_SJ
Transmission de sa couleur à ses voisins plus faibles sans jeton. |
static char |
MSG_COLORASYNCH1_OK
Transmission à son père d'une coloration réussie. |
static char |
MSG_COLORASYNCH1_OK_SJ
Transmission à son père d'une coloration réussie sans jeton. |
static char |
MSG_ELECT_ELU
Diffusion de l'identifiant de l'élu. |
static char |
MSG_ELECT_IDENTIFIANT
Transmission de l'indentifiant. |
static char |
MSG_ELECT_OUI
Accusé de réception positif. |
static char |
MSG_NUMPROF_IDPROF
Nouvelle numérotation en profondeur suite à l'arbre couvrant. |
static char |
MSG_NUMPROF_SETIDPROF
Transmission du numéro du fils par le père |
char |
typeMessage
Type de message transmis. |
Constructor Summary | |
AlgoDMessage(char typeMessage,
java.lang.String contenu,
int identSommetSource,
int identVoisin,
int identSommetDestination)
|
Method Summary | |
java.lang.String |
toString()
Informations sur ce message. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
public static final char MSG_ELECT_IDENTIFIANT
public static final char MSG_ELECT_OUI
public static final char MSG_ELECT_ELU
public static final char MSG_ARBCOUV_PARENT
public static final char MSG_ARBCOUV_ENFANT_OUI
public static final char MSG_ARBCOUV_ENFANT_NON
public static final char MSG_ARBCOUV_FINI
public static final char MSG_NUMPROF_IDPROF
public static final char MSG_NUMPROF_SETIDPROF
public static final char MSG_COLOR_NUMCOLOR
public static final char MSG_COLOR_DEMARRE
public static final char MSG_COLOR_OK
public static final char MSG_COLOR_NON
public static final char MSG_COLORASYNCH1_NUMCOLOR
public static final char MSG_COLORASYNCH1_NUMCOLOR_SJ
public static final char MSG_COLORASYNCH1_DEMARRE
public static final char MSG_COLORASYNCH1_DEMARRE_SJ
public static final char MSG_COLORASYNCH1_OK
public static final char MSG_COLORASYNCH1_OK_SJ
public static final char MSG_COLORASYNCH1_NON
public static final char MSG_COLORASYNCH1_NON_SJ
public final char typeMessage
public final java.lang.String contenu
public final int identSommetSource
public final int identVoisin
public final int identSommetDestination
Constructor Detail |
public AlgoDMessage(char typeMessage, java.lang.String contenu, int identSommetSource, int identVoisin, int identSommetDestination)
Method Detail |
public java.lang.String toString()
toString
in class java.lang.Object
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |