com.valhalla.jbother.groupchat
Class GroupParticipantListener
java.lang.Object
com.valhalla.jbother.groupchat.GroupParticipantListener
- All Implemented Interfaces:
- org.jivesoftware.smack.PacketListener
public class GroupParticipantListener
- extends java.lang.Object
- implements org.jivesoftware.smack.PacketListener
Listens for presence packets when you are in a groupchat, and will update the
nicklist in a groupchat room. Also, if you are in a private conversation with
someone and they sign off, it will let you know.
- Version:
- 1.0
- Author:
- Adam Olsen
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
GroupParticipantListener
public GroupParticipantListener(ChatRoomPanel window)
- sets up the packet listener
nickChange
public void nickChange(MUCBuddyStatus user)
processPacket
public void processPacket(org.jivesoftware.smack.packet.Packet packet)
- Processes incoming presence packets (from group chats)
- Specified by:
processPacket in interface org.jivesoftware.smack.PacketListener