listeners[i].disconnected(this);
}
void notifyReceived (Object object) {
if (object instanceof Ping) {
Ping ping = (Ping)object;
if (ping.isReply) {
if (ping.id == lastPingID - 1) {
returnTripTime = (int)(System.currentTimeMillis() - lastPingSendTime);
if (TRACE) trace("kryonet", this + " return trip time: " + returnTripTime);
}