Interface GroupChannelAttachableListenerManager

    • Method Detail

      • getGroupChannelChangeNameListeners

        List<GroupChannelChangeNameListener> getGroupChannelChangeNameListeners​()
        Gets a list with all registered GroupChannelChangeNameListeners.
        Returns:
        A list with all registered GroupChannelChangeNameListeners.
      • getGroupChannelDeleteListeners

        List<GroupChannelDeleteListener> getGroupChannelDeleteListeners​()
        Gets a list with all registered GroupChannelDeleteListeners.
        Returns:
        A list with all registered GroupChannelDeleteListeners.
      • addGroupChannelAttachableListener

        <T extends GroupChannelAttachableListener & ObjectAttachableListenerCollection<ListenerManager<? extends GroupChannelAttachableListener>> addGroupChannelAttachableListener​(T listener)
        Adds a listener that implements one or more GroupChannelAttachableListeners. Adding a listener multiple times will only add it once and return the same listener managers on each invocation. The order of invocation is according to first addition.
        Type Parameters:
        T - The type of the listener.
        Parameters:
        listener - The listener to add.
        Returns:
        The managers for the added listener.
      • removeGroupChannelAttachableListener

        <T extends GroupChannelAttachableListener & ObjectAttachableListener> void removeGroupChannelAttachableListener​(T listener)
        Removes a listener that implements one or more GroupChannelAttachableListeners.
        Type Parameters:
        T - The type of the listener.
        Parameters:
        listener - The listener to remove.
      • getGroupChannelAttachableListeners

        <T extends GroupChannelAttachableListener & ObjectAttachableListenerMap<T,List<Class<T>>> getGroupChannelAttachableListeners​()
        Gets a map with all registered listeners that implement one or more GroupChannelAttachableListeners and their assigned listener classes they listen to.
        Type Parameters:
        T - The type of the listeners.
        Returns:
        A map with all registered listeners that implement one or more GroupChannelAttachableListeners and their assigned listener classes they listen to.
      • removeListener

        <T extends GroupChannelAttachableListener & ObjectAttachableListener> void removeListener​(Class<T> listenerClass,
                                                                                                  T listener)
        Removes a listener from this object.
        Type Parameters:
        T - The type of the listener.
        Parameters:
        listenerClass - The listener class.
        listener - The listener to remove.