Package de.xima.fc.fs
Class FSConnection
- java.lang.Object
-
- de.xima.fc.fs.FSConnection
-
public class FSConnection extends Object
Klasse zum Verbinden und Trennen der Verbindung mit dem FServer- Author:
- XIMA MEDIA GmbH
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IFSSession
getSession()
EConnectionStatus
getStatus()
boolean
isConnected()
FSConfigurableProperties
pullConfigurableProperties()
Pulls the configuration from the frontend server that can be edited via the backend UI.void
pushConfigFile(File file)
void
pushConfigurableProperties(FSConfigurableProperties configurableProperties)
Pushes the given configuration to the frontend server.void
shutdown()
void
startReconnect()
boolean
testConnection()
-
-
-
Method Detail
-
getStatus
public EConnectionStatus getStatus()
- Returns:
- the current
EConnectionStatus
-
getSession
public IFSSession getSession()
- Returns:
- the current
IFSServer
-
isConnected
public boolean isConnected()
-
pushConfigurableProperties
public void pushConfigurableProperties(FSConfigurableProperties configurableProperties) throws Exception
Pushes the given configuration to the frontend server.- Parameters:
configurableProperties
- The error pages config to push.- Throws:
Exception
- When the push fails.
-
pullConfigurableProperties
public FSConfigurableProperties pullConfigurableProperties() throws Exception
Pulls the configuration from the frontend server that can be edited via the backend UI.- Returns:
- The frontend server configuration. Never null, but may be empty.
- Throws:
Exception
- When the pull fails.
-
startReconnect
public void startReconnect()
-
shutdown
public void shutdown()
-
-