public class FSSessionImpl extends Object implements IFSSession, de.root1.simon.SimonUnreferenced
Constructor and Description |
---|
FSSessionImpl() |
Modifier and Type | Method and Description |
---|---|
void |
callback(String callbackName,
IFormDataAdapter saveFormData,
Vorgang vorgang)
Method to perform an callback on the frontend-server
|
boolean |
disconnect()
Method to perform an clean disconnect
|
String |
getConnectionID() |
boolean |
ping()
Method to ping the frontend-server
|
void |
pushConfig(String name,
byte[] data)
Method to push an configuration-file to the frontend-server
|
void |
triggerPluginSync(PluginSyncData... syncData)
Method to trigger the sync of plugins
|
void |
unreferenced() |
public String getConnectionID()
public void pushConfig(String name, byte[] data) throws Exception
IFSSession
pushConfig
in interface IFSSession
name
- String
the name of the configuration-filedata
- Byte
-array with the data of the configuration-fileException
- on errors while pushing the configuration-filepublic void callback(String callbackName, IFormDataAdapter saveFormData, Vorgang vorgang) throws Exception
IFSSession
callback
in interface IFSSession
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 withException
- on errors while performing the callbackpublic boolean disconnect()
IFSSession
disconnect
in interface IFSSession
true
if the disconnect was successful, false
otherwisepublic void unreferenced()
unreferenced
in interface de.root1.simon.SimonUnreferenced
public boolean ping()
IFSSession
ping
in interface IFSSession
true
if successful, false
otherwisepublic void triggerPluginSync(PluginSyncData... syncData) throws Exception
IFSSession
triggerPluginSync
in interface IFSSession
syncData
- PluginSyncData
of the plugins to syncException
- on errorsCopyright © 2020 XIMA MEDIA GmbH. All rights reserved.