public class ChatRoomInvitationIrcImpl extends java.lang.Object implements ChatRoomInvitation
Constructor and Description |
---|
ChatRoomInvitationIrcImpl(ChatRoom chatRoom,
java.lang.String inviter,
java.lang.String reason,
byte[] chatRoomPassword)
Creates a ChatRoomInvitationIrcImpl, by specifying the
chatRoom, for which the invitation is, the inviter who
sent this invitation and the reason of the invitation.
|
Modifier and Type | Method and Description |
---|---|
byte[] |
getChatRoomPassword()
Returns the password for the chat room.
|
java.lang.String |
getInviter()
Returns the inviter.
|
java.lang.String |
getReason()
Returns the reason of this invitation, or null if there is no reason.
|
ChatRoom |
getTargetChatRoom()
Returns the chat room target of this invitation.
|
public ChatRoomInvitationIrcImpl(ChatRoom chatRoom, java.lang.String inviter, java.lang.String reason, byte[] chatRoomPassword)
chatRoom
- the ChatRoom, for which the invitation isinviter
- the person who sent this invitation.reason
- the reason of the invitationchatRoomPassword
- password for entering the chat roompublic ChatRoom getTargetChatRoom()
getTargetChatRoom
in interface ChatRoomInvitation
public java.lang.String getReason()
getReason
in interface ChatRoomInvitation
public java.lang.String getInviter()
getInviter
in interface ChatRoomInvitation
public byte[] getChatRoomPassword()
getChatRoomPassword
in interface ChatRoomInvitation
Jitsi, the OpenSource Java VoIP and Instant Messaging client.
Distributable under Apache license.