Article View: comp.sys.next.programmer
Article #1041DIstributed Objects Problem (HELP!)
From: Darcy BROCKBANK
Date: Tue, 15 Sep 1992 00:06
Date: Tue, 15 Sep 1992 00:06
33 lines
1663 bytes
1663 bytes
My architecture is the following: Client app A Server app B Server B is running, client A gets a connection to B via distributed objects. B has registered a named object, and runs the connection via runFromAppkit. Client A calls [B addClient:self] which succeeds, and A is added to a List object of clients of B. Now B starts up a DPSTimedEntry, which generates events every 30 seconds that are supposed to be passed on to every object in B's client list. However, these messages never return, and the client app doesn't recieve them. Every now and then an "Unrecognized error" pops up in the console. When the client app terminates, about 1/3 of the messages that were being sent (about 3 minutes worth) suddenly are recieved (I suppose it occurs when the connection is freed by the Application Object). In any event, everything seems to run fine if the DPSTimedEntry isn't generating the events (that is, if the methods are called from appDidInit: or something...) So, is this me forgetting to do something, or what? Any help is appreciated! - darcy
Technical Details
Message-ID:
<1992Sep15.000616.1105@cs.mcgill.ca>Path:
arc1-ca.pugleaf.net!sparky!uunet!europa.asd.contel.com!darwin.sura.net!spool.mu.edu!snorkelwacker.mit.edu!thunder.mcrcim.mcgill.edu!homer.cs.mcgill.ca!samuraiReferences:
<1992Sep5.040934.8445@wire.gwinnett.com> <BuL3zL.K2y@sounds.wa.com>Show Full Headers
Complete Article Headers
Newsgroups: comp.sys.next.programmer Path: arc1-ca.pugleaf.net!sparky!uunet!europa.asd.contel.com!darwin.sura.net!spool.mu.edu!snorkelwacker.mit.edu!thunder.mcrcim.mcgill.edu!homer.cs.mcgill.ca!samurai From: samurai@cs.mcgill.ca (Darcy BROCKBANK) Subject: DIstributed Objects Problem (HELP!) Message-ID: <1992Sep15.000616.1105@cs.mcgill.ca> Sender: news@cs.mcgill.ca (Netnews Administrator) Organization: SOCS - Mcgill University, Montreal, Canada References: <1992Sep5.040934.8445@wire.gwinnett.com> <BuL3zL.K2y@sounds.wa.com> Date: Tue, 15 Sep 1992 00:06:16 GMT Lines: 34