Interface WebSearchWatcher

  • All Known Implementing Classes:
    GlobalRepository, SearchRepository, UserRepository

    public interface WebSearchWatcher
    The interface for describing objects that listen to WebSearchables for events. The ChangeEvent interface is implemented by several subclasses, that should all be handled appropriately. For an example implementation see SearchRepository.
    Author:
    Alex Kalderimis.
    • Method Detail

      • receiveEvent

        void receiveEvent​(ChangeEvent e)
        Receive notification of a change to a WebSearchable somewhere in the universe. It may or may not be relevant to you. You will have to examine the event and decide what action to take.
        Parameters:
        e - The event you care about.