1997Q3/
<!-- MHonArc v2.4.4 -->
<!--X-Subject: Re: [MUD&#45;Dev]  C&#38;C and Event Rescheduling -->
<!--X-From-R13: pynjerapNphc.uc.pbz -->
<!--X-Date: Mon, 11 Aug 1997 20:49:24 +0000 -->
<!--X-Message-Id: 199708112047.NAA29250#xsvr3,cup.hp.com -->
<!--X-Content-Type: text/plain -->
<!--X-Reference: 33DF968D.41C67EA6#iname,com -->
<!--X-Head-End-->
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<html>
<head>
<title>MUD-Dev message, Re: [MUD-Dev]  C&amp;C and Event Rescheduling</title>
<!-- meta name="robots" content="noindex,nofollow" -->
<link rev="made" href="mailto:clawrenc#cup,hp.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="msg00465.html">Previous</a>
&nbsp;|&nbsp;<a href="msg00467.html">Next</a>
&nbsp;]
&nbsp;&nbsp;&nbsp;&nbsp;
Thread:&nbsp;
[&nbsp;<a href="msg00294.html">Previous</a>
&nbsp;|&nbsp;<a href="msg00291.html">Next</a>
&nbsp;]
&nbsp;&nbsp;&nbsp;&nbsp;
Index:&nbsp;
[&nbsp;<A HREF="author.html#00466">Author</A>
&nbsp;|&nbsp;<A HREF="#00466">Date</A>
&nbsp;|&nbsp;<A HREF="thread.html#00466">Thread</A>
&nbsp;]

<!--X-TopPNI-End-->
<!--X-MsgBody-->
<!--X-Subject-Header-Begin-->
<H1>Re: [MUD-Dev]  C&amp;C and Event Rescheduling</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]  C&amp;C and Event Rescheduling</LI>
<LI><em>From</em>: <A HREF="mailto:clawrenc#cup,hp.com">clawrenc#cup,hp.com</A></LI>
<LI><em>Date</em>: Mon, 11 Aug 97 13:40:18 -0700</LI>
<LI><em>Reply-to</em>: <A HREF="mailto:claw#null,net">claw#null,net</A></LI>
</UL>
<!--X-Head-of-Message-End-->
<!--X-Head-Body-Sep-Begin-->
<HR>
<!--X-Head-Body-Sep-End-->
<!--X-Body-of-Message-->
<PRE>
In &lt;<A HREF="msg00294.html">33DF968D.41C67EA6#iname,com</A>&gt;, on 07/30/97 
   at 07:43 PM, Shawn Halpenny &lt;malachai#iname,com&gt; said:

&gt;clawrenc#cup,hp.com wrote:
&gt;&gt; 
&gt;&gt; In &lt;<A HREF="msg00242.html">33D8DED4.41C67EA6#iname,com</A>&gt;, on 07/25/97
&gt;&gt;    at 10:15 AM, Shawn Halpenny &lt;malachai#iname,com&gt; said:
&gt;&gt; 
&gt;&gt; &gt;clawrenc#cup,hp.com wrote:
&gt;&gt; &gt;&gt;   How do you handle broadcasting state changes to other objects?
&gt;&gt;
&gt;&gt; &gt;Post an event to call the notification method on each interested
&gt;&gt; &gt;object.
&gt;&gt; 
&gt;&gt; How do you know who is interested?  Where is that data maintained, and
&gt;&gt; how does it get there?  Does the notification enclude what changed, or
&gt;&gt; just that there was a change?

&gt;Object A that wants to know when object B changes asks B to tell A
&gt;when B changes.  B then saves a reference to A in the internal list
&gt;of objects that want to know about changes to B (this list is
&gt;maintained solely by B).  

This is the model I use.  

&gt;Currently, my design states that the
&gt;notification of change will also include what was changed in B.  

I don't do this currently, tho I suspect I could as a side-effect of
moving all the primitives (attributes. methods etc) to their own
storage units.

&gt;All this notification is only done once an watched object has
&gt;successfully committed, otherwise failed commits would result in
&gt;wrongful notification of change.  

Correct.

&gt;At the moment, I think the only entities that care about that
&gt;internal list in B is B and the DB, though it may instead be up to
&gt;the Executor (JCL's term--I'm haven't entirely hashed out that part
&gt;of the design yet) to notify the objects in that list of changes to
&gt;B.  

For me the watch list is read by the executor as part of the C&amp;C and
events are logged (one per object) to send the I_HAVE_CHANGED message
to each of the watchers.

&gt;For the record, object methods appear the same to the DB as object
&gt;attributes.  

Ditto.

&gt;Only the VM cares if the contents of an attribute actually
&gt;represent an attribute or a method.  None of this is gospel in my
&gt;design yet, so I fully expect you to blast some holes in it :&gt;

To prevent the case where Bubba reprograms step A of a logical
sequence, and then reprograms step B to match, which opens the
possibility for a Boffo to step in and execute step A before C is
properly changed (leaving him in a logically inconsistant state), I
will be having the function of an editor object being able to edit and
commit changes to multiple objects in one C&amp;C.

-- 
J C Lawrence                           Internet: claw#null,net
(Contractor)                           Internet: coder#ibm,net
---------------(*)               Internet: clawrenc#cup,hp.com
...Honorary Member Clan McFUD -- Teamer's Avenging Monolith...


</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="00294" HREF="msg00294.html">Re: [MUD-Dev]  C&amp;C and Event Rescheduling</A></STRONG>
<UL><LI><EM>From:</EM> Shawn Halpenny &lt;malachai#iname,com&gt;</LI></UL></LI>
</UL></LI></UL>
<!--X-References-End-->
<!--X-BotPNI-->
<UL>
<LI>Prev by Date:
<STRONG><A HREF="msg00465.html">New to this mailing list</A></STRONG>
</LI>
<LI>Next by Date:
<STRONG><A HREF="msg00467.html">Re: [MUD-Dev] Graphic MUDS/Ultima Online</A></STRONG>
</LI>
<LI>Prev by thread:
<STRONG><A HREF="msg00294.html">Re: [MUD-Dev]  C&amp;C and Event Rescheduling</A></STRONG>
</LI>
<LI>Next by thread:
<STRONG><A HREF="msg00291.html">C&amp;C and Event Rescheduling</A></STRONG>
</LI>
<LI>Index(es):
<UL>
<LI><A HREF="index.html#00466"><STRONG>Date</STRONG></A></LI>
<LI><A HREF="thread.html#00466"><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]  C&amp;C and Event Rescheduling</STRONG>, <EM>(continued)</EM>
<ul compact>
<ul compact>
<ul compact>
<ul compact>
<ul compact>
<LI><strong><A NAME="00235" HREF="msg00235.html">Re: [MUD-Dev]  C&amp;C and Event Rescheduling</A></strong>, 
clawrenc <a href="mailto:clawrenc#cup,hp.com">clawrenc#cup,hp.com</a>, Fri 25 Jul 1997, 08:17 GMT
<UL>
<LI><strong><A NAME="00242" HREF="msg00242.html">Re: [MUD-Dev]  C&amp;C and Event Rescheduling</A></strong>, 
Shawn Halpenny <a href="mailto:malachai#iname,com">malachai#iname,com</a>, Sat 26 Jul 1997, 00:14 GMT
<UL>
<LI><strong><A NAME="00278" HREF="msg00278.html">Re: [MUD-Dev]  C&amp;C and Event Rescheduling</A></strong>, 
clawrenc <a href="mailto:clawrenc#cup,hp.com">clawrenc#cup,hp.com</a>, Wed 30 Jul 1997, 06:09 GMT
<UL>
<LI><strong><A NAME="00294" HREF="msg00294.html">Re: [MUD-Dev]  C&amp;C and Event Rescheduling</A></strong>, 
Shawn Halpenny <a href="mailto:malachai#iname,com">malachai#iname,com</a>, Thu 31 Jul 1997, 02:32 GMT
<UL>
<LI><strong><A NAME="00466" HREF="msg00466.html">Re: [MUD-Dev]  C&amp;C and Event Rescheduling</A></strong>, 
clawrenc <a href="mailto:clawrenc#cup,hp.com">clawrenc#cup,hp.com</a>, Mon 11 Aug 1997, 20:49 GMT
</LI>
</UL>
</LI>
</UL>
</LI>
</UL>
</LI>
</UL>
</LI>
</ul>
</ul>
</ul>
</ul>
<LI><strong><A NAME="00291" HREF="msg00291.html">C&amp;C and Event Rescheduling</A></strong>, 
Miroslav Silovic <a href="mailto:silovic#petra,zesoi.fer.hr">silovic#petra,zesoi.fer.hr</a>, Wed 30 Jul 1997, 22:35 GMT
</LI>
<LI><strong><A NAME="00312" HREF="msg00312.html">C&amp;C and Event Rescheduling</A></strong>, 
Miroslav Silovic <a href="mailto:silovic#mare,zesoi.fer.hr">silovic#mare,zesoi.fer.hr</a>, Thu 31 Jul 1997, 23:09 GMT
<UL>
<LI><strong><A NAME="00329" HREF="msg00329.html">Re: [MUD-Dev]  C&amp;C and Event Rescheduling</A></strong>, 
clawrenc <a href="mailto:clawrenc#cup,hp.com">clawrenc#cup,hp.com</a>, Sat 02 Aug 1997, 06:21 GMT
<UL>
<LI><strong><A NAME="00331" HREF="msg00331.html">Re: [MUD-Dev]  C&amp;C and Event Rescheduling</A></strong>, 
Miroslav Silovic <a href="mailto:silovic#petra,zesoi.fer.hr">silovic#petra,zesoi.fer.hr</a>, Sat 02 Aug 1997, 06:56 GMT
</LI>
</UL>
</LI>
</UL>
</LI>
</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>