|
Jitsi: the OpenSource Java VoIP and Instant Messaging client. | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.util.EventObject
net.java.sip.communicator.service.protocol.event.MessageDeliveredEvent
public class MessageDeliveredEvent
MessageDeliveredEvents confirm successful delivery of an instant message.
| Field Summary |
|---|
| Fields inherited from class java.util.EventObject |
|---|
source |
| Constructor Summary | |
|---|---|
MessageDeliveredEvent(Message source,
Contact to)
Constructor. |
|
MessageDeliveredEvent(Message source,
Contact to,
long timestamp)
Creates a MessageDeliveredEvent representing delivery of the source message to the specified to contact. |
|
| Method Summary | |
|---|---|
Contact |
getDestinationContact()
Returns a reference to the Contact that Message was sent to. |
Message |
getSourceMessage()
Returns the message that triggered this event |
long |
getTimestamp()
A timestamp indicating the exact date when the event occurred. |
| 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 |
|---|
public MessageDeliveredEvent(Message source,
Contact to)
source - message sourceto - the "to" contact
public MessageDeliveredEvent(Message source,
Contact to,
long timestamp)
source - the Message whose delivery this event represents.to - the Contact that this message was sent to.timestamp - a date indicating the exact moment when the event
ocurred| Method Detail |
|---|
public Contact getDestinationContact()
public Message getSourceMessage()
public long getTimestamp()
|
Jitsi: the OpenSource Java VoIP and Instant Messaging client. | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||