|
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.msghistory.MessageHistoryServiceImpl.ChatRoomMemberImpl
static class MessageHistoryServiceImpl.ChatRoomMemberImpl
Simple ChatRoomMember implementation.
| Constructor Summary | |
|---|---|
MessageHistoryServiceImpl.ChatRoomMemberImpl(String name,
ChatRoom chatRoom,
ChatRoomMemberRole role)
|
|
| 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. |
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 |
setRole(ChatRoomMemberRole newRole)
Sets the role of this chat room member in its containing room. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public MessageHistoryServiceImpl.ChatRoomMemberImpl(String name,
ChatRoom chatRoom,
ChatRoomMemberRole role)
| Method Detail |
|---|
public ChatRoom getChatRoom()
ChatRoomMember
getChatRoom in interface ChatRoomMemberpublic ProtocolProviderService getProtocolProvider()
ChatRoomMember
getProtocolProvider in interface ChatRoomMemberpublic String getContactAddress()
ChatRoomMember
getContactAddress in interface ChatRoomMemberpublic String getName()
ChatRoomMember
getName in interface ChatRoomMemberpublic ChatRoomMemberRole getRole()
ChatRoomMember
getRole in interface ChatRoomMemberpublic byte[] getAvatar()
ChatRoomMember
getAvatar in interface ChatRoomMemberpublic void setRole(ChatRoomMemberRole newRole)
ChatRoomMember
setRole in interface ChatRoomMembernewRole - ChatRoomMemberRole instance indicating the role
to set for this member in its containing chat room.public Contact getContact()
ChatRoomMember
getContact in interface ChatRoomMember
|
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 | |||||||||