forked from External/mage
GUI: stack - added card icon with targets info (announced and triggered targets, target choices);
This commit is contained in:
parent
caf35c88c9
commit
9ad456239e
6 changed files with 152 additions and 81 deletions
|
|
@ -309,7 +309,7 @@ public final class Main {
|
|||
try {
|
||||
MageServer testServer = (MageServer) TransporterClient.createTransporterClient(serverLocator.getLocatorURI(), MageServer.class, metadata);
|
||||
if (testServer != null) {
|
||||
testServer.getServerState();
|
||||
testServer.getServerState(); // check connection
|
||||
return true;
|
||||
}
|
||||
} catch (Throwable t) {
|
||||
|
|
|
|||
|
|
@ -21,7 +21,7 @@ import java.util.concurrent.locks.ReentrantReadWriteLock;
|
|||
public class UserManagerImpl implements UserManager {
|
||||
|
||||
// timeouts on user's activity (on connection problems)
|
||||
private static final int USER_CONNECTION_TIMEOUTS_CHECK_SECS = 30; // TODO: replace to 60 before merge
|
||||
private static final int USER_CONNECTION_TIMEOUTS_CHECK_SECS = 30;
|
||||
private static final int USER_CONNECTION_TIMEOUT_INFORM_AFTER_SECS = 30; // inform user's opponents about problem
|
||||
private static final int USER_CONNECTION_TIMEOUT_SESSION_EXPIRE_AFTER_SECS = 3 * 60; // session expire - remove from all tables and chats (can't reconnect after it)
|
||||
private static final int USER_CONNECTION_TIMEOUT_REMOVE_FROM_SERVER_SECS = 8 * 60; // removes from users list
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue