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 Detail

      • getID

        String getID()
        Read a unique ID for the location.
        Returns:
        A String representing 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).