public class WhiteboardObjectDeliveredEvent
extends java.util.EventObject
Constructor and Description |
---|
WhiteboardObjectDeliveredEvent(WhiteboardSession source,
WhiteboardObject obj,
Contact to,
java.util.Date timestamp)
Creates a WhiteboardObjectDeliveredEvent representing delivery
of the source whiteboardObject to the specified to
contact.
|
Modifier and Type | Method and Description |
---|---|
Contact |
getDestinationContact()
Returns a reference to the Contact that the source
WhiteboardObject was sent to.
|
WhiteboardObject |
getSourceWhiteboardObject()
Returns the whiteboardObject that triggered this event
|
java.util.Date |
getTimestamp()
A timestamp indicating the exact date when the event ocurred.
|
public WhiteboardObjectDeliveredEvent(WhiteboardSession source, WhiteboardObject obj, Contact to, java.util.Date timestamp)
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
ocurredpublic Contact getDestinationContact()
public WhiteboardObject getSourceWhiteboardObject()
public java.util.Date getTimestamp()
Jitsi, the OpenSource Java VoIP and Instant Messaging client.
Distributable under Apache license.