Package jade.core
Interface HorizontalCommand
-
- All Superinterfaces:
Command,Serializable,Serializable
- All Known Implementing Classes:
GenericCommand
public interface HorizontalCommand extends Command, Serializable
TheHorizontalCommandinterface 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 Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringgetInteraction()Query the interaction this command object is a part of.StringgetService()Access the service object this command belongs to.-
Methods inherited from interface jade.core.Command
getCredentials, getName, getParam, getParams, getPrincipal, getReturnValue, setCredentials, setPrincipal, setReturnValue
-
-
-
-
Method Detail
-
getService
String getService()
Access the service object this command belongs to. A command object belongs exactly to one single service.- Specified by:
getServicein interfaceCommand- Returns:
- The name of a
Serviceobject, 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 callinggetInteraction()on them yields the same result.- Returns:
- A
Stringserving as a service-unique identifier for the interaction of this command object.
-
-