public class ChatRoomInvitationJabberImpl extends java.lang.Object implements ChatRoomInvitation
Constructor and Description |
---|
ChatRoomInvitationJabberImpl(ChatRoom targetChatRoom,
java.lang.String inviter,
java.lang.String reason,
byte[] password)
Creates an invitation for the given targetChatRoom, from the
given inviter.
|
Modifier and Type | Method and Description |
---|---|
byte[] |
getChatRoomPassword()
Returns the password to use when joining the room.
|
java.lang.String |
getInviter()
Returns the ChatRoomMember that sent this invitation.
|
java.lang.String |
getReason()
Returns the reason of this invitation, or null if there is no reason.
|
ChatRoom |
getTargetChatRoom()
Returns the ChatRoom, which is the target of this invitation.
|
public ChatRoomInvitationJabberImpl(ChatRoom targetChatRoom, java.lang.String inviter, java.lang.String reason, byte[] password)
targetChatRoom
- the ChatRoom for which the invitation isinviter
- the ChatRoomMember, which sent the invitationreason
- the reason of the invitationpassword
- the passwordpublic ChatRoom getTargetChatRoom()
ChatRoomInvitation
getTargetChatRoom
in interface ChatRoomInvitation
public java.lang.String getInviter()
ChatRoomInvitation
getInviter
in interface ChatRoomInvitation
public java.lang.String getReason()
ChatRoomInvitation
getReason
in interface ChatRoomInvitation
public byte[] getChatRoomPassword()
ChatRoomInvitation
getChatRoomPassword
in interface ChatRoomInvitation
Jitsi, the OpenSource Java VoIP and Instant Messaging client.
Distributable under Apache license.