|
Jitsi: the OpenSource Java VoIP and Instant Messaging client. | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.java.sip.communicator.impl.protocol.jabber.ChatRoomMemberJabberImpl
public class ChatRoomMemberJabberImpl
A Jabber implementation of the chat room member.
| Constructor Summary | |
|---|---|
ChatRoomMemberJabberImpl(ChatRoomJabberImpl containingChatRoom,
String nickName,
String jabberID)
Creates a jabber chat room member with the specified containing chat room parent. |
|
| Method Summary | |
|---|---|
byte[] |
getAvatar()
Returns the avatar of this member, that can be used when including it in user interface. |
ChatRoom |
getChatRoom()
Returns the chat room that this member is participating in. |
Contact |
getContact()
Returns the protocol contact corresponding to this member in our contact list. |
String |
getContactAddress()
Returns the contact identifier representing this contact. |
(package private) ChatRoomMemberRole |
getCurrentRole()
Returns the current role without trying to query it in the stack. |
String |
getName()
Returns the name of this member as it is known in its containing chatroom (aka a nickname). |
ProtocolProviderService |
getProtocolProvider()
Returns the protocol provider instance that this member has originated in. |
ChatRoomMemberRole |
getRole()
Returns the role of this chat room member in its containing room. |
void |
setAvatar(byte[] avatar)
Sets the avatar for this member. |
void |
setContact(Contact contact)
Sets the given contact to this member. |
protected void |
setName(String newNick)
Update the name of this parcipant |
void |
setRole(ChatRoomMemberRole role)
Sets the role of this member. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ChatRoomMemberJabberImpl(ChatRoomJabberImpl containingChatRoom,
String nickName,
String jabberID)
containingChatRoom - the room that this
ChatRoomMemberJabberImpl is a member of.nickName - the nick name that the member is using to participate
in the chat roomjabberID - the jabber id, if available, of the member or null
otherwise.| Method Detail |
|---|
public ChatRoom getChatRoom()
getChatRoom in interface ChatRoomMemberpublic String getContactAddress()
getContactAddress in interface ChatRoomMemberpublic String getName()
getName in interface ChatRoomMemberprotected void setName(String newNick)
newNick - the newNick of the participantpublic ProtocolProviderService getProtocolProvider()
getProtocolProvider in interface ChatRoomMemberpublic ChatRoomMemberRole getRole()
getRole in interface ChatRoomMemberChatRoomMemberRole getCurrentRole()
public void setRole(ChatRoomMemberRole role)
setRole in interface ChatRoomMemberrole - the role to setpublic byte[] getAvatar()
getAvatar in interface ChatRoomMemberpublic void setAvatar(byte[] avatar)
avatar - the avatar to set.public Contact getContact()
getContact in interface ChatRoomMemberpublic void setContact(Contact contact)
contact - the contact to set.
|
Jitsi: the OpenSource Java VoIP and Instant Messaging client. | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||