Package jade.domain
Interface DFGUIAdapter
-
- All Known Implementing Classes:
df,DFAppletCommunicator
public interface DFGUIAdapterThis interface must be implemented by a GUI that wants to interact with the DF agent. Two implementations of this interface have been realized: the class jade.domain.df (used by the DF agent itself) and the class jade.applet.DFAppletCommunicator (used by the DFApplet).- Version:
- $Date$ $Revision$
- Author:
- Fabio Bellifemine - CSELT - 25/8/1999
-
-
Field Summary
Fields Modifier and Type Field Description static intCLOSEGUIstatic intDEREGISTERstatic intEXITstatic intFEDERATEstatic intMODIFYstatic intREFRESHAPPLETstatic intREGISTERstatic intSEARCH
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description DFAgentDescriptiongetDescriptionOfThisDF()This method returns the description of this df.DFAgentDescriptiongetDescriptionOfThisDF(AID parent)This method returns the description used by the df to federate with a given parent DF.DFAgentDescriptiongetDFAgentDsc(AID name)This method returns the agent description of an agent registered with the DF given the agent namevoidpostGuiEvent(GuiEvent ev)This method notifies an event to the df.
-
-
-
Field Detail
-
EXIT
static final int EXIT
- See Also:
- Constant Field Values
-
CLOSEGUI
static final int CLOSEGUI
- See Also:
- Constant Field Values
-
REGISTER
static final int REGISTER
- See Also:
- Constant Field Values
-
DEREGISTER
static final int DEREGISTER
- See Also:
- Constant Field Values
-
MODIFY
static final int MODIFY
- See Also:
- Constant Field Values
-
SEARCH
static final int SEARCH
- See Also:
- Constant Field Values
-
FEDERATE
static final int FEDERATE
- See Also:
- Constant Field Values
-
REFRESHAPPLET
static final int REFRESHAPPLET
- See Also:
- Constant Field Values
-
-
Method Detail
-
postGuiEvent
void postGuiEvent(GuiEvent ev)
This method notifies an event to the df.
-
getDFAgentDsc
DFAgentDescription getDFAgentDsc(AID name) throws FIPAException
This method returns the agent description of an agent registered with the DF given the agent name- Throws:
FIPAException
-
getDescriptionOfThisDF
DFAgentDescription getDescriptionOfThisDF()
This method returns the description of this df.
-
getDescriptionOfThisDF
DFAgentDescription getDescriptionOfThisDF(AID parent)
This method returns the description used by the df to federate with a given parent DF.
-
-