Class SharedStateWriter

    • Constructor Detail

      • SharedStateWriter

        public SharedStateWriter()
    • Method Detail

      • write

        public Set<String> write​(UI ui,
                                 Writer writer)
                          throws IOException
        Writes a JSON object containing the pending state changes of the dirty connectors of the given UI.
        Parameters:
        ui - The UI whose state changes should be written.
        writer - The writer to use.
        Returns:
        a set of connector ids with state changes
        Throws:
        IOException - If the serialization fails.