Package jade.core

Interface HorizontalCommand

  • All Superinterfaces:
    Command, Serializable, Serializable
    All Known Implementing Classes:
    GenericCommand

    public interface HorizontalCommand
    extends Command, Serializable
    The HorizontalCommand interface represents those kernel-level commands that are exchanged among the slices of a given JADE service, and they are sent across the network by the platform IMTP.
    Author:
    Giovanni Rimassa - FRAMeTech s.r.l.
    • Method Detail

      • getService

        String getService()
        Access the service object this command belongs to. A command object belongs exactly to one single service.
        Specified by:
        getService in interface Command
        Returns:
        The name of a Service object, such that this command is one of the allowed commands for that service.
      • getInteraction

        String getInteraction()
        Query the interaction this command object is a part of. A command object is part of exactly one single interaction. Some services can generate interactions made by many commands, which can be grouped together because calling getInteraction() on them yields the same result.
        Returns:
        A String serving as a service-unique identifier for the interaction of this command object.