diff options
author | paweldomas <pawel.domas@jitsi.org> | 2014-12-29 10:01:04 +0100 |
---|---|---|
committer | paweldomas <pawel.domas@jitsi.org> | 2014-12-29 10:43:04 +0100 |
commit | 261d985f1b78fa68804f8f2949698ddb7769555c (patch) | |
tree | 0e9c687c83e2928fd199e4a586fcc14bd74e31c9 /src | |
parent | a8cb4d333870ec373a1bf3bb2a1c65233e80c471 (diff) | |
download | jitsi-261d985f1b78fa68804f8f2949698ddb7769555c.zip jitsi-261d985f1b78fa68804f8f2949698ddb7769555c.tar.gz jitsi-261d985f1b78fa68804f8f2949698ddb7769555c.tar.bz2 |
Adds JabberChatRoomMember interface.
Diffstat (limited to 'src')
-rw-r--r-- | src/net/java/sip/communicator/impl/protocol/jabber/ChatRoomMemberJabberImpl.java | 3 | ||||
-rw-r--r-- | src/net/java/sip/communicator/service/protocol/jabber/JabberChatRoomMember.java | 26 |
2 files changed, 28 insertions, 1 deletions
diff --git a/src/net/java/sip/communicator/impl/protocol/jabber/ChatRoomMemberJabberImpl.java b/src/net/java/sip/communicator/impl/protocol/jabber/ChatRoomMemberJabberImpl.java index 263d6bf..22916c5 100644 --- a/src/net/java/sip/communicator/impl/protocol/jabber/ChatRoomMemberJabberImpl.java +++ b/src/net/java/sip/communicator/impl/protocol/jabber/ChatRoomMemberJabberImpl.java @@ -7,6 +7,7 @@ package net.java.sip.communicator.impl.protocol.jabber; import net.java.sip.communicator.service.protocol.*; +import net.java.sip.communicator.service.protocol.jabber.*; import org.jivesoftware.smack.util.*; import org.jivesoftware.smackx.muc.*; @@ -17,7 +18,7 @@ import org.jivesoftware.smackx.muc.*; * @author Emil Ivov */ public class ChatRoomMemberJabberImpl - implements ChatRoomMember + implements JabberChatRoomMember { /** * The chat room that we are a member of. diff --git a/src/net/java/sip/communicator/service/protocol/jabber/JabberChatRoomMember.java b/src/net/java/sip/communicator/service/protocol/jabber/JabberChatRoomMember.java new file mode 100644 index 0000000..279ae3e --- /dev/null +++ b/src/net/java/sip/communicator/service/protocol/jabber/JabberChatRoomMember.java @@ -0,0 +1,26 @@ +/* + * Jitsi, the OpenSource Java VoIP and Instant Messaging client. + * + * Distributable under LGPL license. + * See terms of license at gnu.org. + */ +package net.java.sip.communicator.service.protocol.jabber; + +import net.java.sip.communicator.service.protocol.*; + +/** + * {@link ChatRoomMember} interface extension that provides additional + * methods specific to Jabber protocol. + * + * @author Pawel Domas + */ +public interface JabberChatRoomMember + extends ChatRoomMember +{ + /** + * Returns the Jabber ID of the member. + * @return the Jabber ID or <tt>null</tt> if we don't have enough + * permissions to look up user's JID. + */ + public String getJabberID(); +} |