Package be.demmel.jgws.packets.gameserver.outbound

Examples of be.demmel.jgws.packets.gameserver.outbound.P001_Ping


          // FIXME: last ping time and heartbeat should not be stored in the character data...
          long timeBetweenNowAndLastPing = new Date().getTime() - character.getLastPingTime().getTime();

          LOGGER.debug("{} Sending Ping to account with account ID: {}", ch, playerData.getAccId());

          P001_Ping ping = new P001_Ping();
          ch.write(ping);

          character.setLastPingTime(new Date());
        }, 5000, 5000, TimeUnit.MILLISECONDS);
  }
View Full Code Here

TOP

Related Classes of be.demmel.jgws.packets.gameserver.outbound.P001_Ping

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.