Package de.xima.fc.fs

Class FSConnection


  • public class FSConnection
    extends Object
    Klasse zum Verbinden und Trennen der Verbindung mit dem FServer
    Author:
    XIMA MEDIA GmbH
    • Method Detail

      • 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.
      • fireEvent

        public <TEvent extends Serializable> void fireEvent​(TEvent event)
        Fires an event on the frontend-server, if connected.
        Type Parameters:
        TEvent - the type of the event, must be serializable
        Parameters:
        event - the event to fire
        Throws:
        IllegalArgumentException - if the event is null
      • startReconnect

        public void startReconnect()
      • shutdown

        public void shutdown()