public class IQOwnerHandler extends Object
Constructor and Description |
---|
IQOwnerHandler(LocalMUCRoom chatroom,
PacketRouter packetRouter) |
Modifier and Type | Method and Description |
---|---|
void |
handleIQ(org.xmpp.packet.IQ packet,
MUCRole role)
Handles the IQ packet sent by an owner of the room.
|
public IQOwnerHandler(LocalMUCRoom chatroom, PacketRouter packetRouter)
public void handleIQ(org.xmpp.packet.IQ packet, MUCRole role) throws ForbiddenException, ConflictException, CannotBeInvitedException, NotAcceptableException
packet
- the IQ packet sent by an owner of the room.role
- the role of the user that sent the packet.ForbiddenException
- if the user does not have enough permissions (ie. is not an owner).ConflictException
- If the room was going to lose all of its owners.CannotBeInvitedException
NotAcceptableException
Copyright © 2003-2008 Jive Software.