|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface BackEnd
| Method Summary | |
|---|---|
java.lang.String |
bornAgent(java.lang.String name)
Notify the BackEnd container that a new agent is born. |
void |
deadAgent(java.lang.String name)
Notify the BackEnd container that an agent has died. |
void |
messageOut(ACLMessage msg,
java.lang.String sender)
Pass an ACLMessage to the BackEnd for dispatching. |
void |
resumedAgent(java.lang.String name)
Notify the BackEnd container that an agent has resumed. |
java.lang.Object |
serviceInvokation(java.lang.String actor,
java.lang.String serviceName,
java.lang.String methodName,
java.lang.Object[] methodParams)
Pass a service helper method invokation request to the BackEnd |
void |
suspendedAgent(java.lang.String name)
Notify the BackEnd container that an agent has suspended. |
| Method Detail |
|---|
java.lang.String bornAgent(java.lang.String name)
throws IMTPException,
jade.security.JADESecurityException
name - The name of the new agent.
IMTPException
jade.security.JADESecurityException
void deadAgent(java.lang.String name)
throws IMTPException
name - The name of the dead agent.
IMTPException
void suspendedAgent(java.lang.String name)
throws NotFoundException,
IMTPException
name - The name of the suspended agent.
NotFoundException
IMTPException
void resumedAgent(java.lang.String name)
throws NotFoundException,
IMTPException
name - The name of the resumed agent.
NotFoundException
IMTPException
void messageOut(ACLMessage msg,
java.lang.String sender)
throws NotFoundException,
IMTPException
msg - The message to be dispatched.sender - The name of the sender agent.
NotFoundException
IMTPException
java.lang.Object serviceInvokation(java.lang.String actor,
java.lang.String serviceName,
java.lang.String methodName,
java.lang.Object[] methodParams)
throws NotFoundException,
ServiceException,
IMTPException
actor - The name of the agent that invoked the methodserviceName - The name of the servicemethodName - The name of the invoked methodmethodParams - The parameters of the invoked methods as an array of Objects
null if the method returns void
NotFoundException
ServiceException
IMTPException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||