Subject: RE: [jade-develop] blockingReceive(MessageTemplate)
From: Bellifemine Fabio (Fabio.Bellifemine@TILAB.COM)
Date: Wed Jan 29 2003 - 19:20:28 MET
The messages that arrive and that do not match the template simply remain in the queue in the same order they arrived.
Fabio.
> -----Original Message-----
> From: Manuel Padilha [mailto:m.padilha@ieee.org]
> Sent: 29 January 2003 19:14
> To: jade-develop@sharon.cselt.it
> Subject: [jade-develop] blockingReceive(MessageTemplate)
>
>
> hi all,
>
> when i use the method:
> public final ACLMessage blockingReceive(MessageTemplate pattern)
> of the jade.core.Agent class, what happens to messages that
> arrive before
> the message with the given pattern? they remain in the queue
> in the same
> order they arrived? in a different order? they get discarded?
>
> the api just states:
> "Receives an ACL message matching a given message template.
> This method is
> blocking and suspends the whole agent until a message is
> available in the
> queue."
>
> thanks
> --
>
> ---------------------------------
> - Manuel Padilha
> - email: m.padilha@ieee.org
> - web: http://padilha.ath.cx/
> ---------------------------------
>
> _______________________________________________
> 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 : Wed Jan 29 2003 - 19:22:54 MET