java.lang.Object
com.inductiveautomation.perspective.gateway.messages.lifecycle.ViewConfigMsg

public class ViewConfigMsg extends Object
Message which is used in both the Designer.js handler, and in the PerspectiveDesignSession. 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 Details

    • PROTOCOL

      public static final String PROTOCOL
      protocol used when the gw is requesting a specific view config.
      See Also:
    • viewConfig

      public ViewConfig viewConfig
    • resourcePath

      public String resourcePath
      Path to the View in the project's resource tree.
  • Constructor Details

    • ViewConfigMsg

      public ViewConfigMsg()