Regenerated services, and the callers that love them.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@5906 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
@@ -56,7 +56,7 @@ public class BureauDirector extends BasicDirector
|
||||
{
|
||||
super.clientDidLogon(event);
|
||||
var id :String = BureauContext(_ctx).getBureauId();
|
||||
_bureauService.bureauInitialized(_ctx.getClient(), id);
|
||||
_bureauService.bureauInitialized(id);
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -64,7 +64,7 @@ public class BureauDirector extends BasicDirector
|
||||
*/
|
||||
public function fatalError (message :String) :void
|
||||
{
|
||||
_bureauService.bureauError(_ctx.getClient(), message);
|
||||
_bureauService.bureauError(message);
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -104,7 +104,7 @@ public class BureauDirector extends BasicDirector
|
||||
else {
|
||||
subscriber.unsubscribe(_ctx.getDObjectManager());
|
||||
}
|
||||
_bureauService.agentDestroyed(_ctx.getClient(), agentId);
|
||||
_bureauService.agentDestroyed(agentId);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -125,12 +125,12 @@ public class BureauDirector extends BasicDirector
|
||||
}
|
||||
catch (e :Error) {
|
||||
log.warning("Could not create agent", "obj", agentObject, e);
|
||||
_bureauService.agentCreationFailed(_ctx.getClient(), oid);
|
||||
_bureauService.agentCreationFailed(oid);
|
||||
return;
|
||||
}
|
||||
|
||||
_agents.put(oid, agent);
|
||||
_bureauService.agentCreated(_ctx.getClient(), oid);
|
||||
_bureauService.agentCreated(oid);
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
@@ -30,18 +30,18 @@ import com.threerings.presents.client.InvocationService;
|
||||
public interface BureauService extends InvocationService
|
||||
{
|
||||
// from Java interface BureauService
|
||||
function agentCreated (arg1 :Client, arg2 :int) :void;
|
||||
function agentCreated (arg1 :int) :void;
|
||||
|
||||
// from Java interface BureauService
|
||||
function agentCreationFailed (arg1 :Client, arg2 :int) :void;
|
||||
function agentCreationFailed (arg1 :int) :void;
|
||||
|
||||
// from Java interface BureauService
|
||||
function agentDestroyed (arg1 :Client, arg2 :int) :void;
|
||||
function agentDestroyed (arg1 :int) :void;
|
||||
|
||||
// from Java interface BureauService
|
||||
function bureauError (arg1 :Client, arg2 :String) :void;
|
||||
function bureauError (arg1 :String) :void;
|
||||
|
||||
// from Java interface BureauService
|
||||
function bureauInitialized (arg1 :Client, arg2 :String) :void;
|
||||
function bureauInitialized (arg1 :String) :void;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -40,10 +40,10 @@ public class BureauMarshaller extends InvocationMarshaller
|
||||
public static const AGENT_CREATED :int = 1;
|
||||
|
||||
// from interface BureauService
|
||||
public function agentCreated (arg1 :Client, arg2 :int) :void
|
||||
public function agentCreated (arg1 :int) :void
|
||||
{
|
||||
sendRequest(arg1, AGENT_CREATED, [
|
||||
Integer.valueOf(arg2)
|
||||
sendRequest(AGENT_CREATED, [
|
||||
Integer.valueOf(arg1)
|
||||
]);
|
||||
}
|
||||
|
||||
@@ -51,10 +51,10 @@ public class BureauMarshaller extends InvocationMarshaller
|
||||
public static const AGENT_CREATION_FAILED :int = 2;
|
||||
|
||||
// from interface BureauService
|
||||
public function agentCreationFailed (arg1 :Client, arg2 :int) :void
|
||||
public function agentCreationFailed (arg1 :int) :void
|
||||
{
|
||||
sendRequest(arg1, AGENT_CREATION_FAILED, [
|
||||
Integer.valueOf(arg2)
|
||||
sendRequest(AGENT_CREATION_FAILED, [
|
||||
Integer.valueOf(arg1)
|
||||
]);
|
||||
}
|
||||
|
||||
@@ -62,10 +62,10 @@ public class BureauMarshaller extends InvocationMarshaller
|
||||
public static const AGENT_DESTROYED :int = 3;
|
||||
|
||||
// from interface BureauService
|
||||
public function agentDestroyed (arg1 :Client, arg2 :int) :void
|
||||
public function agentDestroyed (arg1 :int) :void
|
||||
{
|
||||
sendRequest(arg1, AGENT_DESTROYED, [
|
||||
Integer.valueOf(arg2)
|
||||
sendRequest(AGENT_DESTROYED, [
|
||||
Integer.valueOf(arg1)
|
||||
]);
|
||||
}
|
||||
|
||||
@@ -73,10 +73,10 @@ public class BureauMarshaller extends InvocationMarshaller
|
||||
public static const BUREAU_ERROR :int = 4;
|
||||
|
||||
// from interface BureauService
|
||||
public function bureauError (arg1 :Client, arg2 :String) :void
|
||||
public function bureauError (arg1 :String) :void
|
||||
{
|
||||
sendRequest(arg1, BUREAU_ERROR, [
|
||||
arg2
|
||||
sendRequest(BUREAU_ERROR, [
|
||||
arg1
|
||||
]);
|
||||
}
|
||||
|
||||
@@ -84,10 +84,10 @@ public class BureauMarshaller extends InvocationMarshaller
|
||||
public static const BUREAU_INITIALIZED :int = 5;
|
||||
|
||||
// from interface BureauService
|
||||
public function bureauInitialized (arg1 :Client, arg2 :String) :void
|
||||
public function bureauInitialized (arg1 :String) :void
|
||||
{
|
||||
sendRequest(arg1, BUREAU_INITIALIZED, [
|
||||
arg2
|
||||
sendRequest(BUREAU_INITIALIZED, [
|
||||
arg1
|
||||
]);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user