public class JabberMultiUserChat extends Object implements hudson.plugins.im.IMChat
| Constructor and Description |
|---|
JabberMultiUserChat(org.jivesoftware.smackx.muc.MultiUserChat chat,
hudson.plugins.jabber.im.transport.JabberIMConnection connection,
boolean commandsAccepted) |
| Modifier and Type | Method and Description |
|---|---|
void |
addMessageListener(hudson.plugins.im.IMMessageListener listener) |
String |
getIMId(String senderId) |
String |
getNickName(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(hudson.plugins.im.IMMessageListener listener) |
void |
sendMessage(String msg) |
public JabberMultiUserChat(org.jivesoftware.smackx.muc.MultiUserChat chat,
hudson.plugins.jabber.im.transport.JabberIMConnection connection,
boolean commandsAccepted)
public void sendMessage(String msg) throws hudson.plugins.im.IMException
sendMessage in interface hudson.plugins.im.IMChathudson.plugins.im.IMExceptionpublic String getNickName(String sender)
getNickName in interface hudson.plugins.im.IMChatpublic String getIMId(String senderId)
getIMId in interface hudson.plugins.im.IMChatpublic void addMessageListener(hudson.plugins.im.IMMessageListener listener)
addMessageListener in interface hudson.plugins.im.IMChatpublic void removeMessageListener(hudson.plugins.im.IMMessageListener listener)
removeMessageListener in interface hudson.plugins.im.IMChatpublic boolean isMultiUserChat()
isMultiUserChat in interface hudson.plugins.im.IMChatpublic boolean isCommandsAccepted()
isCommandsAccepted in interface hudson.plugins.im.IMChatCopyright © 2004-2014 Hudson. All Rights Reserved.