Package org.cspoker.common.api.lobby.holdemtable.holdemplayer.context

Examples of org.cspoker.common.api.lobby.holdemtable.holdemplayer.context.RemoteHoldemPlayerContext


 
  @Override
  public SmartHoldemPlayerContext sitIn(int amount,
      HoldemPlayerListener holdemPlayerListener) throws RemoteException,
      IllegalActionException {
    RemoteHoldemPlayerContext listener = super.sitIn(amount, new SmartHoldemPlayerListener(holdemPlayerListener,state,playerId));
    return new SmartHoldemPlayerContext(listener,state,playerId);
  }
View Full Code Here


 
  @Override
  public SmartHoldemPlayerContext sitIn(SeatId seatId, int amount,
      HoldemPlayerListener holdemPlayerListener) throws RemoteException,
      IllegalActionException {
    RemoteHoldemPlayerContext listener = super.sitIn(seatId, amount, new SmartHoldemPlayerListener(holdemPlayerListener,state,playerId));
    return new SmartHoldemPlayerContext(listener,state,playerId);
  }
View Full Code Here

  @Override
  public RemoteHoldemPlayerContext sitIn(SeatId seatId, int buyIn, HoldemPlayerListener holdemPlayerListener)
  throws RemoteException, IllegalActionException {
    try {
      RemoteHoldemPlayerContext wrappedObject = new ForwardingRemoteHoldemPlayerContext(super.sitIn(seatId, buyIn, holdemPlayerListener));
      return (RemoteHoldemPlayerContext) UnicastRemoteObject.exportObject(wrappedObject, 0);
    } catch (RemoteException exception) {
      logger.error(exception.getMessage(), exception);
      throw exception;
    }
View Full Code Here

  @Override
  public RemoteHoldemPlayerContext sitIn(SeatId seatId, int buyIn,
      RemoteHoldemPlayerListener holdemPlayerListener)
      throws IllegalActionException, RemoteException {
    try {
      RemoteHoldemPlayerContext wrappedObject = new ForwardingRemoteHoldemPlayerContext(super.sitIn(seatId, buyIn, holdemPlayerListener));
      return (RemoteHoldemPlayerContext) UnicastRemoteObject.exportObject(wrappedObject, 0);
    } catch (RemoteException exception) {
      logger.error(exception.getMessage(), exception);
      throw exception;
    }
View Full Code Here

  @Override
  public RemoteHoldemPlayerContext sitIn(int buyIn,
      RemoteHoldemPlayerListener holdemPlayerListener)
      throws IllegalActionException, RemoteException {
    try {
      RemoteHoldemPlayerContext wrappedObject = new ForwardingRemoteHoldemPlayerContext(super.sitIn(buyIn, holdemPlayerListener));
      return (RemoteHoldemPlayerContext) UnicastRemoteObject.exportObject(wrappedObject, 0);
    } catch (RemoteException exception) {
      logger.error(exception.getMessage(), exception);
      throw exception;
    }
View Full Code Here

TOP

Related Classes of org.cspoker.common.api.lobby.holdemtable.holdemplayer.context.RemoteHoldemPlayerContext

Copyright © 2018 www.massapicom. 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.