e7374452cd
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@5025 542714f4-19e9-0310-aa3c-eee0fc999fb1
34 lines
887 B
Java
34 lines
887 B
Java
package com.threerings.bureau.client;
|
|
|
|
import com.threerings.presents.client.BasicDirector;
|
|
import com.threerings.presents.data.ClientObject;
|
|
import com.threerings.presents.util.PresentsContext;
|
|
|
|
/**
|
|
* Allows the server to create and destroy agents on a client.
|
|
* @see BureauRegistry
|
|
*/
|
|
public class BureauDirector extends BasicDirector
|
|
implements BureauReceiver
|
|
{
|
|
protected BureauDirector (PresentsContext ctx)
|
|
{
|
|
super(ctx);
|
|
|
|
// Set up our decoder so we can receive method calls
|
|
// from the server
|
|
_ctx.getClient().getInvocationDirector().
|
|
registerReceiver(new BureauDecoder(this));
|
|
}
|
|
|
|
@Override // inherited documentation
|
|
public void createAgent (ClientObject client, int agentId)
|
|
{
|
|
}
|
|
|
|
@Override // inherited documentation
|
|
public void destroyAgent (ClientObject client, int agentId)
|
|
{
|
|
}
|
|
}
|