Updated to match API changes in Beta3.

InvocationRegistration had a constructor called Registration. I wonder if
that was causing the compile error with beta2.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4104 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
Ray Greenwell
2006-05-09 23:03:47 +00:00
parent ff674f818f
commit e100ef4faf
39 changed files with 101 additions and 85 deletions
@@ -1,10 +1,10 @@
package com.threerings.presents.dobj {
import flash.util.StringBuilder;
import com.threerings.io.ObjectInputStream;
import com.threerings.io.ObjectOutputStream;
import com.threerings.util.StringBuilder;
/**
* An attribute changed event is dispatched when a single attribute of a
* distributed object has changed. It can also be constructed to request
@@ -21,14 +21,13 @@
package com.threerings.presents.dobj {
import flash.util.StringBuilder;
import mx.collections.IList;
import com.threerings.io.ObjectInputStream;
import com.threerings.io.ObjectOutputStream;
import com.threerings.util.StreamableArrayList;
import com.threerings.util.StringBuilder;
/**
* Used to manage and submit groups of events on a collection of
@@ -1,12 +1,11 @@
package com.threerings.presents.dobj {
import flash.util.StringBuilder;
import com.threerings.io.ObjectInputStream;
import com.threerings.io.ObjectOutputStream;
import com.threerings.io.Streamable;
import com.threerings.util.Comparable;
import com.threerings.util.StringBuilder;
import com.threerings.presents.Log;
@@ -2,11 +2,10 @@ package com.threerings.presents.dobj {
import flash.events.EventDispatcher;
import flash.util.StringBuilder;
import mx.collections.ArrayCollection;
import com.threerings.util.ClassUtil;
import com.threerings.util.StringBuilder;
import com.threerings.io.ObjectInputStream;
import com.threerings.io.ObjectOutputStream;
@@ -258,7 +257,7 @@ public class DObject // extends EventDispatcher
/**
* Calls by derived instances when a set updater method was called.
*/
protected function requestEntryUpdate (name :String, entry :DSetEntry)
protected function requestEntryUpdate (name :String, entry :DSetEntry) :void
{
// dispatch an entry updated event
postEvent(new EntryUpdatedEvent(_oid, name, entry, null));
+2 -3
View File
@@ -1,12 +1,11 @@
package com.threerings.presents.dobj {
import flash.util.StringBuilder;
import mx.utils.ObjectUtil;
import com.threerings.util.ArrayIterator;
import com.threerings.util.Equalable;
import com.threerings.util.Iterator;
import com.threerings.util.ArrayIterator;
import com.threerings.util.StringBuilder;
import com.threerings.io.ObjectInputStream;
import com.threerings.io.ObjectOutputStream;
@@ -1,10 +1,9 @@
package com.threerings.presents.dobj {
import flash.util.StringBuilder;
import com.threerings.io.ObjectInputStream;
import com.threerings.io.ObjectOutputStream;
import com.threerings.util.StringBuilder;
/**
* An element updated event is dispatched when an element of an array
@@ -1,10 +1,10 @@
package com.threerings.presents.dobj {
import flash.util.StringBuilder;
import com.threerings.io.ObjectInputStream;
import com.threerings.io.ObjectOutputStream;
import com.threerings.util.StringBuilder;
import com.threerings.presents.Log;
/**
@@ -1,10 +1,9 @@
package com.threerings.presents.dobj {
import flash.util.StringBuilder;
import com.threerings.io.ObjectInputStream;
import com.threerings.io.ObjectOutputStream;
import com.threerings.util.StringBuilder;
import com.threerings.presents.Log;
@@ -1,10 +1,10 @@
package com.threerings.presents.dobj {
import flash.util.StringBuilder;
import com.threerings.io.ObjectInputStream;
import com.threerings.io.ObjectOutputStream;
import com.threerings.util.StringBuilder;
import com.threerings.presents.Log;
/**
@@ -21,11 +21,11 @@
package com.threerings.presents.dobj {
import flash.util.StringBuilder;
import com.threerings.io.ObjectInputStream;
import com.threerings.io.ObjectOutputStream;
import com.threerings.util.StringBuilder;
/**
* Used to dispatch an invocation notification from the server to a
* client.
@@ -21,11 +21,11 @@
package com.threerings.presents.dobj {
import flash.util.StringBuilder;
import com.threerings.io.ObjectInputStream;
import com.threerings.io.ObjectOutputStream;
import com.threerings.util.StringBuilder;
/**
* Used to dispatch an invocation request from the client to the server.
*
@@ -21,11 +21,11 @@
package com.threerings.presents.dobj {
import flash.util.StringBuilder;
import com.threerings.io.ObjectInputStream;
import com.threerings.io.ObjectOutputStream;
import com.threerings.util.StringBuilder;
/**
* Used to dispatch an invocation response from the server to the client.
*
@@ -1,10 +1,10 @@
package com.threerings.presents.dobj {
import flash.util.StringBuilder;
import com.threerings.io.ObjectInputStream;
import com.threerings.io.ObjectOutputStream;
import com.threerings.util.StringBuilder;
/**
* A message event is used to dispatch a message to all subscribers of a
* distributed object without actually changing any of the fields of the
@@ -1,6 +1,6 @@
package com.threerings.presents.dobj {
import flash.util.StringBuilder;
import com.threerings.util.StringBuilder;
import com.threerings.io.ObjectInputStream;
import com.threerings.io.ObjectOutputStream;
@@ -1,10 +1,10 @@
package com.threerings.presents.dobj {
import flash.util.StringBuilder;
import com.threerings.io.ObjectInputStream;
import com.threerings.io.ObjectOutputStream;
import com.threerings.util.StringBuilder;
/**
* An object added event is dispatched when an object is added to an
* <code>OidList</code> attribute of a distributed object. It can also be
@@ -21,7 +21,7 @@
package com.threerings.presents.dobj {
import flash.util.StringBuilder;
import com.threerings.util.StringBuilder;
/**
* An object destroyed event is dispatched when an object has been removed
@@ -21,7 +21,7 @@
package com.threerings.presents.dobj {
import flash.util.StringBuilder;
import com.threerings.util.StringBuilder;
import com.threerings.io.ObjectInputStream;
import com.threerings.io.ObjectOutputStream;
@@ -1,12 +1,12 @@
package com.threerings.presents.dobj {
import flash.util.StringBuilder;
import com.threerings.io.Streamable;
import com.threerings.io.ObjectInputStream;
import com.threerings.io.ObjectOutputStream;
import com.threerings.util.StringBuilder;
import com.threerings.presents.Log;
/**