RE: [jade-develop] ContractNetInitiator with non-Jade agents


Subject: RE: [jade-develop] ContractNetInitiator with non-Jade agents
From: Caire Giovanni (Giovanni.Caire@TILAB.COM)
Date: Tue Jan 07 2003 - 12:05:16 MET


Hi,

1) Agents are identified by AIDs (Agent IDentifiers). An AID is a structure basically composed of a GUID and a sequence of addresses that (in JADE) correspond to the addresses of the platform the agents live in. By the way in JADE these addresses are only used for inter-platform communication.

2) If your Cx is seen by the JADE agents as another JADE agent and you have a single Cx for many prolog agents --> Your protocol is not a real contract net but a sort of "brokered contract net" --> You can't use the ContractNetInitiator as it is.

3) Redefine the handlePropose() and handleRefuse() methods. Note that in order to be intercepted, these messages must have the same Conversation-ID of the CFP.

Bye

Giovanni

-----Original Message-----
From: Erick Martinez [mailto:erickm@cs.yorku.ca]
Sent: giovedì 26 dicembre 2002 20.15
To: jade-develop@sharon.cselt.it
Subject: [jade-develop] ContractNetInitiator with non-Jade agents

Hi Jaders, happy holidays for everyone . I have been working for a while
on a Jade/Prolog multi-agent project. This is my two-platform scenario:

Jade agent M with attached GUI. This agent communicates with a few
remotes Prolog-based agents out of the Jade platform.
- Gets ACL messages in through proxy agent Px
- Sends ACL messages out through a Java client Cx, bypassing the
proxy agent

Agent M has a ContractNetInitiator behaviour, and implements the
handleAllResponses method.

Questions:
1- What is the role of the [:addresses (sequence IOR:####)] within
the message? (I have to split and reassemble all ACL messages on the
Prolog side, just wondering)

When I initiate a CFP, I set conversationId and replyWith with values, to
mark it. I pass the messages to the initiator, and send it out using my
client Cx. I think this is precisely the problem here: I have to prepare
my CFP message and pass it as a parameter to the ContractNetInitiator, but
it is my Java client Cx the one that should send it away.
2- How can I overcome this? Is the only option to have peers Jade
agents for each outside agent involved?
3- Is there a way the initiator can detect Propose or Refuse
messages, coming from outside the platform but corresponding to its
previous CFP?

Thanks in advance for your collaboration.

Cheers,

Erick

--

Erick Martinez Graduate Student Department of Computer Science York University 4700 Keele Street Toronto, Ontario M3J 1K7

_______________________________________________ jade-develop mailing list jade-develop@sharon.cselt.it http://sharon.cselt.it/mailman/listinfo/jade-develop UNSUBSCRIBE INSTRUCTIONS AT http://jade.cselt.it/mailing.htm#unsubscribe



This archive was generated by hypermail 2a22 : Tue Jan 07 2003 - 12:05:21 MET