|
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.irc.ChatRoomMemberIrcImpl
public class ChatRoomMemberIrcImpl
Represents a chat room member.
| Constructor Summary | |
|---|---|
ChatRoomMemberIrcImpl(ProtocolProviderServiceIrcImpl parentProvider,
ChatRoom chatRoom,
String contactID,
ChatRoomMemberRole chatRoomMemberRole)
Creates an instance of ChatRoomMemberIrcImpl, by specifying the protocol provider, the corresponding chat room, where this member is joined, the identifier of the contact (the nickname), the login, the host name and finally the role that this contact has in the chat room. |
|
| Method Summary | |
|---|---|
byte[] |
getAvatar()
Returns null to indicate that there's no avatar attached to the IRC member. |
ChatRoom |
getChatRoom()
Returns the chat room that this member is participating in. |
Contact |
getContact()
Returns null to indicate that there's no contact corresponding to the IRC member. |
String |
getContactAddress()
Returns the contact identifier representing this contact. |
String |
getName()
Returns the name of this member as it is known in its containing chat room (i.e. |
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 chatRoomMemberRole)
Sets a new member role to this ChatRoomMember. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ChatRoomMemberIrcImpl(ProtocolProviderServiceIrcImpl parentProvider,
ChatRoom chatRoom,
String contactID,
ChatRoomMemberRole chatRoomMemberRole)
parentProvider - the protocol provider, to which the corresponding
chat room belongschatRoom - the chat room, where this member is joinedcontactID - the nickname of the memberchatRoomMemberRole - the role that this member has in the
corresponding chat room| Method Detail |
|---|
public ChatRoom getChatRoom()
getChatRoom in interface ChatRoomMemberpublic ProtocolProviderService getProtocolProvider()
getProtocolProvider in interface ChatRoomMemberpublic String getContactAddress()
getContactAddress in interface ChatRoomMemberpublic String getName()
getName in interface ChatRoomMemberpublic ChatRoomMemberRole getRole()
getRole in interface ChatRoomMemberpublic void setRole(ChatRoomMemberRole chatRoomMemberRole)
setRole in interface ChatRoomMemberchatRoomMemberRole - the role to be setpublic byte[] getAvatar()
getAvatar in interface ChatRoomMemberpublic Contact getContact()
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 | |||||||||