Package org.cspoker.common.api.chat.context

Examples of org.cspoker.common.api.chat.context.RemoteChatContext


  @Override
  public RemoteChatContext getServerChatContext(ChatListener chatListener)
  throws RemoteException, IllegalActionException {   
    try {
      RemoteChatContext wrappedContext = new ForwardingRemoteChatContext(super.getServerChatContext(chatListener));
      return (RemoteChatContext) UnicastRemoteObject.exportObject(wrappedContext, 0);
    } catch (RemoteException exception) {
      logger.error(exception.getMessage(), exception);
      throw exception;
    }
View Full Code Here


  @Override
  public RemoteChatContext getServerChatContext(RemoteChatListener chatListener)
  throws RemoteException, IllegalActionException {
    try {
      RemoteChatContext wrappedContext = new ForwardingRemoteChatContext(super.getServerChatContext(chatListener));
      return (RemoteChatContext) UnicastRemoteObject.exportObject(wrappedContext, 0);
    } catch (RemoteException exception) {
      logger.error(exception.getMessage(), exception);
      throw exception;
    }
View Full Code Here

 
  @Override
  public RemoteChatContext getTableChatContext(ChatListener chatListener,
      TableId tableId) throws RemoteException, IllegalActionException {
    try {
      RemoteChatContext wrappedContext = new ForwardingRemoteChatContext(super.getTableChatContext(chatListener, tableId));
      return (RemoteChatContext) UnicastRemoteObject.exportObject(wrappedContext, 0);
    } catch (RemoteException exception) {
      logger.error(exception.getMessage(), exception);
      throw exception;
    }
View Full Code Here

  @Override
  public RemoteChatContext getTableChatContext(
      RemoteChatListener chatListener, TableId tableId)
      throws RemoteException {
    try {
      RemoteChatContext wrappedContext = new ForwardingRemoteChatContext(super.getTableChatContext(chatListener, tableId));
      return (RemoteChatContext) UnicastRemoteObject.exportObject(wrappedContext, 0);
    } catch (RemoteException exception) {
      logger.error(exception.getMessage(), exception);
      throw exception;
    }
View Full Code Here

TOP

Related Classes of org.cspoker.common.api.chat.context.RemoteChatContext

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.