public RemoteHoldemPlayerContext sitIn(int amount,
HoldemPlayerListener holdemPlayerListener) throws RemoteException,
IllegalActionException {
if(playerContext.compareAndSet(null, new XmlRemoteHoldemPlayerContext(performer,generator,tableID, stalePlayerContextTrigger))){
serverListenerTree.getLobbyListenerTree().getHoldemTableListenerTree(tableID).setHoldemPlayerListener(holdemPlayerListener);
performer.perform(new SitInAnywhereAction(generator.getNextID(),tableID,amount));
return playerContext.get();
}
throw new IllegalActionException("Already seated at table #"+tableID+".");
}