Class JabberMultiUserChat

  • All Implemented Interfaces:

    public class JabberMultiUserChat
    extends java.lang.Object
    Handle for a multi-user chat (aka. conference room) in XMPP/Jabber.
    • Constructor Summary

      Constructor Description
      JabberMultiUserChat​(org.jivesoftware.smackx.muc.MultiUserChat chat, connection, boolean commandsAccepted)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void addMessageListener​( listener)  
      java.lang.String getIMId​(java.lang.String senderId)  
      java.lang.String getNickName​(java.lang.String sender)
      Returns the 'resource' part of the sender id which is the nickname of the sender in this room.
      boolean isCommandsAccepted()  
      boolean isMultiUserChat()  
      void removeMessageListener​( listener)  
      void sendMessage​(java.lang.String msg)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • JabberMultiUserChat

        public JabberMultiUserChat​(org.jivesoftware.smackx.muc.MultiUserChat chat,
                                   boolean commandsAccepted)
    • Method Detail

      • sendMessage

        public void sendMessage​(java.lang.String msg)
        Specified by:
        sendMessage in interface
      • getNickName

        public java.lang.String getNickName​(java.lang.String sender)
        Returns the 'resource' part of the sender id which is the nickname of the sender in this room.
        Specified by:
        getNickName in interface
      • getIMId

        public java.lang.String getIMId​(java.lang.String senderId)
        Specified by:
        getIMId in interface
      • addMessageListener

        public void addMessageListener​( listener)
        Specified by:
        addMessageListener in interface
      • removeMessageListener

        public void removeMessageListener​( listener)
        Specified by:
        removeMessageListener in interface
      • isMultiUserChat

        public boolean isMultiUserChat()
        Specified by:
        isMultiUserChat in interface
      • isCommandsAccepted

        public boolean isCommandsAccepted()
        Specified by:
        isCommandsAccepted in interface