cider.common.network.client
Class ClientChatroomInviteListener

java.lang.Object
  extended by cider.common.network.client.ClientChatroomInviteListener
All Implemented Interfaces:
org.jivesoftware.smackx.muc.InvitationListener

public class ClientChatroomInviteListener
extends java.lang.Object
implements org.jivesoftware.smackx.muc.InvitationListener

Listens for invitations to chatrooms. (Currently there is only one room, created by the bot, for all clients).

Author:
Andrew

Constructor Summary
ClientChatroomInviteListener(org.jivesoftware.smackx.muc.MultiUserChat source, java.lang.String nickname, Client parent)
           
 
Method Summary
 void invitationReceived(org.jivesoftware.smack.Connection conn, java.lang.String room, java.lang.String inviter, java.lang.String reason, java.lang.String password, org.jivesoftware.smack.packet.Message message)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ClientChatroomInviteListener

public ClientChatroomInviteListener(org.jivesoftware.smackx.muc.MultiUserChat source,
                                    java.lang.String nickname,
                                    Client parent)
Method Detail

invitationReceived

public void invitationReceived(org.jivesoftware.smack.Connection conn,
                               java.lang.String room,
                               java.lang.String inviter,
                               java.lang.String reason,
                               java.lang.String password,
                               org.jivesoftware.smack.packet.Message message)
Specified by:
invitationReceived in interface org.jivesoftware.smackx.muc.InvitationListener