Class IQMUCvCardHandler
java.lang.Object
org.jivesoftware.openfire.container.BasicModule
org.jivesoftware.openfire.handler.IQHandler
org.jivesoftware.openfire.muc.spi.IQMUCvCardHandler
- All Implemented Interfaces:
ChannelHandler<org.xmpp.packet.IQ>,Module
Implements the TYPE_IQ vcard-temp protocol, to be used for MUC rooms.
This implementation borrows heavily from IQvCardHandler.
- Author:
- Guus der Kinderen, guus.der.kinderen@gmail.com
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringstatic SystemProperty<Boolean>Controls if MUC occupants can request vCards / avatars.static final Stringstatic final StringFields inherited from class org.jivesoftware.openfire.handler.IQHandler
deliverer, sessionManager -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic StringcalculatePhotoHash(org.dom4j.Element vcard) getInfo()Returns the handler information to help generically handle IQ packets.org.xmpp.packet.IQhandleIQ(org.xmpp.packet.IQ packet) Handles the received IQ packet.Methods inherited from class org.jivesoftware.openfire.handler.IQHandler
initialize, performNoSuchUserCheck, process, processNoSuchUserCheckMethods inherited from class org.jivesoftware.openfire.container.BasicModule
destroy, getName, start, stop
-
Field Details
-
PROPERTY_ENABLED
Controls if MUC occupants can request vCards / avatars. -
REQUEST_ELEMENT_NAME
- See Also:
-
RESPONSE_ELEMENT_NAME
- See Also:
-
NAMESPACE
- See Also:
-
-
Constructor Details
-
IQMUCvCardHandler
-
-
Method Details
-
handleIQ
Description copied from class:IQHandlerHandles the received IQ packet.- Specified by:
handleIQin classIQHandler- Parameters:
packet- the IQ packet to handle.- Returns:
- the response to send back.
- Throws:
PacketException
-
calculatePhotoHash
-
getInfo
Description copied from class:IQHandlerReturns the handler information to help generically handle IQ packets. IQHandlers that aren't local server iq handlers (e.g. chatbots, transports, etc) returnnull.
-