Class EIDSProductBuilder

  • All Implemented Interfaces:
    EIDSListener, Configurable

    public class EIDSProductBuilder
    extends ProductBuilder
    implements EIDSListener
    Convert messages from EIDS into products. Listens to messages from an EIDSClient. Uses EQXMLProductParser and EventAddonParser to build products. Any built products are sent to all configured productSenders.
    • Constructor Detail

      • EIDSProductBuilder

        public EIDSProductBuilder()
    • Method Detail

      • onEIDSMessage

        public void onEIDSMessage​(EIDSMessageEvent event)
        Receive EIDS messages from an EIDSClient. Any received messages are parsed and sent to any ProductSenders. If the message is not EQXML, this method returns immediately.
        Specified by:
        onEIDSMessage in interface EIDSListener
        Parameters:
        event - an event object representing the message that was received.
      • main

        public static void main​(java.lang.String[] args)
        Main method to test EQXMLProductBuilder. Connects an eids client to the product builder, and uses a dummy product sender that outputs to stderr.
        Parameters:
        args - arguments included in the running of main