jade.core
Interface Location
- All Known Implementing Classes:
- MobilityOntology.Location
- public abstract interface Location
- extends java.io.Serializable
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.
- Author:
- Giovanni Rimassa - Universita` di Parma
| Fields inherited from class java.io.Serializable |
serialVersionUID |
|
Method Summary |
java.lang.String |
getAddress()
Read the address for a location. |
java.lang.String |
getID()
Read a unique ID for the location. |
java.lang.String |
getName()
Read the name of a location. |
java.lang.String |
getProtocol()
Read the protocol for a location. |
getID
public java.lang.String getID()
- Read a unique ID for the location.
- Returns:
- A
String representing the location.
getName
public java.lang.String getName()
- Read the name of a location.
- Returns:
- A name for this location. The name has only a local meaning.
getProtocol
public java.lang.String getProtocol()
- Read the protocol for a location.
- Returns:
- The name of the protocol used to reach this location.
getAddress
public java.lang.String getAddress()
- Read the address for a location.
- Returns:
- The transport address of this location (in the specified protocol).