Re: [robocup-rescue-s] Help about Sending messages

From: Mohammad Mehdi Saboorian (saboorian@gmail.com)
Date: Thu 30 Jun 2005 - 18:48:54 GMT


Dear Carla,
 serializing an object for communication is not a good solution, because of
size limit and maybe unused fields in object ,etc.
instead of it you can send only needed fields and use some agreement on it's
format.
 have fun,
Mohammad Mehdi Saboorian
member of SBCe_Saviour

 On 6/30/05, Carla Quintero <c_quintero_rocas@hotmail.com> wrote:
>
> Dear Cameron and all,
>
> Thanks Cameron for your response.
>
> Do you know, could I dump a Java serialized object into the message, and
> then restore it at the other end?
>
> Cheers!
>
> >From: Cameron Skinner <cam@cs.auckland.ac.nz>
> >To: Carla Quintero <c_quintero_rocas@hotmail.com>
> >CC: robocup-rescue-s@cc.gatech.edu
> >Subject: Re: [robocup-rescue-s] Help about Sending messages
> >Date: Thu, 30 Jun 2005 12:25:10 +1200
> >
> >You can split your message up into chunks that are less than 256 bytes
> and
> >send each chunk separately, or you can send less information. For
> example,
> >if you have 300 bytes of data you could send two messages, one of size
> 256
> >and one of size 44. It is then up to the fire station to reassemble the
> >message when it arrives.
> >
> >Cheers,
> >Cameron.
> >
> >Carla Quintero wrote:
> >>Dear all,
> >>
> >>In my Agents's code, Fire Brigades are sending messages to FireStation
> >>about buildings on fire. They are sending a string of id's of buildings
> >>on fire. Id's are large integer values, which I am sending as a sequence
> >>of characters. How these messages usually are more than 256 characteres,
> >>fireStation can not to listen them.
> >>
> >>I want to send these messages every cycle. Can somebody give me some
> idea
> >>about how can I do it and the fireStation can listen them?.
> >>
> >>Thanks in advance.
> >>
> >>_________________________________________________________________
> >>Charla con tus amigos en línea mediante MSN Messenger:
> >>http://messenger.latam.msn.com/
> >>
> >>_______________________________________________
> >>robocup-rescue-s mailing list
> >>robocup-rescue-s@mailman.cc.gatech.edu
> >>https://mailman.cc.gatech.edu/mailman/listinfo/robocup-rescue-s
> >
> >--
> >Cameron Skinner
> >Artificial Intelligence Group
> >Department of Computer Science
> >The University of Auckland
> >
> >email: cam@cs.auckland.ac.nz
> >phone: +64 9 3737599 x82924
> >fax: +64 9 3737453
> >
> >Post:
> >Department of Computer Science
> >The University of Auckland
> >Private Bag 92019
> >Auckland
> >New Zealand
>
> _________________________________________________________________
> Charla con tus amigos en línea mediante MSN Messenger:
> http://messenger.latam.msn.com/
>
> _______________________________________________
> robocup-rescue-s mailing list
> robocup-rescue-s@mailman.cc.gatech.edu
> https://mailman.cc.gatech.edu/mailman/listinfo/robocup-rescue-s
>


_______________________________________________
robocup-rescue-s mailing list
robocup-rescue-s@mailman.cc.gatech.edu
https://mailman.cc.gatech.edu/mailman/listinfo/robocup-rescue-s



This archive was generated by hypermail 2.1.3 : Thu 30 Jun 2005 - 19:17:04 GMT