Package de.xima.fc.fs
Class FSConnectionManager
- java.lang.Object
-
- de.xima.fc.fs.FSConnectionManager
-
public final class FSConnectionManager extends Object
- Author:
- XIMA MEDIA GmbH
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method 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(long fsConnectionID)
static boolean
testConnection(FrontendServer fs)
static Boolean
testLookup(FrontendServer fs)
Method to test the connection to an frontend-server (lookup only)
-
-
-
Method Detail
-
getConnectionsMap
public static Map<Long,FSConnection> getConnectionsMap()
-
getConnection
public static FSConnection getConnection(long fsConnectionID)
-
connect
public static boolean connect(FrontendServer fServerEntity)
-
disconnect
public static boolean disconnect(FrontendServer fServerEntity)
-
disconnectAll
public static Boolean disconnectAll()
-
reconnect
public static boolean reconnect(FrontendServer fs)
-
stopReconnect
public static void stopReconnect(FrontendServer fs)
-
getStatus
public static EConnectionStatus getStatus(Long frontendserver_id)
-
startConnectThread
public static Boolean startConnectThread(FrontendServer fs)
-
startConnectThreads
public static Boolean startConnectThreads()
-
stopConnectThreads
public static void stopConnectThreads()
-
testLookup
public static Boolean testLookup(FrontendServer fs)
Method to test the connection to an frontend-server (lookup only)- Parameters:
fs
- the fontend-server to test the lookup- Returns:
Boolean
if the server can be reached
-
testConnection
public static boolean testConnection(FrontendServer fs)
-
testConnection
public static boolean testConnection(long fsConnectionID)
-
-