|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
@MXBean public interface IAgentId
Extension of the IToken
, it provides an ability to give an agent a human-readable
name.
Serializable! Implementors must behave accordingly.
Method Summary | |
---|---|
Flag<java.lang.String> |
getName()
Contains a human-readable name of the agent. |
java.lang.String |
getToken()
Must return token that is unique even across different JVMs. |
Methods inherited from interface cz.cuni.amis.utils.token.IToken |
---|
getIds |
Method Detail |
---|
Flag<java.lang.String> getName()
Note that the name is quite different string than getToken()
. The
token contains unique-identifier of the agent across whole JVMs in the world, but
the name is just human-readable identifier that can be even changed over time.
Therefore, the name should not be used for any compares or interpretation.
java.lang.String getToken()
getToken
in interface IToken
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |