Package org.spout.vanilla.event.player.network

Examples of org.spout.vanilla.event.player.network.PingEvent


    pingHash[lastRequestCount] = hash;
    lastRequestCount++;
    if (lastRequestCount >= pingTime.length) {
      lastRequestCount = 0;
    }
    player.getNetwork().callProtocolEvent(new PingEvent(hash));
  }
View Full Code Here


    }
  }

  @Override
  public void handleClient(ClientSession session, PlayerPingMessage message) {
    session.getPlayer().getNetwork().callProtocolEvent(new PingEvent(message.getPingId()), session.getPlayer());
  }
View Full Code Here

TOP

Related Classes of org.spout.vanilla.event.player.network.PingEvent

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.