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: 2003-11-18 17:26:01 +0100 (mar, 18 nov 2003) $ $Revision: 4564 $
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.
 DFAgentDescription getDescriptionOfThisDF(AID parent)
          This method returns the description used by the df to federate with a given parent 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

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.