Class ViewConfigMsg
- java.lang.Object
- 
- com.inductiveautomation.perspective.gateway.messages.lifecycle.ViewConfigMsg
 
- 
 public class ViewConfigMsg extends java.lang.ObjectMessage which is used in both the Designer.js handler, and in thePerspectiveDesignSession. When the protocol is sent by the gateway, the designer.js handler should collect the config for the specified view path, and return it in a message with the same protocol. When received by the gateway, 'view-config' protocol messages are delivered to the awaiting project sessions in order to provide view configs to the requesting page.
- 
- 
Field SummaryFields Modifier and Type Field Description static java.lang.StringPROTOCOLprotocol used when the gw is requesting a specific view config.java.lang.StringresourcePathPath to the View in the project's resource tree.ViewConfigviewConfig
 - 
Constructor SummaryConstructors Constructor Description ViewConfigMsg()
 
- 
- 
- 
Field Detail- 
PROTOCOLpublic static final java.lang.String PROTOCOL protocol used when the gw is requesting a specific view config.- See Also:
- Constant Field Values
 
 - 
viewConfigpublic ViewConfig viewConfig 
 - 
resourcePathpublic java.lang.String resourcePath Path to the View in the project's resource tree.
 
- 
 
-