Give Bureaus their own client object subclass. It does nothing at the moment, but we need it to be a distinct type for access control purposes.

git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@5600 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
Par Winzell
2008-12-12 15:36:46 +00:00
parent 1052aa86ec
commit fb4a28b2ed
7 changed files with 103 additions and 8 deletions
@@ -6,13 +6,13 @@ import com.threerings.util.Log;
import com.threerings.presents.client.BasicDirector;
import com.threerings.presents.client.Client;
import com.threerings.presents.client.ClientEvent;
import com.threerings.presents.data.ClientObject;
import com.threerings.presents.dobj.ObjectAccessError;
import com.threerings.presents.dobj.Subscriber;
import com.threerings.presents.dobj.SubscriberAdapter;
import com.threerings.presents.util.SafeSubscriber;
import com.threerings.bureau.data.AgentObject;
import com.threerings.bureau.data.BureauClientObject;
import com.threerings.bureau.data.BureauCodes;
import com.threerings.bureau.util.BureauContext;
@@ -22,6 +22,8 @@ import com.threerings.bureau.util.BureauContext;
*/
public class BureauDirector extends BasicDirector
{
BureauClientObject;
/**
* Creates a new BureauDirector.
*/
@@ -21,13 +21,12 @@
package com.threerings.bureau.data {
import com.threerings.presents.dobj.DObject;
import com.threerings.presents.data.ClientObject;
/**
* Defines the fields available for the distributed part of a bureau.
* An object representing a Bureau connection. This is currently just a marker class.
*/
public class BureauClientObject extends DObject
public class BureauClientObject extends ClientObject
{
// TODO: add some fields
}
}