public class WhiteboardObjectReceivedEvent
extends java.util.EventObject
Constructor and Description |
---|
WhiteboardObjectReceivedEvent(WhiteboardSession source,
WhiteboardObject obj,
Contact from,
java.util.Date timestamp)
Creates a WhiteboardObjectReceivedEvent
representing reception of the source WhiteboardObject
received from the specified from contact.
|
Modifier and Type | Method and Description |
---|---|
Contact |
getSourceContact()
Returns a reference to the Contact that has sent the
WhiteboardObject whose reception this event represents.
|
WhiteboardObject |
getSourceWhiteboardObject()
Returns the WhiteboardObject that triggered this event
|
WhiteboardSession |
getSourceWhiteboardSession()
Returns the source white-board session, to which the received object
belongs.
|
java.util.Date |
getTimestamp()
A timestamp indicating the exact date when the event ocurred.
|
public WhiteboardObjectReceivedEvent(WhiteboardSession source, WhiteboardObject obj, Contact from, java.util.Date timestamp)
source
- the WhiteboardSession that the object has been
received in.obj
- the WhiteboardObject whose reception this event
represents.from
- the Contact that has sent this WhiteboardObject.timestamp
- the exact date when the event ocurred.public WhiteboardSession getSourceWhiteboardSession()
public Contact getSourceContact()
public WhiteboardObject getSourceWhiteboardObject()
public java.util.Date getTimestamp()
Jitsi, the OpenSource Java VoIP and Instant Messaging client.
Distributable under Apache license.