<!-- MHonArc v2.4.4 -->
<!--X-Subject: Re: [MUD-Dev] Room-based vs. coordinate-based -->
<!--X-From-R13: Eunja Vnycraal <znynpunvNvanzr.pbz> -->
<!--X-Date: from stimpy.globecomm.net [207.51.48.4] by in10.ibm.net id 866208863.54564-1 Fri Jun 13 13:34:23 1997 CUT -->
<!--X-Message-Id: 33A14C58.41C67EA6#iname,com -->
<!--X-Content-Type: text/plain -->
<!--X-Reference: 199706122233.PAA20990#xsvr3,cup.hp.com -->
<!--X-Head-End-->
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<html>
<head>
<title>MUD-Dev message, Re: [MUD-Dev] Room-based vs. coordinate-based</title>
<!-- meta name="robots" content="noindex,nofollow" -->
<link rev="made" href="mailto:malachai#iname,com">
</head>
<body background="/backgrounds/paperback.gif" bgcolor="#ffffff"
text="#000000" link="#0000FF" alink="#FF0000" vlink="#006000">
<font size="+4" color="#804040">
<strong><em>MUD-Dev<br>mailing list archive</em></strong>
</font>
<br>
[ <a href="../">Other Periods</a>
| <a href="../../">Other mailing lists</a>
| <a href="/search.php3">Search</a>
]
<br clear=all><hr>
<!--X-Body-Begin-->
<!--X-User-Header-->
<!--X-User-Header-End-->
<!--X-TopPNI-->
Date:
[ <a href="msg01318.html">Previous</a>
| <a href="msg01320.html">Next</a>
]
Thread:
[ <a href="msg01313.html">Previous</a>
| <a href="msg01452.html">Next</a>
]
Index:
[ <A HREF="author.html#01319">Author</A>
| <A HREF="#01319">Date</A>
| <A HREF="thread.html#01319">Thread</A>
]
<!--X-TopPNI-End-->
<!--X-MsgBody-->
<!--X-Subject-Header-Begin-->
<H1>Re: [MUD-Dev] Room-based vs. coordinate-based</H1>
<HR>
<!--X-Subject-Header-End-->
<!--X-Head-of-Message-->
<UL>
<LI><em>To</em>: <A HREF="mailto:mud-dev#null,net">mud-dev#null,net</A></LI>
<LI><em>Subject</em>: Re: [MUD-Dev] Room-based vs. coordinate-based</LI>
<LI><em>From</em>: Shawn Halpenny <<A HREF="mailto:malachai#iname,com">malachai#iname,com</A>></LI>
<LI><em>Date</em>: Fri, 13 Jun 1997 09:34:16 -0400</LI>
<LI><em>Sender</em>: <A HREF="mailto:rsh#iname,com">rsh#iname,com</A></LI>
</UL>
<!--X-Head-of-Message-End-->
<!--X-Head-Body-Sep-Begin-->
<HR>
<!--X-Head-Body-Sep-End-->
<!--X-Body-of-Message-->
<PRE>
clawrenc#cup,hp.com wrote:
>
> Shawn Halpenny <malachai#iname,com> said:
> > clawrenc#cup,hp.com wrote:
[ any change in object sends notification ]
> >> This allows a watcher to trigger on a state change for a private data
> >> member in an object. Depending on the strictness of your views on
> >> data encapsulation, this can be thought of as a Good Thing, or a Bad
> >> Thing.
>
> >Watchers can trigger on private data changes by not defining exactly
> >what they're watching, but choosing to watch for a change in any
> >property. So I still maintain the low message traffic for watchers
> >waiting on a few properties, and don't have to cheat my encapsulation
> >by allowing watching on the entire object if desired.
>
> This raises an implementation question:
>
> if your watchers are specified with a definition of what they are
> watching, this suggests that a single watcher could be watching
> several attributes at the same time.
That's correct. A single watcher can wait on any number of attributes
in a single object.
> Does this mean that an entry is made on the "watch list" for each of
> those attributes, or does it mean that upon a change, that change is
> compared to the object's list of watcher filters, and the approriate
> messages sent? The latter case seems wasteful (tho better than the
> broadcast everything approach) if true. The former gets data space
> hungry.
It is the latter. There is, of course, a point where it is cheaper to
watch
for change on the entire object, rather than changes in many
attributes. I haven't defined the actual implementation yet, but I
anticipate these watcher filters to be somewhat wildcard-able (ATM all
my attributes are defined by string names), so a single watcher can
easily and efficiently monitor a number of related attributes. This
optimization will depend on the composition of the attribute names, but
those are something that can be easily tweaked.
--
Shawn Halpenny
"You can't buy the necessities of life with cookies"
- "Edward Scissorhands"
</PRE>
<!--X-Body-of-Message-End-->
<!--X-MsgBody-End-->
<!--X-Follow-Ups-->
<HR>
<!--X-Follow-Ups-End-->
<!--X-References-->
<UL><LI><STRONG>References</STRONG>:
<UL>
<LI><STRONG><A NAME="01313" HREF="msg01313.html">Re: [MUD-Dev] Room-based vs. coordinate-based</A></STRONG>
<UL><LI><EM>From:</EM> clawrenc#cup,hp.com</LI></UL></LI>
</UL></LI></UL>
<!--X-References-End-->
<!--X-BotPNI-->
<UL>
<LI>Prev by Date:
<STRONG><A HREF="msg01318.html">Re: [MUD-Dev] Room-based vs. coordinate-based</A></STRONG>
</LI>
<LI>Next by Date:
<STRONG><A HREF="msg01320.html">Re: [MUD-Dev] Room-based vs. coordinate-based</A></STRONG>
</LI>
<LI>Prev by thread:
<STRONG><A HREF="msg01313.html">Re: [MUD-Dev] Room-based vs. coordinate-based</A></STRONG>
</LI>
<LI>Next by thread:
<STRONG><A HREF="msg01452.html">Re: [MUD-Dev] Room-based vs. coordinate-based</A></STRONG>
</LI>
<LI>Index(es):
<UL>
<LI><A HREF="index.html#01319"><STRONG>Date</STRONG></A></LI>
<LI><A HREF="thread.html#01319"><STRONG>Thread</STRONG></A></LI>
</UL>
</LI>
</UL>
<!--X-BotPNI-End-->
<!--X-User-Footer-->
<!--X-User-Footer-End-->
<ul><li>Thread context:
<BLOCKQUOTE><UL>
<LI><STRONG>Re: [MUD-Dev] Room-based vs. coordinate-based</STRONG>, <EM>(continued)</EM>
<ul compact>
<ul compact>
<ul compact>
<ul compact>
<ul compact>
<ul compact>
<ul compact>
<ul compact>
<ul compact>
<LI><strong><A NAME="01266" HREF="msg01266.html">Re: [MUD-Dev] Room-based vs. coordinate-based</A></strong>,
Shawn Halpenny <a href="mailto:malachai#iname,com">malachai#iname,com</a>, Tue 10 Jun 1997, 03:03 GMT
<LI><strong><A NAME="01299" HREF="msg01299.html">Re: [MUD-Dev] Room-based vs. coordinate-based</A></strong>,
clawrenc <a href="mailto:clawrenc#cup,hp.com">clawrenc#cup,hp.com</a>, Thu 12 Jun 1997, 08:02 GMT
<LI><strong><A NAME="01308" HREF="msg01308.html">Re: [MUD-Dev] Room-based vs. coordinate-based</A></strong>,
Shawn Halpenny <a href="mailto:malachai#iname,com">malachai#iname,com</a>, Thu 12 Jun 1997, 21:03 GMT
<LI><strong><A NAME="01313" HREF="msg01313.html">Re: [MUD-Dev] Room-based vs. coordinate-based</A></strong>,
clawrenc <a href="mailto:clawrenc#cup,hp.com">clawrenc#cup,hp.com</a>, Fri 13 Jun 1997, 05:35 GMT
<LI><strong><A NAME="01319" HREF="msg01319.html">Re: [MUD-Dev] Room-based vs. coordinate-based</A></strong>,
Shawn Halpenny <a href="mailto:malachai#iname,com">malachai#iname,com</a>, Fri 13 Jun 1997, 20:34 GMT
</LI>
</LI>
<LI><strong><A NAME="01452" HREF="msg01452.html">Re: [MUD-Dev] Room-based vs. coordinate-based</A></strong>,
Alex Oren <a href="mailto:alexo#bigfoot,com">alexo#bigfoot,com</a>, Mon 23 Jun 1997, 15:59 GMT
<LI><strong><A NAME="01458" HREF="msg01458.html">Re: [MUD-Dev] Room-based vs. coordinate-based</A></strong>,
Shawn Halpenny <a href="mailto:malachai#iname,com">malachai#iname,com</a>, Mon 23 Jun 1997, 23:52 GMT
<LI><strong><A NAME="01619" HREF="msg01619.html">Re: [MUD-Dev] Room-based vs. coordinate-based</A></strong>,
clawrenc <a href="mailto:clawrenc#cup,hp.com">clawrenc#cup,hp.com</a>, Tue 01 Jul 1997, 06:45 GMT
</LI>
</LI>
<LI><strong><A NAME="01465" HREF="msg01465.html">Re: [MUD-Dev] Room-based vs. coordinate-based</A></strong>,
Nathan Yospe <a href="mailto:yospe#hawaii,edu">yospe#hawaii,edu</a>, Tue 24 Jun 1997, 01:33 GMT
</LI>
</LI>
</LI>
</LI>
</LI>
</ul>
</ul>
</ul>
</ul>
</ul>
</ul>
</ul>
</ul>
</ul>
</LI>
</UL></BLOCKQUOTE>
</ul>
<hr>
<center>
[ <a href="../">Other Periods</a>
| <a href="../../">Other mailing lists</a>
| <a href="/search.php3">Search</a>
]
</center>
<hr>
</body>
</html>