Class ViewConfigMsg
- java.lang.Object
-
- com.inductiveautomation.perspective.gateway.messages.lifecycle.ViewConfigMsg
-
public class ViewConfigMsg extends java.lang.Object
Message 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 Summary
Fields Modifier and Type Field Description static java.lang.String
PROTOCOL
protocol used when the gw is requesting a specific view config.java.lang.String
resourcePath
Path to the View in the project's resource tree.ViewConfig
viewConfig
-
Constructor Summary
Constructors Constructor Description ViewConfigMsg()
-
-
-
Field Detail
-
PROTOCOL
public static final java.lang.String PROTOCOL
protocol used when the gw is requesting a specific view config.- See Also:
- Constant Field Values
-
viewConfig
public ViewConfig viewConfig
-
resourcePath
public java.lang.String resourcePath
Path to the View in the project's resource tree.
-
-