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

Examples of org.cspoker.common.api.lobby.context.RemoteLobbyContext


   */
  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

Related Classes of org.cspoker.common.api.lobby.context.RemoteLobbyContext

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.