Interface IQListener

  • All Implemented Interfaces:

    
    public interface IQListener
    
                        

    An interface for handling IQs coming from a specific MucClient.

    Author:

    Boris Grozev

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Constructor Summary

      Constructors 
      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      IQ handleIq(IQ iq) Handles an IQ.
      IQ handleIq(IQ iq, MucClient mucClient) Handles an IQ.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

    • Method Detail

      • handleIq

         IQ handleIq(IQ iq)

        Handles an IQ. Default implementation which ignores the MucClient which from which the IQ comes.

        Parameters:
        iq - the IQ to be handled.
        Returns:

        the IQ to be sent as a response or null.

      • handleIq

         IQ handleIq(IQ iq, MucClient mucClient)

        Handles an IQ. Default implementation which ignores the MucClient which from which the IQ comes.

        Parameters:
        iq - the IQ to be handled.
        mucClient - the MucClient from which the IQ comes.
        Returns:

        the IQ to be sent as a response or null.