带有ACL的Jade代理协议

问题描述 投票:0回答:1

我想在两个代理之间(在不同平台中,例如在代理1和代理2之间开发协议:

1.Agent1 send a message to Agent2 with a nonce
2.Agent2 receive the nonce, make a mathematic operation and then send to Agent1
3.Agent1 receive the message and sent Agent2 an ACK

所以我想创建一个名为doProtocol(Location destiny,int nonce)的函数,并自动执行该过程

我知道如何发送或接收消息,但我找不到同时进行的方法任何人都可以帮助我吗?

java acl agents-jade
1个回答
0
投票

我将使用FIPA-RequestInteraction。

© www.soinside.com 2019 - 2024. All rights reserved.