Class DesignerConcurrencyMessage

java.lang.Object
com.inductiveautomation.ignition.designer.concurrency.DesignerConcurrencyMessage

public class DesignerConcurrencyMessage extends Object
  • Field Details

    • SYNC

      public static final String SYNC
      A Designer session has been created or a previous one has reconnected to the GW. It needs to communicate all of its open resources as well as needs to be given an update on other Designers.
      See Also:
    • SESSION_UPDATE

      public static final String SESSION_UPDATE
      Resources have changed for a particular session and project
      See Also:
    • REMOVE

      public static final String REMOVE
      A Designer session has closed or there has been a project change
      See Also:
    • PROJECT_UPDATE

      public static final String PROJECT_UPDATE
      A project update is available after a Designer has modified resources
      See Also:
    • GSON

      public static final com.inductiveautomation.ignition.common.gson.Gson GSON
  • Method Details

    • toResources

      public static List<ResourceSession> toResources(com.inductiveautomation.ignition.common.gson.JsonObject message)
      Returns:
      a list of ResourceSessions to replace the Designer's current view of resources opened in other Designers
    • fromResources

      public static com.inductiveautomation.ignition.common.gson.JsonObject fromResources(List<ResourceSession> sessions)
      Returns:
      see update-message.json