Class EIDSMessageEvent

  • All Implemented Interfaces:
    java.io.Serializable

    public class EIDSMessageEvent
    extends java.util.EventObject
    EIDSMessageEvent objects are sent from EIDSClients to EIDSListeners.
    See Also:
    Serialized Form
    • Constructor Detail

      • EIDSMessageEvent

        public EIDSMessageEvent​(QWEmbeddedClient source,
                                java.lang.Long serverSequenceNumber,
                                java.util.Date serverTimeGenerated,
                                java.lang.String feederSourceHost,
                                java.lang.Long feederSequenceNumber,
                                java.lang.String rootNamespace,
                                java.lang.String rootElement,
                                java.lang.String message)
        Create a new EIDSMessageEvent.
        Parameters:
        source - the EIDSClient that received the message.
        feederSourceHost - the origin of the message.
        feederSequenceNumber - a unique identifier from feederSourceHost.
        rootNamespace - the rootElement namespace of the message
        rootElement - the message rootElement local name.
        message - the message that was received.
        serverSequenceNumber - the sequence number assigned by the server that delivered this message.
        serverTimeGenerated - the date the server received this message.
    • Method Detail

      • getQWEmbeddedClient

        public QWEmbeddedClient getQWEmbeddedClient()
        Returns:
        the message source as an EIDSClient.
      • getServerHost

        public java.lang.String getServerHost()
        Returns:
        the serverHost
      • getServerSequence

        public java.lang.Long getServerSequence()
        Returns:
        the serverSequenceNumber
      • getServerTimeGenerated

        public java.util.Date getServerTimeGenerated()
        Returns:
        the serverTimeGenerated
      • getMessageSource

        public java.lang.String getMessageSource()
        Returns:
        combined with message sequence, uniquely identifies this message.
      • getMessageSequence

        public java.lang.Long getMessageSequence()
        Returns:
        combined with message source, uniquely identifies this message.
      • getRootNamespace

        public java.lang.String getRootNamespace()
        Returns:
        the namespace of the xml root element.
      • getRootElement

        public java.lang.String getRootElement()
        Returns:
        the xml root element of the message.
      • getMessage

        public java.lang.String getMessage()
        Returns:
        the message.