net.java.sip.communicator.impl.gui.main.chat.conference
Class ConferenceChatContact
java.lang.Object
net.java.sip.communicator.impl.gui.main.chat.ChatContact<ChatRoomMember>
net.java.sip.communicator.impl.gui.main.chat.conference.ConferenceChatContact
public class ConferenceChatContact
- extends ChatContact<ChatRoomMember>
The ConferenceChatContact represents a ChatContact in a
conference chat.
- Author:
- Yana Stamcheva, Lubomir Marinov
ConferenceChatContact
public ConferenceChatContact(ChatRoomMember chatRoomMember)
- Creates an instance of ChatContact by passing to it the
ChatRoomMember for which it is created.
- Parameters:
chatRoomMember - the ChatRoomMember for which this
ChatContact is created.
getAvatarBytes
public byte[] getAvatarBytes()
- Implements ChatContact#getAvatarBytes(). Delegates to chatRoomMember.
- Specified by:
getAvatarBytes in class ChatContact<ChatRoomMember>
- Returns:
- an array of bytes which represents the avatar image corresponding
to the source contact
getName
public String getName()
- Returns the contact name.
- Specified by:
getName in class ChatContact<ChatRoomMember>
- Returns:
- the contact name
getRole
public ChatRoomMemberRole getRole()
getUID
public String getUID()
- Implements ChatContact#getUID(). Delegates to
ChatRoomMember#getContactAddress() because it's supposed to be unique.
- Specified by:
getUID in class ChatContact<ChatRoomMember>
- Returns:
- an identifier which uniquely specifies this contact
Jitsi, the OpenSource Java VoIP and Instant Messaging client.
Distributable under LGPL license.