Unfortunately the temporary hack on the Java side of things needs to be matched here as well, or my production build will fall over and die.

git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@6365 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
Par Winzell
2010-12-10 05:57:27 +00:00
parent 45b9fbbb78
commit 5ece835d99
2 changed files with 13 additions and 1 deletions
@@ -122,6 +122,8 @@ public class ClientObject extends DObject
super.readObject(ins); super.readObject(ins);
username = Name(ins.readObject()); username = Name(ins.readObject());
receivers = DSet(ins.readObject()); receivers = DSet(ins.readObject());
// TEMP: read and throw away ClientObject._ignore from the Java side
ins.readObject();
} }
protected function createPermissionPolicy () :PermissionPolicy protected function createPermissionPolicy () :PermissionPolicy
@@ -31,7 +31,7 @@ import com.threerings.io.Streamable;
* at client resolution time via the ClientResolver. This would be an inner class of ClientObject, * at client resolution time via the ClientResolver. This would be an inner class of ClientObject,
* but ActionScript does not support inner classes. * but ActionScript does not support inner classes.
*/ */
public class PermissionPolicy public class PermissionPolicy implements Streamable
{ {
/** /**
* Returns null if the specified client has the specified permission, an error code explaining * Returns null if the specified client has the specified permission, an error code explaining
@@ -43,5 +43,15 @@ public class PermissionPolicy
// by default, you can't do it! // by default, you can't do it!
return InvocationCodes.ACCESS_DENIED; return InvocationCodes.ACCESS_DENIED;
} }
public function writeObject (out :ObjectOutputStream) :void
{
// nothing to write
}
public function readObject (ins :ObjectInputStream) :void
{
// nothing to read
}
} }
} }