Package org.jivesoftware.smackx.muc

Examples of org.jivesoftware.smackx.muc.ParticipantStatusListener


    participantListener = new PacketListener() {
      public void processPacket(Packet packet) {
      }
    };
    muc.addParticipantListener(participantListener);
    participantStatusListener = new ParticipantStatusListener() {
      public void joined(String participant) {
        asyncAppendToChatHistory(participant, "Joined Room.", false,
            null, "--- ");
        addUser(participant);
      }
View Full Code Here


        multiuserchat.addParticipantListener(new PacketListener() {
          public void processPacket(Packet arg0) {
            handleXMPPMessage(arg0);
          }
        });
        multiuserchat.addParticipantStatusListener(new ParticipantStatusListener() {
          public void joined(String arg0) {
            handleChatMembershipEvent(arg0, true);
          }

          public void left(String arg0) {
View Full Code Here

TOP

Related Classes of org.jivesoftware.smackx.muc.ParticipantStatusListener

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.