Examples of stopClient()


Examples of core.GameClient.stopClient()

                if (client.getPlayer() == null || player.getID() != client.getPlayer().getID()) {
                    GameClient thread = client.getServer().getThreadByPlayerID(player.getID());

                    if (thread != null) {
                        responseLogin.setStatus((short) 2);//Account is being used.
                        thread.stopClient();
                    } else {
                        PlayerDAO.updateLogin(player.getID(), client.getIP());
                        GameServer.getInstance().setActivePlayer(player);
                        player.setClient(client);
                        player.setLastSaved(System.currentTimeMillis());
View Full Code Here

Examples of org.xbmc.eventclient.XBMCClient.stopClient()

    oXBMCClient.sendNotification("My Title", "Escape released");

    Thread.sleep(7000);
    oXBMCClient.sendLog((byte)0, "My Client disconnects....");
    oXBMCClient.sendNotification("My Title", "Client will disconnect");
    oXBMCClient.stopClient();
   
  }

}
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.