Interface IFSSession

All Superinterfaces:
Serializable
All Known Implementing Classes:
FSSessionImpl

public interface IFSSession extends Serializable
Interface of the client-session on the frontend-server after authentication
Author:
XIMA MEDIA GmbH
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    callback(String callbackHandlerName, IFormDataAdapter formData, Vorgang process)
    Method to perform an callback on the frontend-server
    boolean
    Method to perform an clean disconnect
    boolean
    Method to ping the frontend-server
    void
    pushConfig(String name, byte[] data)
    Method to push an configuration-file to the frontend-server
    void
    Method to trigger the sync of plugins
  • Method Details

    • callback

      void callback(String callbackHandlerName, IFormDataAdapter formData, Vorgang process) throws Exception
      Method to perform an callback on the frontend-server
      Parameters:
      callbackHandlerName - String name of the callback-handler to perform
      formData - IFormDataAdapter the form-data with which the callback sould be performed
      process - Vorgang the process to perfrom the callback with
      Throws:
      Exception - on errors while performing the callback
    • pushConfig

      void pushConfig(String name, byte[] data) throws Exception
      Method to push an configuration-file to the frontend-server
      Parameters:
      name - String the name of the configuration-file
      data - Byte-array with the data of the configuration-file
      Throws:
      Exception - on errors while pushing the configuration-file
    • triggerPluginSync

      void triggerPluginSync(PluginSyncData... syncData) throws Exception
      Method to trigger the sync of plugins
      Parameters:
      syncData - PluginSyncData of the plugins to sync
      Throws:
      Exception - on errors
    • disconnect

      boolean disconnect()
      Method to perform an clean disconnect
      Returns:
      true if the disconnect was successful, false otherwise
    • ping

      boolean ping()
      Method to ping the frontend-server
      Returns:
      true if successful, false otherwise