|
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.AdHocChatRoomMessageDeliveredEvent
public class AdHocChatRoomMessageDeliveredEvent
MessageDeliveredEvents confirm successful delivery of an instant message. Here, it's applied to an AdHocChatRoom.
| Field Summary | |
|---|---|
static int |
ACTION_MESSAGE_DELIVERED
An event type indicating that the message being received is a special message that sent by either another participant or the server itself, indicating that some kind of action (other than the delivery of a conversation message) has occurred. |
static int |
CONVERSATION_MESSAGE_DELIVERED
An event type indicating that the message being received is a standard conversation message sent by another participant of the ad-hoc chat room to all current participants. |
| Fields inherited from class java.util.EventObject |
|---|
source |
| Constructor Summary | |
|---|---|
AdHocChatRoomMessageDeliveredEvent(AdHocChatRoom source,
long timestamp,
Message message,
int eventType)
Creates a MessageDeliveredEvent representing delivery of the source message to the specified to contact. |
|
| Method Summary | |
|---|---|
int |
getEventType()
Returns the type of message event represented by this event instance. |
Message |
getMessage()
Returns the received message. |
AdHocChatRoom |
getSourceAdHocChatRoom()
Returns the AdHocChatRoom 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 |
| Field Detail |
|---|
public static final int CONVERSATION_MESSAGE_DELIVERED
public static final int ACTION_MESSAGE_DELIVERED
| Constructor Detail |
|---|
public AdHocChatRoomMessageDeliveredEvent(AdHocChatRoom source,
long timestamp,
Message message,
int eventType)
source - the AdHocChatRoom which triggered this event.timestamp - a date indicating the exact moment when the event
occurredmessage - the message that triggered this event.eventType - indicating the type of the delivered event. It's
either an ACTION_MESSAGE_DELIVERED or a CONVERSATION_MESSAGE_DELIVERED.| Method Detail |
|---|
public Message getMessage()
public long getTimestamp()
public AdHocChatRoom getSourceAdHocChatRoom()
public int getEventType()
|
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 | |||||||||