Lapo wrote:Create a logger object in each class that requires it.
Cheers
Done Lapo Great Response.
Lapo wrote:Create a logger object in each class that requires it.
Cheers
Lapo wrote:I would not rely on this when there's a disconnection, because the references are getting removed.
I would use the suggestion I posted earlier, with the setProperty/getProperty
Cheers
Lapo wrote:
For example:Code: Select all
user.setProperty("lastRoom", Room.getId());
which can be retrieved later with:Code: Select all
int roomId = user.getProperty("lastRoom");
Cheers
Lapo wrote:Code: Select all
List<Room> joinedRooms = event.getParameter(SFSEventParam.JOINED_ROOMS);
Lapo wrote:Hi,
is the Java code (that you have posted) part of a Room Extension?
Thanks