jade.core
Interface Location

All Known Implementing Classes:
ContainerID

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: 2002/02/04 10:31:40 $ $Revision: 2.3 $
Author:
Giovanni Rimassa - Universita` di Parma

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.
 

Method Detail

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).