public class IQPEPOwnerHandler extends IQHandler
An IQHandler
used to implement XEP-0163: "Personal Eventing via Pubsub"
Version 1.0
An IQHandler can only handle one namespace in its IQHandlerInfo. However, PEP related packets are seen having a variety of different namespaces. This handler is needed to forward IQ packets with the 'http://jabber.org/protocol/pubsub#owner' namespace to IQPEPHandler.
deliverer, sessionManager
Constructor and Description |
---|
IQPEPOwnerHandler() |
Modifier and Type | Method and Description |
---|---|
IQHandlerInfo |
getInfo()
Returns the handler information to help generically handle IQ packets.
|
org.xmpp.packet.IQ |
handleIQ(org.xmpp.packet.IQ packet)
Handles the received IQ packet.
|
initialize, process
destroy, getName, start, stop
public IQHandlerInfo getInfo()
IQHandler
public org.xmpp.packet.IQ handleIQ(org.xmpp.packet.IQ packet) throws UnauthorizedException
IQHandler
handleIQ
in class IQHandler
packet
- the IQ packet to handle.UnauthorizedException
- if the user that sent the packet is not
authorized to request the given operation.Copyright © 2003-2008 Jive Software.