Class SseBroadcaster

    • Constructor Detail

      • SseBroadcaster

        protected SseBroadcaster​(Class<? extends SseBroadcaster> subclass)
        Can be used by subclasses to override the default functionality of adding self to the set of listeners. If creating a direct instance of a subclass passed in the parameter, the broadcaster will not register itself as a listener.
        Parameters:
        subclass - subclass of SseBroadcaster that should not be registered as a listener - if creating a direct instance of this subclass, this constructor will not register the new instance as a listener.
        See Also:
        SseBroadcaster()