home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.object
- Path: sparky!uunet!spool.mu.edu!uwm.edu!linac!att!cbnewsc!cbfsb!cbnewsg.cb.att.com!nh
- From: nh@cbnewsg.cb.att.com (nicholas.hounsome)
- Subject: Active Objects - What is the Problem?
- Message-ID: <1993Jan21.095917.15701@cbfsb.cb.att.com>
- Sender: news@cbfsb.cb.att.com
- Organization: AT&T
- Date: Thu, 21 Jan 1993 09:59:17 GMT
- Lines: 33
-
- I have been trying to follow the thread on active objects and
- have become completely lost. Unfortunately most of the contributors
- seem to be lost too since everyone seems to be arguing over definitions.
-
- In the heat of the discussion the point of the discussion seems to
- have been lost. Perhaps the best way to approach this is for people
- to say exactly what they think their active objects are needed for
- and then we can all judge what they mean by looking at their examples.
-
- In my case I have an object which has to communicate accross a WAN.
- If I wrote it in C++ say and I had a method 'flashLed' which flashed
- a LED on some remote system then the process would block for an
- unacceptable period of time when it could be doing other things.
- If I use asynchronous communication and return from my method before
- an acknowledgement is received then I cannot regain the context
- in which the acknowledgement should be received.
-
- It seemed to me that some of what I want could be achieved by implementing
- objects as instances of SDL processes. The only problems with this
- from my point of view is that it would be impractical to implement
- the more traditional simple objects such as sets, complex numbers
- and strings in this way - Although I consider this to be bad on
- general philosophical and theoretical grounds it would do for me if it
- wasn't that I have an aditional requirement for persistence .
-
- The long term goal of OOP as I see it is to have objects that are
- just like real world objects such as people - They can act autonomously,
- concurrently and either do several things at once or at least receive
- a message and note it for future action whilst processing another.
- Also they are persistent.
-
- Nick Hounsome
- AT&T Network Systems UK Ltd
-