public final class FSConnectionManager extends Object
Modifier and Type | Method and Description |
---|---|
static boolean |
connect(FrontendServer fServerEntity) |
static boolean |
disconnect(FrontendServer fServerEntity) |
static Boolean |
disconnectAll() |
static FSConnection |
getConnection(long fsConnectionID) |
static Map<Long,FSConnection> |
getConnectionsMap() |
static EConnectionStatus |
getStatus(Long frontendserver_id) |
static boolean |
reconnect(FrontendServer fs) |
static Boolean |
startConnectThread(FrontendServer fs) |
static Boolean |
startConnectThreads() |
static void |
stopConnectThreads() |
static void |
stopReconnect(FrontendServer fs) |
static boolean |
testConnection(FrontendServer fs) |
static boolean |
testConnection(long fsConnectionID) |
static Boolean |
testLookup(FrontendServer fs)
Method to test the connection to an frontend-server (lookup only)
|
public static Map<Long,FSConnection> getConnectionsMap()
public static FSConnection getConnection(long fsConnectionID)
public static boolean connect(FrontendServer fServerEntity)
public static boolean disconnect(FrontendServer fServerEntity)
public static Boolean disconnectAll()
public static boolean reconnect(FrontendServer fs)
public static void stopReconnect(FrontendServer fs)
public static EConnectionStatus getStatus(Long frontendserver_id)
public static Boolean startConnectThread(FrontendServer fs)
public static Boolean startConnectThreads()
public static void stopConnectThreads()
public static Boolean testLookup(FrontendServer fs)
fs
- the fontend-server to test the lookupBoolean
if the server can be reachedpublic static boolean testConnection(FrontendServer fs)
public static boolean testConnection(long fsConnectionID)
Copyright © 2021 XIMA MEDIA GmbH. All rights reserved.