org.jage.address
Interface IAgentAddress

All Superinterfaces:
IAddress, Serializable
All Known Implementing Classes:
AgentAddress

public interface IAgentAddress
extends IAddress

Represents an address which is unique in the system. Uniqueness is based on uniqueness of age node address in the system and uniqueness rest of the address in the age node address, where owner of this address was born.

Author:
AGH AgE Team

Method Summary
 UUID getId()
          Returns a UUID representation of the address.
 String toUniqueString()
          Returns a unique String representation of the address.
 
Methods inherited from interface org.jage.address.IAddress
getName, getNodeAddress, toString
 

Method Detail

getId

UUID getId()
Returns a UUID representation of the address. UUID is a main, unique part of the address.

Returns:
The id, not null.

toUniqueString

String toUniqueString()
Returns a unique String representation of the address. Uniqueness is guaranteed thanks to usage of UUID in the returned string.

Returns:
The unique address as a string, not null.


Copyright © 2006-2011 AGH University of Science and Technology. All Rights Reserved.