Package agh.sr.rmi.client.listener

Examples of agh.sr.rmi.client.listener.ClientGameListener


            String userName = "g1";

            PlayerToken playerToken = gameServer.register(userName);

            GameListener gameListener = new ClientGameListener(playerToken);

            UnicastRemoteObject.exportObject(gameListener, 0);

            GameController gameController = gameServer.createGame(playerToken, "game1", 1, 1, gameListener);
            gameListener.registerGameController(gameController);

//            System.out.println("Aktualna zawartosc tablicy: " + noteboard.getText(userToken));

        } catch (Exception e) {
            e.printStackTrace();
View Full Code Here

TOP

Related Classes of agh.sr.rmi.client.listener.ClientGameListener

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.