Re: [Tinyos-help] Receiving different message types simultaneously in Java.

2006-04-24 Thread Jose L. Ponce
Hi, Thanks for your reply. On Fri, 2006-04-21 at 13:15 -0600, Michael Schippling wrote: I haven't use the interface in question, but it looks as if the message routing (via handlerID) is left as an exercise for the reader. I imagine that you need to build a messageListener factory someplace

[Tinyos-help] Receiving different message types simultaneously in Java.

2006-04-21 Thread Jose L. Ponce
Hi all, Once again, I have a quick question regarding Java and message management. When classes which require receiving messages from the motes are programmed, usually all those classes are based on MessageListener. In this way, we have the following method when we receive a message:

Re: [Tinyos-help] Receiving different message types simultaneously in Java.

2006-04-21 Thread Michael Schippling
I haven't use the interface in question, but it looks as if the message routing (via handlerID) is left as an exercise for the reader. I imagine that you need to build a messageListener factory someplace that instantiates the right class for each reception. There are some comments in MoteIF about