I have constructed a multiplayer lobby (well, pspeed has constructed one, I just copy pasted). Using RMI. I’m not super familiar with RMI. This is just a small wondering type of question. I want to get the list of players, I don’t need it to be send to other players, just init the client who just entered. My client can query them with List getPlayers(). Synchronously.
com.jme3.network.service.rmi.MethodInfo.java pretty much tells me that you can’t have Async methods that have return values other than void. Now I was wondering, that well, Future<List>? Obviously not with current JME, but would it make sense at all in the future?
Or is the preferred design to construct a thread in the client for this if I want it not block the client?