122123124125126127128129130
private void sendMsgs(long currentTime) { if (lastCommunication + COMMUNICATION_PERIOD < currentTime) { lastCommunication = currentTime; if (cm != null) { cm.broadcast(new Message(this) {}); } } }