Examples of HoldemPlayerListener


Examples of org.cspoker.common.api.lobby.holdemtable.holdemplayer.listener.HoldemPlayerListener

  }
 
  public void leaveTable(MutablePlayer player) {
    if (player == null)
      throw new IllegalArgumentException("The given player should be effective.");
    HoldemPlayerListener playerListener = sitInPlayers.get(player.getId());
    HoldemTableListener tableListener = joinedPlayers.remove(player.getId());
    if (playerListener != null) {
      tableState.stopPlaying(player.getId());
      unsubscribeHoldemPlayerListener(player.getId(), playerListener);
    }
View Full Code Here

Examples of org.cspoker.common.api.lobby.holdemtable.holdemplayer.listener.HoldemPlayerListener

  public PSPlayerContext(PokersourceConnection conn, int serial, PSTableContext tableContext,
      HoldemPlayerListener holdemPlayerListener, GameStateContainer gameStateContainer, int buyIn) throws RemoteException {
    this.conn = conn;
    this.serial = serial;
    this.game_id = tableContext.game_id;
    this.smartListener = new SmartHoldemPlayerListener(new ForwardingHoldemPlayerListener(ImmutableList.of(new HoldemPlayerListener() {
     
      @Override
      public void onNewPocketCards(NewPocketCardsEvent newPocketCardsEvent) {
        logger.info(newPocketCardsEvent);
      }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.