home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #18 / NN_1992_18.iso / spool / comp / lang / cplus / 12635 < prev    next >
Encoding:
Internet Message Format  |  1992-08-20  |  1.7 KB

  1. Path: sparky!uunet!mcsun!Germany.EU.net!unido!kommu!pfander
  2. From: pfander@kommu.UUCP (Dr Gotthard Pfander)
  3. Newsgroups: comp.lang.c++
  4. Subject: Messaging across process boundaries under C++
  5. Keywords: RPC, C++, Messaging
  6. Message-ID: <533@kommu.UUCP>
  7. Date: 20 Aug 92 12:57:30 GMT
  8. Lines: 38
  9.  
  10. We are looking for experiences and suggestions on message-passing
  11. inside and between different processes. So kind of a 'Message-RPC'.
  12.  
  13. That is a mechanism to interchange messages between objects located
  14. inside different processes or even on different hosts.
  15.  
  16. This problem must have been solved a number of times, but now here are the
  17. restricions:  it must be compatible with C++ in some way.
  18.  
  19. Some of the more subtle problems, that will occur:
  20.  
  21. -    C++ has no clean and easy way to access its message dispatching.
  22.     (functions under use have to be virtual to begin with)
  23.  
  24. -    Pointers a such do not suffice to identify objects, one needs a
  25.     naming system across processes (global namespace).
  26.  
  27. -    Simply extending a standard communication mechanism like 
  28.     (SUN-) RPC or similar will not work, because messages between
  29.     objects might get recursive, when seen from the involved proceesses.
  30.  
  31.     For example: object A in process 1 will send a message to
  32.     object B in process 2, which in turn will send a message to
  33.     object C in process 1, but there is process 1 waiting for
  34.     the result of the first message.
  35.  
  36. Some really weired idea: redefining the . (dot) and -> operators and
  37. building in a communications-protocoll. But how?
  38.  
  39. In case I will get some reasonable replies, i will bundle and repost them.
  40.  
  41. pfander@kommu.erls01.siemens.de
  42.  
  43. Gotthard Pfander
  44. SIEMENS AG, ANL A 593
  45. Werner von Siemens Str. 50
  46. D W8520 Erlangen
  47. Tel +49/9131/7-28711
  48.