Class DesignerConcurrencyMessage
- java.lang.Object
-
- com.inductiveautomation.ignition.designer.concurrency.DesignerConcurrencyMessage
-
public class DesignerConcurrencyMessage extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
PROJECT_UPDATE
A project update is available after a Designer has modified resourcesstatic java.lang.String
REMOVE
A Designer session has closed or there has been a project changestatic java.lang.String
SESSION_UPDATE
Resources have changed for a particular session and projectstatic java.lang.String
SYNC
A Designer session has been created or a previous one has reconnected to the GW.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static java.lang.String
fromResources(java.util.List<ResourceSession> sessions)
static java.util.List<ResourceSession>
toResources(java.lang.String json)
-
-
-
Field Detail
-
SYNC
public static final java.lang.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:
- Constant Field Values
-
SESSION_UPDATE
public static final java.lang.String SESSION_UPDATE
Resources have changed for a particular session and project- See Also:
- Constant Field Values
-
REMOVE
public static final java.lang.String REMOVE
A Designer session has closed or there has been a project change- See Also:
- Constant Field Values
-
PROJECT_UPDATE
public static final java.lang.String PROJECT_UPDATE
A project update is available after a Designer has modified resources- See Also:
- Constant Field Values
-
-
Method Detail
-
toResources
public static java.util.List<ResourceSession> toResources(java.lang.String json)
- Returns:
- a list of ResourceSessions to replace the Designer's current view of resources opened in other Designers
-
fromResources
public static java.lang.String fromResources(java.util.List<ResourceSession> sessions)
- Returns:
- see update-message.json
-
-