|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface FrontEnd
| Field Summary | |
|---|---|
static java.lang.String |
REMOTE_BACK_END_ADDRESSES
This constant is the name of the property whose value contains the list of addresses where a contaner Front End can contact its Back End. |
| Method Summary | |
|---|---|
void |
createAgent(java.lang.String name,
java.lang.String className,
java.lang.String[] args)
Request the FrontEnd container to create a new agent. |
void |
exit(boolean self)
Request the FrontEnd container to exit. |
void |
killAgent(java.lang.String name)
Request the FrontEnd container to kill an agent. |
void |
messageIn(ACLMessage msg,
java.lang.String receiver)
Pass an ACLMessage to the FrontEnd for posting. |
void |
resumeAgent(java.lang.String name)
Request the FrontEnd container to resume an agent. |
void |
suspendAgent(java.lang.String name)
Request the FrontEnd container to suspend an agent. |
void |
synch()
Request the FrontEnd to synchronize i.e. to notify all its agents |
| Field Detail |
|---|
static final java.lang.String REMOTE_BACK_END_ADDRESSES
| Method Detail |
|---|
void createAgent(java.lang.String name,
java.lang.String className,
java.lang.String[] args)
throws IMTPException
name - The name of the new agent.className - The class of the new agent.args - The arguments to be passed to the new agent.
IMTPException
void killAgent(java.lang.String name)
throws NotFoundException,
IMTPException
name - The name of the agent to kill.
NotFoundException
IMTPException
void suspendAgent(java.lang.String name)
throws NotFoundException,
IMTPException
name - The name of the agent to suspend.
NotFoundException
IMTPException
void resumeAgent(java.lang.String name)
throws NotFoundException,
IMTPException
name - The name of the agent to resume.
NotFoundException
IMTPException
void messageIn(ACLMessage msg,
java.lang.String receiver)
throws NotFoundException,
IMTPException
msg - The message to be posted.sender - The name of the receiver agent.
NotFoundException
IMTPException
void exit(boolean self)
throws IMTPException
IMTPException
void synch()
throws IMTPException
IMTPException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||