Examples of AsynchronousLobbyListener


Examples of org.cspoker.common.api.lobby.listener.AsynchronousLobbyListener

  }
 
  @Override
  public LobbyContext getLobbyContext(LobbyListener lobbyListener) {
    return new AsynchronousLobbyContext(executor,
        super.getLobbyContext(new AsynchronousLobbyListener(executor, lobbyListener)));
  }
View Full Code Here

Examples of org.cspoker.common.api.lobby.listener.AsynchronousLobbyListener

   */
  public void setLobbyContext(RemoteServerContext serverContext) {
    if (serverContext == null)
      throw new IllegalArgumentException("Please provide correct server context");
    try {
      RemoteLobbyContext remoteContext = serverContext.getLobbyContext(new AsynchronousLobbyListener(
          DisplayExecutor.getInstance(), this));

      this.context = new SmartLobbyContext(remoteContext, getClientCore().getUser().getPlayerId());
    } catch (RemoteException e) {
      throw new IllegalArgumentException(e);
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.