Index

Principles

    This section lays out the fundamentals of operation of the WebBrick Gateway and how it interacts with other subsystems.

    WebBricks use both HTTP and UDP protocols. The WebBrick Gateway mostly uses HTTP to get and set WebBrick information and UDP to acquire WebBrick events. The simple reason for this is that UDP packets will be received by all WebBrick Gateway's on an Intranet and that HTTP is a session based point to point protocol.

    The WebBrick Gateway has pages that display automated systems parameters and controls. Once a client browser opens a page it starts running a client-side JavaScript process to keep the page dynamically updated. The Gateway is capable of delivering static pages to devices that do not have the resources for dynamic updates.

    The WebBrick Gateway receives requests for updates to displayed pages, validates the request and then collects data from the WebBricks, from local sources (including cached values) or remote resources.

    In retrieving this data the WebBrick Gateway and the browser javascript make decisions on the state of the device and therefore how to update the display. The device states may be one of those in the following table of generic states or may be totally unique.