final ServerMessage m = inTrans.getNextMessage();
if (m instanceof GameMessage) {
network.addGameMessage((GameMessage) m);
} else if (m instanceof PingMessage) {
network.sendMessage(new PongMessage());
} else {
network.notifyListeners(m);
}
} catch (IOException e) {