Class IQMUCSearchHandler
- java.lang.Object
-
- org.jivesoftware.openfire.muc.spi.IQMUCSearchHandler
-
public class IQMUCSearchHandler extends Object
This class adds jabber:iq:search combined with 'result set management' functionality to the MUC service of Openfire.- Author:
- Guus der Kinderen - Nimbuzz B.V. <guus@nimbuzz.com>, Giancarlo Frison - Nimbuzz B.V. <giancarlo@nimbuzz.com>
-
-
Field Summary
Fields Modifier and Type Field Description static String
JABBER_IQ_SEARCH
static String
NUM_MAX_USERS
static String
NUM_USERS
static String
SUBJECT
-
Constructor Summary
Constructors Constructor Description IQMUCSearchHandler(MultiUserChatService mucService)
Creates a new instance of the search provider.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.xmpp.packet.IQ
handleIQ(org.xmpp.packet.IQ iq)
Constructs an answer on a IQ stanza that contains a search request.
-
-
-
Field Detail
-
JABBER_IQ_SEARCH
public static final String JABBER_IQ_SEARCH
- See Also:
- Constant Field Values
-
SUBJECT
public static final String SUBJECT
- See Also:
- Constant Field Values
-
NUM_USERS
public static final String NUM_USERS
- See Also:
- Constant Field Values
-
NUM_MAX_USERS
public static final String NUM_MAX_USERS
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
IQMUCSearchHandler
public IQMUCSearchHandler(MultiUserChatService mucService)
Creates a new instance of the search provider.- Parameters:
mucService
- The server for which to return search results.
-
-
Method Detail
-
handleIQ
public org.xmpp.packet.IQ handleIQ(org.xmpp.packet.IQ iq)
Constructs an answer on a IQ stanza that contains a search request. The answer will be an IQ stanza of type 'result' or 'error'.- Parameters:
iq
- The IQ stanza that is the search request.- Returns:
- An answer to the provided request.
-
-