ClientFactory -> SessionFactory, etc.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@5509 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
@@ -29,7 +29,7 @@ import com.google.inject.Singleton;
|
||||
import com.threerings.util.Name;
|
||||
|
||||
import com.threerings.presents.net.AuthRequest;
|
||||
import com.threerings.presents.server.ClientFactory;
|
||||
import com.threerings.presents.server.SessionFactory;
|
||||
import com.threerings.presents.server.ClientResolver;
|
||||
import com.threerings.presents.server.PresentsSession;
|
||||
import com.threerings.presents.server.PresentsServer;
|
||||
@@ -63,8 +63,8 @@ public class CrowdServer extends PresentsServer
|
||||
super.init(injector);
|
||||
|
||||
// configure the client manager to use our bits
|
||||
_clmgr.setClientFactory(new ClientFactory() {
|
||||
public Class<? extends PresentsSession> getClientClass (AuthRequest areq) {
|
||||
_clmgr.setSessionFactory(new SessionFactory() {
|
||||
public Class<? extends PresentsSession> getSessionClass (AuthRequest areq) {
|
||||
return CrowdSession.class;
|
||||
}
|
||||
public Class<? extends ClientResolver> getClientResolverClass (Name username) {
|
||||
|
||||
Reference in New Issue
Block a user