|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectSOMA.naming.AgentID
Identificatore di un agente
.
Field Summary | |
int |
ID
Numero di serie dell'agente, unico nell'ambito di un place. |
PlaceID |
place
Identificatore del place in cui l'agente e' stato creato. |
Constructor Summary | |
AgentID(PlaceID place,
int ID)
Costruisce un identificatore a partire dalle sue componenti. |
|
AgentID(java.lang.String s)
Costruisce un identificatore a partire da una stringa. |
Method Summary | |
java.lang.Object |
clone()
|
boolean |
equals(java.lang.Object obj)
|
PlaceID |
getHome()
Restituisce il place cui spedire le informazioni sulla posizione dell'agente. |
int |
hashCode()
|
java.lang.String |
toString()
Rappresentazione dell'identificatore sotto forma di stringa. |
Methods inherited from class java.lang.Object |
finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
public final int ID
public final PlaceID place
Constructor Detail |
public AgentID(PlaceID place, int ID)
public AgentID(java.lang.String s) throws NameException, java.lang.NumberFormatException
toString()
.
Method Detail |
public PlaceID getHome()
public java.lang.String toString()
AgentID( String s )
.
public boolean equals(java.lang.Object obj)
public int hashCode()
public java.lang.Object clone()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |