Class JabberChat

  • All Implemented Interfaces:
    hudson.plugins.im.IMChat

    public class JabberChat
    extends java.lang.Object
    implements hudson.plugins.im.IMChat
    1-on-1 Jabber chat.
    • Constructor Summary

      Constructors 
      Constructor Description
      JabberChat​(org.jivesoftware.smack.chat.Chat chat, hudson.plugins.jabber.im.transport.JabberIMConnection connection)  
    • Constructor Detail

      • JabberChat

        public JabberChat​(org.jivesoftware.smack.chat.Chat chat,
                          hudson.plugins.jabber.im.transport.JabberIMConnection connection)
    • Method Detail

      • sendMessage

        public void sendMessage​(java.lang.String msg)
                         throws hudson.plugins.im.IMException
        Specified by:
        sendMessage in interface hudson.plugins.im.IMChat
        Throws:
        hudson.plugins.im.IMException
      • getNickName

        public java.lang.String getNickName​(java.lang.String sender)
        Specified by:
        getNickName in interface hudson.plugins.im.IMChat
      • getIMId

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

        public void addMessageListener​(hudson.plugins.im.IMMessageListener listener)
        Specified by:
        addMessageListener in interface hudson.plugins.im.IMChat
      • removeMessageListener

        public void removeMessageListener​(hudson.plugins.im.IMMessageListener listener)
        Specified by:
        removeMessageListener in interface hudson.plugins.im.IMChat
      • isMultiUserChat

        public boolean isMultiUserChat()
        Specified by:
        isMultiUserChat in interface hudson.plugins.im.IMChat
      • isCommandsAccepted

        public boolean isCommandsAccepted()
        Specified by:
        isCommandsAccepted in interface hudson.plugins.im.IMChat