net.java.sip.communicator.service.protocol.event
Class WhiteboardObjectDeliveredEvent
java.lang.Object
java.util.EventObject
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
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 WhiteboardObjectto - the Contact that this whiteboardObject was sent to.timestamp - a date indicating the exact moment when the event
ocurred
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.
Distributable under LGPL license.