Class InterfaceEvent

    • Constructor Detail

      • InterfaceEvent

        public InterfaceEvent​(InterfaceEvent.Type type,
                              Interface subject)
        Creates an interface event with type and subject.
        Parameters:
        type - event type
        subject - subject interface
      • InterfaceEvent

        public InterfaceEvent​(InterfaceEvent.Type type,
                              Interface subject,
                              long time)
        Creates an interface event with type, subject and time of event.
        Parameters:
        type - event type
        subject - subject interface
        time - time of event
      • InterfaceEvent

        public InterfaceEvent​(InterfaceEvent.Type type,
                              Interface subject,
                              Interface prevSubject)
        Creates an interface event with type, subject and previous subject.
        Parameters:
        type - event type
        subject - subject interface
        prevSubject - previous interface subject
      • InterfaceEvent

        public InterfaceEvent​(InterfaceEvent.Type type,
                              Interface subject,
                              Interface prevSubject,
                              long time)
        Creates an interface event with type, subject, previous subject and time.
        Parameters:
        type - event type
        subject - subject interface
        prevSubject - previous interface subject
        time - time of event
    • Method Detail

      • prevSubject

        public Interface prevSubject()
        Returns the previous interface subject.
        Returns:
        previous subject of interface or null if the event is not interface specific.