1997Q2/
<!-- MHonArc v2.4.4 -->
<!--X-Subject: Re: [MUD&#45;Dev]  Room&#45;based vs. coordinate&#45;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&#45;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>
[&nbsp;<a href="../">Other Periods</a>
&nbsp;|&nbsp;<a href="../../">Other mailing lists</a>
&nbsp;|&nbsp;<a href="/search.php3">Search</a>
&nbsp;]
<br clear=all><hr>
<!--X-Body-Begin-->
<!--X-User-Header-->
<!--X-User-Header-End-->
<!--X-TopPNI-->

Date:&nbsp;
[&nbsp;<a href="msg01318.html">Previous</a>
&nbsp;|&nbsp;<a href="msg01320.html">Next</a>
&nbsp;]
&nbsp;&nbsp;&nbsp;&nbsp;
Thread:&nbsp;
[&nbsp;<a href="msg01313.html">Previous</a>
&nbsp;|&nbsp;<a href="msg01452.html">Next</a>
&nbsp;]
&nbsp;&nbsp;&nbsp;&nbsp;
Index:&nbsp;
[&nbsp;<A HREF="author.html#01319">Author</A>
&nbsp;|&nbsp;<A HREF="#01319">Date</A>
&nbsp;|&nbsp;<A HREF="thread.html#01319">Thread</A>
&nbsp;]

<!--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 &lt;<A HREF="mailto:malachai#iname,com">malachai#iname,com</A>&gt;</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:
&gt; 
&gt; Shawn Halpenny &lt;malachai#iname,com&gt; said:
&gt; &gt; clawrenc#cup,hp.com wrote:

[ any change in object sends notification ]

&gt; &gt;&gt; This allows a watcher to trigger on a state change for a private data
&gt; &gt;&gt; member in an object.  Depending on the strictness of your views on
&gt; &gt;&gt; data encapsulation, this can be thought of as a Good Thing, or a Bad
&gt; &gt;&gt; Thing.
&gt; 
&gt; &gt;Watchers can trigger on private data changes by not defining exactly
&gt; &gt;what they're watching, but choosing to watch for a change in any
&gt; &gt;property.  So I still maintain the low message traffic for watchers
&gt; &gt;waiting on a few properties, and don't have to cheat my encapsulation
&gt; &gt;by allowing watching on the entire object if desired.
&gt; 
&gt; This raises an implementation question:
&gt; 
&gt;   if your watchers are specified with a definition of what they are
&gt; watching, this suggests that a single watcher could be watching
&gt; several attributes at the same time.

That's correct.  A single watcher can wait on any number of attributes
in a single object.

&gt; Does this mean that an entry is made on the "watch list" for each of
&gt; those attributes, or does it mean that upon a change, that change is
&gt; compared to the object's list of watcher filters, and the approriate
&gt; messages sent?  The latter case seems wasteful (tho better than the
&gt; broadcast everything approach) if true.  The former gets data space
&gt; 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>
[&nbsp;<a href="../">Other Periods</a>
&nbsp;|&nbsp;<a href="../../">Other mailing lists</a>
&nbsp;|&nbsp;<a href="/search.php3">Search</a>
&nbsp;]
</center>
<hr>
</body>
</html>