Package adams.event

Class PublicationEvent

    • Field Detail

      • m_DataSource

        protected Object m_DataSource
        the data source.
      • m_PublishedData

        protected Object m_PublishedData
        the published data.
    • Constructor Detail

      • PublicationEvent

        public PublicationEvent​(PublishSubscribeHandler handler,
                                Object dataSource,
                                Object publishedData)
        Initializes the event.
        Parameters:
        handler - the handler of the subscriptions
        dataSource - the source of the data
        publishedData - the published data
    • Method Detail

      • getDataSource

        public Object getDataSource()
        Returns the object that generated the data.
        Returns:
        the data source
      • getPublishedData

        public Object getPublishedData()
        Returns the published the data.
        Returns:
        the data