Class AbstractSignalTransporter

    • Field Detail

      • logger

        private static final org.slf4j.Logger logger
        Log signals processing.
      • globalSignalId

        private String globalSignalId
      • signalHandlerURI

        private URI signalHandlerURI
    • Constructor Detail

      • AbstractSignalTransporter

        protected AbstractSignalTransporter()
    • Method Detail

      • getSupportedSignals

        public Collection<Signal> getSupportedSignals()
        Description copied from interface: SignalTransporter
        Get a collection containing the signals supported, by the signal handler. A null return value means that the transporter just doesn't know about which signals are supported and which are not.
        Specified by:
        getSupportedSignals in interface SignalTransporter
        Returns:
        A collections with the signals, or null
      • getGlobalSignalId

        protected String getGlobalSignalId()
        Get the raw ID string that was passed to the init(String) method.
      • getSignalURI

        protected URI getSignalURI()
        Get the URI representation of the global signal ID.
        Returns:
        An URI
        Throws:
        SignalException - If the signal ID is not a valid URI.
      • getReceiverId

        protected String getReceiverId()
        Get the receiverId part of the signal URI.
        Returns:
        The ID of the receiver
      • getHandlerId

        protected String getHandlerId()
        Get the local handler ID part of the signal URI.
        Returns:
        The local ID of the signal handler