Wrapped -> Boxed.

git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@5195 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
Ray Greenwell
2008-06-23 21:09:14 +00:00
parent 0d93214e22
commit f3abe8507b
14 changed files with 54 additions and 44 deletions
@@ -21,7 +21,7 @@
package com.threerings.presents.data {
import com.threerings.util.Wrapped;
import com.threerings.util.Boxed;
import com.threerings.presents.client.InvocationService_ResultListener;
@@ -36,8 +36,8 @@ public class InvocationMarshaller_ResultMarshaller
switch (methodId) {
case REQUEST_PROCESSED:
var result :Object = args[0];
if (result is Wrapped) {
result = (result as Wrapped).unwrap();
if (result is Boxed) {
result = (result as Boxed).unbox();
}
(listener as InvocationService_ResultListener).requestProcessed(
result);