public class ChatRoomInvitationRejectedEvent
extends java.util.EventObject
Constructor and Description |
---|
ChatRoomInvitationRejectedEvent(OperationSetMultiUserChat source,
ChatRoom chatRoom,
java.lang.String invitee,
java.lang.String reason,
java.util.Date timestamp)
Creates a ChatRoomInvitationRejectedEvent representing the
rejection of an invitation, rejected by the given invitee.
|
Modifier and Type | Method and Description |
---|---|
ChatRoom |
getChatRoom()
Returns the ChatRoom for which the initial invitation was.
|
java.lang.String |
getInvitee()
Returns the name of the invitee that rejected the invitation.
|
java.lang.String |
getReason()
Returns the reason for which the ChatRoomInvitation is rejected.
|
OperationSetMultiUserChat |
getSourceOperationSet()
Returns the multi user chat operation set that dispatches this event.
|
java.util.Date |
getTimestamp()
A timestamp indicating the exact date when the event ocurred.
|
public ChatRoomInvitationRejectedEvent(OperationSetMultiUserChat source, ChatRoom chatRoom, java.lang.String invitee, java.lang.String reason, java.util.Date timestamp)
source
- the OperationSetMultiUserChat that dispatches this
eventchatRoom
- the ChatRoom for which the initial invitation
wasinvitee
- the name of the invitee that rejected the invitationreason
- the reason of the rejectiontimestamp
- the exact date when the event ocurredpublic OperationSetMultiUserChat getSourceOperationSet()
public ChatRoom getChatRoom()
public java.lang.String getInvitee()
public java.lang.String getReason()
public java.util.Date getTimestamp()
Jitsi, the OpenSource Java VoIP and Instant Messaging client.
Distributable under Apache license.