Package org.cspoker.common.api.shared.action

Examples of org.cspoker.common.api.shared.action.ServerChatInterestAction


  public RemoteChatContext getServerChatContext(ChatListener chatListener)
      throws RemoteException, IllegalActionException {
    XmlRemoteServerChatContext context = new XmlRemoteServerChatContext(performer,generator);
    if(serverChatContext.compareAndSet(null, context)){
      serverListenerTree.setServerChatListener(chatListener);
      performer.perform(new ServerChatInterestAction(generator.getNextID()));
      return context;
    }else{
      throw new IllegalActionException("Already registered a server chat listener");
    }
  }
View Full Code Here

TOP

Related Classes of org.cspoker.common.api.shared.action.ServerChatInterestAction

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.