Hi,
From part 2 (Multiple containers) of the Administration tutorial:
The -container option tells JADE to start a peripheral container instead of a Main Container. A peripheral container cannot live ?alone? and must connect to a Main Container at startup. Therefore typically it is necessary to tell it where to find the Main Container to connect to. This is done by means of the -host <host-name> and -port <port-number>. In our case it was not necessary to specify such options as the Main Container is running on the local host and on the JADE default port 1099.
Assuming you have the Main-Container running in host1 and listening on the default port 1099, you can launch a peripheral container in a different host as below:
java -cp lib\jade.jar;<your own classes> jade.Boot -container -host host1 -agents <your agents>
Bye,
Giovanni
Da: carinadguo [mailto:carinadguo at sina.com]
Inviato: venerd? 4 luglio 2014 14:48
A: Caire Giovanni
Oggetto: ??: [jade-develop] asking for different computer-interacting for code
Hello?
I have finished reading the tutorial, but I m informed that in the tutorial every container is built on one platform in one computer. So If want different agents on different computer to communicate, how can I search other platform in other agents? How can different agents share a same AMS?
???: Caire Giovanni [mailto:giovanni.caire at telecomitalia.it]
????: 2014?7?4? 20:09
???: carinadguo
??: R: [jade-develop] asking for different computer-interacting for code
Hi,
Start the Main-Container with the server agent on top. For each additional computer where you want to run vehicle agents, start a peripheral container (-container option) with a vehicle agent on top. That?s it. Your agents can exchange ACLMessages regardless of whether they are in the same container or in different containers (possibly active on different computers).
Look at the Jade Administration Tutorial for information about starting the Jade runtime as a Main-Container or a peripheral container.
Bye,
Giovanni
Da: carinadguo [mailto:carinadguo at sina.com]
Inviato: venerd? 4 luglio 2014 06:07
A: Caire Giovanni
Oggetto: ??: [jade-develop] asking for different computer-interacting for code
Dear Giovanni,
Thank you very much for replying, there is something extra I want to ask. The main problem is, I want one computer to run the server agents, and other computer to run the vehicle agents, how can these different agents interact with each other by Java Codes or the RMA GUI.
I have tried to add Platform with AMS on the RMA GUI?the other computer share the same WIFI with me, but I failed to find the platform on that computer. I m looking forward for your replying about the problem, thank you very much.
In addition, I m a loyal Italian football, good luck with Italy in the future.
???: Caire Giovanni [mailto:giovanni.caire at telecomitalia.it]
????: 2014?7?4? 4:41
???: carinadguo at sina.com<mailto:carinadguo at sina.com>; mailman-owner; jade-develop
??: R: [jade-develop] asking for different computer-interacting for code
Hi,
The main characteristic of JADE is distribution!
1) You create your agents and make them communicate by exchanging ACLMessages as explained in the JADE Programming Tutorial (basic features only) and in the other documents you can find on the JADE web site.
2) You start your JADE based system launching containers on different computers and running your agents in such containers (see the Jade Administration Tutorial) to meet your load requirements.
Bye,
Giovanni
Da: jade-develop-bounces at avalon.tilab.com<mailto:jade-develop-bounces at avalon.tilab.com> [mailto:jade-develop-bounces at avalon.tilab.com] Per conto di Carinad
Inviato: gioved? 3 luglio 2014 07:31
A: mailman-owner; jade-develop
Oggetto: [jade-develop] asking for different computer-interacting for code
Dear experts:
I'd like to establish a distributed simulation of Vehicles, with the big scale of statistics, it is not proper to use one computer, even an advanced lap. I'm writing to ask you if there is some method to interact with agent on other computers? or Is there any materials of coding of JADE platform on different computers?
--------------------------------
Yours Sincerely,
Carinad Guo
Tel: +8618620192615
E-mail: carinadguo at sina.com<mailto:carinadguo at sina.com>
Address: School of Electric Power, South China University of Technology
Questo messaggio e i suoi allegati sono indirizzati esclusivamente alle persone indicate. La diffusione, copia o qualsiasi altra azione derivante dalla conoscenza di queste informazioni sono rigorosamente vietate. Qualora abbiate ricevuto questo documento per errore siete cortesemente pregati di darne immediata comunicazione al mittente e di provvedere alla sua distruzione, Grazie.
This e-mail and any attachments is confidential and may contain privileged information intended for the addressee(s) only. Dissemination, copying, printing or use by anybody else is unauthorised. If you are not the intended recipient, please delete this message and any attachments and advise the sender by return e-mail, Thanks.
[cid:image001.gif at 01CF9840.E2B18F50]Rispetta l'ambiente. Non stampare questa mail se non ? necessario.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://jade.tilab.com/pipermail/jade-develop/attachments/20140705/b1ce4321/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.gif
Type: image/gif
Size: 677 bytes
Desc: image001.gif
URL: <
Loading Image...
>