TableServer tableServer = event.getTableServer(); TrucoPlayer playerOwner = tableServer.getHost();     TrucoPlayer playerCreador = room.getPlayer(playerOwner.getName()); addTable(playerCreador, tableServer.getTableNumber());
if (event != null) { TolucaConstants.dumpBeanToXML(event); TableServer tableServer = event.getTableServer(); if (tableServer != null) { TrucoPlayer playerOwner = tableServer.getHost();       TrucoPlayer playerCreador = room.getPlayer(playerOwner .getName()); addTable(playerCreador, tableServer.getTableNumber()); } else System.out .println("NO salieron las cosas con el RoomEvent-tableServer :(("); } else System.out.println("NO salieron las cosas con el RoomEvent :((");
    public void tableCreated(RoomEvent event) {        TableServer tableServer = event.getTableServer();        TrucoPlayer playerOwner = tableServer.getHost();//este player es igual                                                        // al playerCreador,                                                        // solo que el                                                        // playerCreador es la                                                        // ref en el cliente        TrucoPlayer playerCreador = room.getPlayer(playerOwner.getName());        addTable(playerCreador, tableServer.getTableNumber());    }