Package jade.core
Interface Location
-
- All Superinterfaces:
Concept,Serializable,Serializable,Term
- All Known Implementing Classes:
ContainerID,PlatformID
public interface Location extends Serializable, Concept
Abstract interface to represent JADE network locations. This interface can be used to access information about the various places where a JADE mobile agent can migrate.- Version:
- $Date$ $Revision$
- Author:
- Giovanni Rimassa - Universita` di Parma
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringgetAddress()Read the address for a location.StringgetID()Read a unique ID for the location.StringgetName()Read the name of a location.StringgetProtocol()Read the protocol for a location.
-
-
-
Method Detail
-
getID
String getID()
Read a unique ID for the location.- Returns:
- A
Stringrepresenting the location.
-
getName
String getName()
Read the name of a location.- Returns:
- A name for this location. The name has only a local meaning.
-
getProtocol
String getProtocol()
Read the protocol for a location.- Returns:
- The name of the protocol used to reach this location.
-
getAddress
String getAddress()
Read the address for a location.- Returns:
- The transport address of this location (in the specified protocol).
-
-