jade.domain
Interface DFGUIAdapter

All Known Implementing Classes:
df

public interface DFGUIAdapter

This 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: 2002/12/11 09:38:35 $ $Revision: 2.3 $
Author:
Fabio Bellifemine - CSELT - 25/8/1999

Field Summary
static int CLOSEGUI
           
static int DEREGISTER
           
static int EXIT
           
static int FEDERATE
           
static int MODIFY
           
static int REFRESHAPPLET
           
static int REGISTER
           
static int SEARCH
           
 
Method Summary
 DFAgentDescription getDescriptionOfThisDF()
          This method returns the description of this df used for federation with other dfs.
 DFAgentDescription getDescriptionOfThisDF(AID parent)
          Returns the descriptions used by the df to federate with another df.
 DFAgentDescription getDFAgentDsc(AID name)
          this method returns the agent description of an agent registered with the DF given the agent name
 void postGuiEvent(GuiEvent ev)
          This method notifies an event to the df.
 

Field Detail

EXIT

public static final int EXIT

CLOSEGUI

public static final int CLOSEGUI

REGISTER

public static final int REGISTER

DEREGISTER

public static final int DEREGISTER

MODIFY

public static final int MODIFY

SEARCH

public static final int SEARCH

FEDERATE

public static final int FEDERATE

REFRESHAPPLET

public static final int REFRESHAPPLET
Method Detail

postGuiEvent

public void postGuiEvent(GuiEvent ev)
This method notifies an event to the df.

getDFAgentDsc

public DFAgentDescription getDFAgentDsc(AID name)
                                 throws FIPAException
this method returns the agent description of an agent registered with the DF given the agent name

getDescriptionOfThisDF

public DFAgentDescription getDescriptionOfThisDF()
This method returns the description of this df used for federation with other dfs.

getDescriptionOfThisDF

public DFAgentDescription getDescriptionOfThisDF(AID parent)
Returns the descriptions used by the df to federate with another df.