if(inObj.getClass().getSimpleName().equals("Leaderboard")){
Leaderboard initBoard = (Leaderboard)inObj;
client.setLeaderboard(initBoard);
}
if(inObj.getClass().getSimpleName().equals("PlayerList")){
PlayerList refPlayers = (PlayerList)inObj;
client.getJoinedList().refreshPlayerList(refPlayers);
client.getCurrentFrame().updateGUIForeign();
}
if(inObj.getClass().getSimpleName().equals("Message")){
Message inboundMsg = (Message)inObj;