Package stanfordlogic.jocular.network

Examples of stanfordlogic.jocular.network.RequestHandlerFactory


        factory.setGamerType(RLGamer.class);
        GameManager.setGamerFactory(factory);

        try
        {
            ConnectionManager manager = new ConnectionManager(port,new RequestHandlerFactory());
            manager.start();

            if (!daemonMode)
            {
                // Wait for input to kill the program
View Full Code Here


    }
   
    public void sendMessage(String msg) throws Exception
    {
        // THINK: do we need a dummy connection manager instead of null?
        RequestHandler req = new RequestHandlerFactory().createRequestHandler(null, new StringSocket(msg, System.out));
       
        GameManager.newRequest(req);
    }
View Full Code Here

TOP

Related Classes of stanfordlogic.jocular.network.RequestHandlerFactory

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.