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
@@ -70,7 +70,8 @@ public class InvocationDirector
public function unregisterReceiver (receiverCode :String) :void
{
// remove the receiver from the list
for (var iter :IViewCursor = _reclist.getCursor(); iter.moveNext(); ) {
for (var iter :IViewCursor = _reclist.createCursor();
iter.moveNext(); ) {
var decoder :InvocationDecoder =
(iter.current as InvocationDecoder);
if (decoder.getReceiverCode() === receiverCode) {
@@ -115,7 +116,8 @@ public class InvocationDirector
{
_clobj.startTransaction();
try {
for (var itr :IViewCursor = _reclist.getCursor(); itr.moveNext(); ) {
for (var itr :IViewCursor = _reclist.createCursor();
itr.moveNext(); ) {
var decoder :InvocationDecoder =
(itr.current as InvocationDecoder);
assignReceiverId(decoder);