[Rcosjava-general] messaging system
Status: Beta
Brought to you by:
newmana
From: Peggy N. <pe...@ip...> - 2001-11-26 05:46:18
|
Hi Andrew, A couple of questions: I'm looking at the ProcessSwitch message here, but that shouldn't be important. Universal messages: the postOffice deals with universal messages by adding them to both the postOfficeMessage queue and the localMessage queue. For the osPostOffice then, is it the case that it would recieve universal messages sent from OS components twice? First of all localSendMessage() is called from the original sendMessage() method, and then localSendMessage() is called again from postOfficeDeliverMessage() (when we're delivering messages out to everybody/thing). I don't see how this would be a problem, I'm just curious. Also, is there any reason why the OSOffice doesn't have a call to super()? Or, more to the point, super(newId)? Do you think the default does the job adequately? I can't quite see how the post offices get registered without it. Thanks, Peggy. |