How to find the size of any ACL message and a mobileagent

View: New views
4 Messages — Rating Filter:   Alert me  

How to find the size of any ACL message and a mobileagent

by ali javan :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Some parts of this message have been removed. Learn more about Nabble's security policy.
Dear Jaders
I using Jade to simulation in my research. I have several acl messages transmitting between agents and also Mobile agents that migrating between the containers. Does anyone can kindly help me to find the size of each acl message and the migrated agent between container (in byte). it is very important for me to know the size of migrating agent to be able to predict the network load for migrating each of my agent.

Regards
Ali.j



_______________________________________________
jade-develop mailing list
jade-develop@...
https://avalon.cselt.it/mailman/listinfo/jade-develop
UNSUBSCRIBE INSTRUCTIONS AT
http://jade.tilab.com/community-mailinglist.htm

RE: How to find the size of any ACL message and a mobileagent

by Caire Giovanni-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Some parts of this message have been removed. Learn more about Nabble's security policy.

Hi,

 

When an agent moves its status is transferred to the destination container using Java Serialization.

The code to serialize the agent is simply as follows

ByteArrayOutputStream out = new ByteArrayOutputStream();

ObjectOutputStream encoder = new ObjectOutputStream(out);

encoder.writeObject(agent);

byte[] serializedAgent = out.toByteArray();

 

à The size of the status of the agent is simply serializedAgent.length.

 

This is OK if the code of the moving agent is already available on the destination. If this is not the case the code is transferred too. However this occurs on demand, that is: code is transferred only when it is needed. à Evaluating the size of the transferred code is MUCH more complex as you don’t know a priori which classes will be moved.

 

Bye,

 

Giovanni

 


From: jade-develop-bounces@... [mailto:jade-develop-bounces@...] On Behalf Of ali javan
Sent: lunedì 2 novembre 2009 16.30
To: jade-develop@...
Subject: [jade-develop] How to find the size of any ACL message and a mobileagent

 

Dear Jaders
I using Jade to simulation in my research. I have several acl messages transmitting between agents and also Mobile agents that migrating between the containers. Does anyone can kindly help me to find the size of each acl message and the migrated agent between container (in byte). it is very important for me to know the size of migrating agent to be able to predict the network load for migrating each of my agent.

Regards
Ali.j



 


_______________________________________________
jade-develop mailing list
jade-develop@...
https://avalon.cselt.it/mailman/listinfo/jade-develop
UNSUBSCRIBE INSTRUCTIONS AT
http://jade.tilab.com/community-mailinglist.htm

JADE-ANDROID

by Richard Ssekibuule :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Last year someone sent an email concerning JADE-ANDROID
(http://androidcommunity.com/forums/f3/jade-android-released-181/)
Is this project still going on? I cannot find the add-on at the JADE
website.

Richard.

_______________________________________________
jade-develop mailing list
jade-develop@...
https://avalon.cselt.it/mailman/listinfo/jade-develop
UNSUBSCRIBE INSTRUCTIONS AT
http://jade.tilab.com/community-mailinglist.htm

RE: JADE-ANDROID

by Ughetti Marco :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


As far as I know JADE-ANDROID is currently frozen
Antway you can find the code both at Jade website (add-on section) and here: https://avalon.cselt.it/svn/jade_add-ons/trunk/jade4android

Bye

Marco
------------------------------------------------------------------
Telecom Italia
Marco Ughetti
TI Lab
Vertical Platform & VAS
Vertical Platforms Innovation
Via G. Reiss Romoli, 274 - 10148 Torino
+ 39 011 2285654
+ 39 331 6001596

-----Original Message-----
From: jade-develop-bounces@... [mailto:jade-develop-bounces@...] On Behalf Of Richard Ssekibuule
Sent: mercoledì 4 novembre 2009 3.05
To: jade-develop@...
Subject: [jade-develop] JADE-ANDROID

Last year someone sent an email concerning JADE-ANDROID
(http://androidcommunity.com/forums/f3/jade-android-released-181/)
Is this project still going on? I cannot find the add-on at the JADE
website.

Richard.

_______________________________________________
jade-develop mailing list
jade-develop@...
https://avalon.cselt.it/mailman/listinfo/jade-develop
UNSUBSCRIBE INSTRUCTIONS AT
http://jade.tilab.com/community-mailinglist.htm
_______________________________________________
jade-develop mailing list
jade-develop@...
https://avalon.cselt.it/mailman/listinfo/jade-develop
UNSUBSCRIBE INSTRUCTIONS AT
http://jade.tilab.com/community-mailinglist.htm