Jitsi: the OpenSource Java VoIP and Instant Messaging client.

net.java.sip.communicator.service.protocol.event
Class WhiteboardInvitationRejectedEvent

java.lang.Object
  extended by java.util.EventObject
      extended by net.java.sip.communicator.service.protocol.event.WhiteboardInvitationRejectedEvent
All Implemented Interfaces:
Serializable

public class WhiteboardInvitationRejectedEvent
extends EventObject

WhiteboardInvitationRejectedEvents indicates the reception of a rejection of an invitation.

Author:
Yana Stamcheva
See Also:
Serialized Form

Field Summary
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
WhiteboardInvitationRejectedEvent(OperationSetWhiteboarding source, WhiteboardSession session, String invitee, String reason, Date timestamp)
          Creates a WhiteboardInvitationRejectedEvent representing the rejection of an invitation, rejected by the given invitee.
 
Method Summary
 String getInvitee()
          Returns the name of the invitee that rejected the invitation.
 String getReason()
          Returns the reason for which the ChatRoomInvitation is rejected.
 OperationSetWhiteboarding getSourceOperationSet()
          Returns the whiteboarding operation set that dispatches this event.
 Date getTimestamp()
          A timestamp indicating the exact date when the event ocurred.
 WhiteboardSession getWhiteboardSession()
          Returns the WhiteboardSession for which the initial invitation was.
 
Methods inherited from class java.util.EventObject
getSource, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

WhiteboardInvitationRejectedEvent

public WhiteboardInvitationRejectedEvent(OperationSetWhiteboarding source,
                                         WhiteboardSession session,
                                         String invitee,
                                         String reason,
                                         Date timestamp)
Creates a WhiteboardInvitationRejectedEvent representing the rejection of an invitation, rejected by the given invitee.

Parameters:
source - the OperationSetWhiteboarding that dispatches this event
session - the WhiteboardSession for which the initial invitation was
invitee - the name of the invitee that rejected the invitation
reason - the reason of the rejection
timestamp - the exact date when the event ocurred
Method Detail

getSourceOperationSet

public OperationSetWhiteboarding getSourceOperationSet()
Returns the whiteboarding operation set that dispatches this event.

Returns:
the whiteboarding operation set that dispatches this event

getWhiteboardSession

public WhiteboardSession getWhiteboardSession()
Returns the WhiteboardSession for which the initial invitation was.

Returns:
the WhiteboardSession for which the initial invitation was

getInvitee

public String getInvitee()
Returns the name of the invitee that rejected the invitation.

Returns:
the name of the invitee that rejected the invitation

getReason

public String getReason()
Returns the reason for which the ChatRoomInvitation is rejected.

Returns:
the reason for which the ChatRoomInvitation is rejected.

getTimestamp

public Date getTimestamp()
A timestamp indicating the exact date when the event ocurred.

Returns:
a Date indicating when the event ocurred.

Jitsi: the OpenSource Java VoIP and Instant Messaging client.

Jitsi, the OpenSource Java VoIP and Instant Messaging client.
Distributable under LGPL license.