Actually we need to set up our local attribute here.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@5476 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
@@ -23,7 +23,6 @@ package com.threerings.crowd.server;
|
||||
|
||||
import com.google.inject.Inject;
|
||||
|
||||
import com.threerings.presents.server.ClientLocal;
|
||||
import com.threerings.presents.server.PresentsClient;
|
||||
|
||||
import com.threerings.crowd.chat.server.SpeakUtil;
|
||||
@@ -35,12 +34,6 @@ import com.threerings.crowd.data.OccupantInfo;
|
||||
*/
|
||||
public class CrowdClient extends PresentsClient
|
||||
{
|
||||
@Override
|
||||
protected ClientLocal createLocalAttribute ()
|
||||
{
|
||||
return new BodyLocal();
|
||||
}
|
||||
|
||||
@Override
|
||||
protected void sessionConnectionClosed ()
|
||||
{
|
||||
|
||||
@@ -23,6 +23,7 @@ package com.threerings.crowd.server;
|
||||
|
||||
import com.threerings.presents.data.ClientObject;
|
||||
import com.threerings.presents.data.PermissionPolicy;
|
||||
import com.threerings.presents.server.ClientLocal;
|
||||
import com.threerings.presents.server.ClientResolver;
|
||||
|
||||
import com.threerings.crowd.data.BodyObject;
|
||||
@@ -39,6 +40,12 @@ public class CrowdClientResolver extends ClientResolver
|
||||
return new BodyObject();
|
||||
}
|
||||
|
||||
@Override
|
||||
public ClientLocal createLocalAttribute ()
|
||||
{
|
||||
return new BodyLocal();
|
||||
}
|
||||
|
||||
@Override // from ClientResolver
|
||||
public PermissionPolicy createPermissionPolicy ()
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user