|
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.MessageWaitingEvent
public class MessageWaitingEvent
MessageWaitingEvent indicates a message waiting event is received.
| Field Summary |
|---|
| Fields inherited from class java.util.EventObject |
|---|
source |
| Constructor Summary | |
|---|---|
MessageWaitingEvent(ProtocolProviderService source,
OperationSetMessageWaiting.MessageType messageType,
String account,
int unreadMessages,
int readMessages,
int unreadUrgentMessages,
int readUrgentMessages)
Constructs the Event with the given source, typically the provider and number of messages. |
|
| Method Summary | |
|---|---|
String |
getAccount()
The URI we can use to reach messages from provider that is firing the event. |
OperationSetMessageWaiting.MessageType |
getMessageType()
The message type for this event. |
int |
getReadMessages()
Number of old/read messages. |
int |
getReadUrgentMessages()
Number of old/read messages. |
ProtocolProviderService |
getSourceProvider()
Returns the ProtocolProviderService which originated this event. |
int |
getUnreadMessages()
Number of new/unread messages. |
int |
getUnreadUrgentMessages()
Number of new/unread urgent messages. |
| 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 MessageWaitingEvent(ProtocolProviderService source,
OperationSetMessageWaiting.MessageType messageType,
String account,
int unreadMessages,
int readMessages,
int unreadUrgentMessages,
int readUrgentMessages)
messageType - the message type for this event.source - the protocol provider from which this event is coming.account - the account URI we can use to reach the messages.unreadMessages - the unread messages.readMessages - the read messages.unreadUrgentMessages - the unread urgent messages.readUrgentMessages - the read urgent messages.| Method Detail |
|---|
public ProtocolProviderService getSourceProvider()
public String getAccount()
public int getUnreadMessages()
public int getReadMessages()
public int getUnreadUrgentMessages()
public int getReadUrgentMessages()
public OperationSetMessageWaiting.MessageType getMessageType()
|
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 | |||||||||