Subject: RE: [jade-develop] About containers
From: Caire Giovanni (Giovanni.Caire@TILAB.COM)
Date: Mon Oct 07 2002 - 10:31:16 MET DST
Hi Vadim,
1) You can launch agents on the main container in two ways:
- From the command line when you start the main container (as you do for normal containers)
- Using the Administration GUI. Right click on the Main-Container and then select "start new agent" from the popup menu.
2) You can launch a container with a user defined name using the in-process interface included in the jade.wrapper package: Just set the Profile.CONTAINER_NAME parameter to the container name you want in the Profile object used to start the container
...
myProfile.set(Profile.CONTAINER_NAME, "My-Name");
jade.wrapper.AgentContainer ac = Runtime.getRuntime().createAgentContainer(myProfile);
...
The same opportunity is not available from the command line at present.
Bye
Giovanni
-----Original Message-----
From: Vadim [mailto:mogikan@pisem.net]
Sent: venerd́ 4 ottobre 2002 19.38
To: jade-develop@sharon.cselt.it
Subject: [jade-develop] About containers
Hello jade-develop,
I have existing Main-container with gui and
when I run:
java jade.Boot -host localhost -container recv1:my.ObjectTestAgent
JADE creates new Container-1 and puts recv1 in it.
So I have two questions:
1. How can I append new agent to the Main-container?
2. How can I change the default Container-X name (in the future i
want to create containers with custom names if possible)?
-- Best regards, Vadim mailto:mogikan@pisem.net_______________________________________________ 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 : Mon Oct 07 2002 - 10:31:25 MET DST