home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #20 / NN_1992_20.iso / spool / comp / sys / next / programm / 6157 < prev    next >
Encoding:
Text File  |  1992-09-14  |  1.6 KB  |  46 lines

  1. Newsgroups: comp.sys.next.programmer
  2. Path: sparky!uunet!europa.asd.contel.com!darwin.sura.net!spool.mu.edu!snorkelwacker.mit.edu!thunder.mcrcim.mcgill.edu!homer.cs.mcgill.ca!samurai
  3. From: samurai@cs.mcgill.ca (Darcy BROCKBANK)
  4. Subject: DIstributed Objects Problem (HELP!)
  5. Message-ID: <1992Sep15.000616.1105@cs.mcgill.ca>
  6. Sender: news@cs.mcgill.ca (Netnews Administrator)
  7. Organization: SOCS - Mcgill University, Montreal, Canada
  8. References: <1992Sep5.040934.8445@wire.gwinnett.com> <BuL3zL.K2y@sounds.wa.com>
  9. Date: Tue, 15 Sep 1992 00:06:16 GMT
  10. Lines: 34
  11.  
  12.  
  13. My architecture is the following:
  14.  
  15. Client app A
  16. Server app B
  17.  
  18. Server B is running, client A gets a connection to B via 
  19. distributed objects. B has registered a named object, and
  20. runs the connection via runFromAppkit.
  21.  
  22. Client A calls [B addClient:self] which succeeds, and A is
  23. added to a List object of clients of B.
  24.  
  25. Now B starts up a DPSTimedEntry, which generates events every
  26. 30 seconds that are supposed to be passed on to every object
  27. in B's client list. However, these messages never return,
  28. and the client app doesn't recieve them. Every now and
  29. then an "Unrecognized error" pops up in the console.
  30.  
  31. When the client app terminates, about 1/3 of the messages
  32. that were being sent (about 3 minutes worth) suddenly
  33. are recieved (I suppose it occurs when the connection
  34. is freed by the Application Object).
  35.  
  36. In any event, everything seems to run fine if the DPSTimedEntry
  37. isn't generating the events (that is, if the methods are called
  38. from appDidInit: or something...) 
  39.  
  40.  
  41. So, is this me forgetting to do something, or what? Any help
  42. is appreciated!
  43.  
  44. - darcy
  45.  
  46.