Class ChatUserEventListener

    • Constructor Detail

      • ChatUserEventListener

        public ChatUserEventListener()
    • Method Detail

      • onCreation

        public void onCreation​(UserEvent event)
        Description copied from interface: ResourceEventListener
        An event on the creation of a resource has be listened. By default, this method does nothing.
        Parameters:
        event - the event on the creation of a resource.
      • onDeletion

        public void onDeletion​(UserEvent event)
        Description copied from interface: ResourceEventListener
        An event on the deletion of a resource has be listened. A deleted resource is nonexistent and nonrecoverable. By default, this method does nothing.
        Parameters:
        event - the event on the deletion of a resource.
      • isEnabled

        public boolean isEnabled()
        Description copied from interface: ResourceEventListener
        Is this listener enabled? When a listener is enabled, it processes then all the incoming events it listens for. Otherwise, nothing the event isn't consumed. By default, the listener is enabled. If the listener has to be enabled according to some conditions, then overrides this method.
        Returns:
        true if this listener has to consume the events it listens for. False otherwise. Returns true by default.