} catch (RemoteException e) {
logger.warn("Failed to start RMI server at port " + port, e);
}
} else if (type.equals("http")) {
try {
(new HttpServer(port, cspokerServer)).start();
} catch (RemoteException e) {
logger.warn("Failed to start RMI server at port " + port, e);
}
} else if (type.equals("socket")) {
try {