Class PiPipeconfEvent

    • Constructor Detail

      • PiPipeconfEvent

        public PiPipeconfEvent​(PiPipeconfEvent.Type type,
                               PiPipeconf pipeconf)
        Creates anew pipeconf event for the given type and pipeconf.
        Parameters:
        type - type of event
        pipeconf - pipeconf
      • PiPipeconfEvent

        public PiPipeconfEvent​(PiPipeconfEvent.Type type,
                               PiPipeconfId pipeconfId)
        Creates anew pipeconf event for the given type and pipeconf ID.
        Parameters:
        type - type of event
        pipeconfId - pipeconf ID
    • Method Detail

      • pipeconf

        public PiPipeconf pipeconf()
        Returns the pipeconf instance associated to this event, or null if one was not provided. For example, PiPipeconfEvent.Type.UNREGISTERED events are not expected to carry the pipeconf instance that was unregistered, but just the ID (via AbstractEvent.subject()).
        Returns:
        pipeconf instance or null