Jitsi: the OpenSource Java VoIP and Instant Messaging client.

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

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

public class WhiteboardObjectDeliveredEvent
extends EventObject

WhiteboardObjectDeliveredEvents confirms successful delivery of a WhiteboardObject.

Author:
Julien Waechter, Emil Ivov
See Also:
Serialized Form

Field Summary
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
WhiteboardObjectDeliveredEvent(WhiteboardSession source, WhiteboardObject obj, Contact to, Date timestamp)
          Creates a WhiteboardObjectDeliveredEvent representing delivery of the source whiteboardObject to the specified to contact.
 
Method Summary
 Contact getDestinationContact()
          Returns a reference to the Contact that the source WhiteboardObject was sent to.
 WhiteboardObject getSourceWhiteboardObject()
          Returns the whiteboardObject that triggered this event
 Date getTimestamp()
          A timestamp indicating the exact date when the event ocurred.
 
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

WhiteboardObjectDeliveredEvent

public WhiteboardObjectDeliveredEvent(WhiteboardSession source,
                                      WhiteboardObject obj,
                                      Contact to,
                                      Date timestamp)
Creates a WhiteboardObjectDeliveredEvent representing delivery of the source whiteboardObject to the specified to contact.

Parameters:
source - the WhiteboardSession whose delivery this event represents.
obj - the WhiteboardObject
to - the Contact that this whiteboardObject was sent to.
timestamp - a date indicating the exact moment when the event ocurred
Method Detail

getDestinationContact

public Contact getDestinationContact()
Returns a reference to the Contact that the source WhiteboardObject was sent to.

Returns:
a reference to the Contact that has send the WhiteboardObject whose reception this event represents.

getSourceWhiteboardObject

public WhiteboardObject getSourceWhiteboardObject()
Returns the whiteboardObject that triggered this event

Returns:
the WhiteboardObject that triggered this event.

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.