Process key question
Jonathan S. Shapiro
jsshapiro@earthlink.net
Sun, 5 Apr 1998 18:56:12 -0400
> I agree with you, with the following additional point: The domain
> creator is *NOT* enough to resolve the issue. The process must also
> have Discrim. Since Discrim is closely held, I take it that you feel it
> is reasonable for Container classes to hold it. Is that an accurate
> statement?
I'm not convinced that it needs to.
When I originally thought about this in the context of KeySet, I
concluded that the trick was to proceed in two steps:
1. Have the first keyset determine if the second keyset is
indeed a keyset.
2. Have it then *call* the second keyset, passing to the
second keyset the information that is needed to do the
comparison.
The first keyset will remain unchanged by virtue of waiting for the
second.
I think that holding the domain creator is sufficient to get an answer
to "is this one of yours."
Oh. I see the problem. It cannot call the second keyset until it
knows it is not itself.
Then yes, I suppose that discrim is needed. Yuck.
I'm just slow.
shap