Package com.threerings.presents.server

Examples of com.threerings.presents.server.SessionFactory


        throws Exception
    {
        super.init(injector);

        // configure the client to use our whirled client
        _clmgr.setDefaultSessionFactory(new SessionFactory() {
            @Override public Class<? extends PresentsSession> getSessionClass (AuthRequest areq) {
                return WhirledSession.class;
            }
            @Override
            public Class<? extends ClientResolver> getClientResolverClass (Name username) {
View Full Code Here


        throws Exception
    {
        super.init(injector);

        // configure the client manager to use our client class
        _clmgr.setDefaultSessionFactory(new SessionFactory() {
            @Override public Class<? extends PresentsSession> getSessionClass (AuthRequest areq) {
                return MiCasaSession.class;
            }
            @Override public Class<? extends ClientResolver> getClientResolverClass (Name username) {
                return ClientResolver.class;
View Full Code Here

TOP

Related Classes of com.threerings.presents.server.SessionFactory

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.