Package de.xima.fc.fs.server
Class FSSessionImpl
- java.lang.Object
-
- de.xima.fc.fs.server.FSSessionImpl
-
- All Implemented Interfaces:
de.root1.simon.SimonUnreferenced
,IFSSession
,Serializable
public class FSSessionImpl extends Object implements IFSSession, de.root1.simon.SimonUnreferenced
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description FSSessionImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
callback(String callbackName, IFormDataAdapter saveFormData, Vorgang vorgang)
Method to perform an callback on the frontend-serverboolean
disconnect()
Method to perform an clean disconnectString
getConnectionID()
boolean
ping()
Method to ping the frontend-servervoid
pushConfig(String name, byte[] data)
Method to push an configuration-file to the frontend-servervoid
triggerPluginSync(PluginSyncData... syncData)
Method to trigger the sync of pluginsvoid
unreferenced()
-
-
-
Method Detail
-
getConnectionID
public String getConnectionID()
-
pushConfig
public void pushConfig(String name, byte[] data) throws Exception
Description copied from interface:IFSSession
Method to push an configuration-file to the frontend-server- Specified by:
pushConfig
in interfaceIFSSession
- Parameters:
name
-String
the name of the configuration-filedata
-Byte
-array with the data of the configuration-file- Throws:
Exception
- on errors while pushing the configuration-file
-
callback
public void callback(String callbackName, IFormDataAdapter saveFormData, Vorgang vorgang) throws Exception
Description copied from interface:IFSSession
Method to perform an callback on the frontend-server- Specified by:
callback
in interfaceIFSSession
- Parameters:
callbackName
-String
name of the callback-handler to performsaveFormData
-IFormDataAdapter
the form-data with which the callback sould be performedvorgang
-Vorgang
the process to perfrom the callback with- Throws:
Exception
- on errors while performing the callback
-
disconnect
public boolean disconnect()
Description copied from interface:IFSSession
Method to perform an clean disconnect- Specified by:
disconnect
in interfaceIFSSession
- Returns:
true
if the disconnect was successful,false
otherwise
-
unreferenced
public void unreferenced()
- Specified by:
unreferenced
in interfacede.root1.simon.SimonUnreferenced
-
ping
public boolean ping()
Description copied from interface:IFSSession
Method to ping the frontend-server- Specified by:
ping
in interfaceIFSSession
- Returns:
true
if successful,false
otherwise
-
triggerPluginSync
public void triggerPluginSync(PluginSyncData... syncData) throws Exception
Description copied from interface:IFSSession
Method to trigger the sync of plugins- Specified by:
triggerPluginSync
in interfaceIFSSession
- Parameters:
syncData
-PluginSyncData
of the plugins to sync- Throws:
Exception
- on errors
-
-