(Fwd) RE: Re: [Rcosjava-general] messaging system
Status: Beta
Brought to you by:
newmana
From: Peggy N. <pe...@ip...> - 2001-11-28 05:48:35
|
Andrew, Thanks! I was quite pleased with that effort. I've been tracing through a *lot* of messages. I think it's a clever bit of code. My second email superceded one of my questions, but not the other. I don't understand how a post office gets a registeredHandler without a call to super(id) in OSOffice, which would call addHandler(). I assume things would happen like this: OSOffice osPostOffice = new OSOffice(M_ID); // calls OSOffice constructor OSOffice(String newId) { id = newId; } // no call to super: compiler inserts super() which calls PostOffice(){ } // does nothing!!! so the compiler inserts another super() ending up at SimpleMessageHandler(){ } // which also does nothing. I see that the OSOffice constructor initialises id, which is a member of SimpleMessageHandler (supersuperclass). I must be barking up the wrong tree but I can't figure this out. Sounds like you're having a bummer of a week; I hope things come good. We keep missing out on storms here in Yeppoon so I'm kinda jealous! Peggy >Could you please confirm for me that this is correct? > Hi Peggy. You do indeed seem to have got it. I've only read the last half of your message. I read your first message. Does this second message superseed this one (it seems to at first glance)? I'm half way through going through all the stuff that was stolen. The second time in about 7 weeks or something like that. That and the outside flooded because of the storm. Argh! -- _____________________________________________________ _____________ Your favorite stores, helpful shopping tools and great gift ideas. Experience the convenience of buying online with Shop@Netscape! http://shopnow.netscape.com/ Get your own FREE, personal Netscape Mail account today at http://webmail.netscape.com/ ------- End of forwarded message ------- |