ActiveObject.st
changeset 5392 3f9ffab35f84
parent 5030 8f13987273e8
equal deleted inserted replaced
5391:ab2ead078b27 5392:3f9ffab35f84
    58     enqueuing incoming messages, executing them one after the other, and returning results to the caller.
    58     enqueuing incoming messages, executing them one after the other, and returning results to the caller.
    59     Messages are synchronous: the caller is blocked while I perform my duty.
    59     Messages are synchronous: the caller is blocked while I perform my duty.
    60     Exceptions during execution are sent back to the caller.
    60     Exceptions during execution are sent back to the caller.
    61     This is an abstract framework class, to be subclassed for real workers.
    61     This is an abstract framework class, to be subclassed for real workers.
    62 
    62 
    63     The following is a not-yet-working experiment, using lookup objects to redirect automatcally into a synchronizing
    63     The following is a not-yet-working experiment, using lookup objects to redirect automatically into a synchronizing
    64     method. This does not work yet.
    64     method. This does not work yet.
    65 
    65 
    66     Notice the use of the lookup object here: all incoming messages from a process other than my worker-process
    66     Notice the use of the lookup object here: all incoming messages from a process other than my worker-process
    67     itself are forwarded to the #doesNotUnderstand: method. There is no need to inherit from nil, and subclasses can use
    67     itself are forwarded to the #doesNotUnderstand: method. There is no need to inherit from nil, and subclasses can use
    68     any messages they like locally, without them being enqueued.
    68     any messages they like locally, without them being enqueued.