public class IQAdminHandler extends Object
Constructor and Description |
---|
IQAdminHandler(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 or admin of the room.
|
public IQAdminHandler(LocalMUCRoom chatroom, PacketRouter packetRouter)
public void handleIQ(org.xmpp.packet.IQ packet, MUCRole role) throws ForbiddenException, ConflictException, NotAllowedException, CannotBeInvitedException
packet
- the IQ packet sent by an owner or admin of the room.role
- the role of the user that sent the request packet.ForbiddenException
- If the user is not allowed to perform his request.ConflictException
- If the desired room nickname is already reserved for the room or
if the room was going to lose all of its owners.NotAllowedException
- Thrown if trying to ban an owner or an administrator.CannotBeInvitedException
- If the user being invited as a result of being added to a members-only room still does not have permissionCopyright © 2003-2008 Jive Software.