|
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.WhiteboardObjectDeliveryFailedEvent
public class WhiteboardObjectDeliveryFailedEvent
WhiteboardObjectDeliveredEvents are used to report that delivery of a whiteboardObject has failed.
| Field Summary | |
|---|---|
static int |
INTERNAL_ERROR
Set when delivery fails for implementation specific reasons. |
static int |
NETWORK_FAILURE
Set when delivery fails due to a failure in network communications or a transport error. |
static int |
OFFLINE_MESSAGES_NOT_SUPPORTED
Set when delivery fails because we're trying to send a whiteboard object to a contact that is currently offline and the server does not support offline whiteboard objects. |
static int |
PROVIDER_NOT_REGISTERED
Set to indicate that delivery has failed because the provider was not registered. |
static int |
UNKNOWN_ERROR
Set when no other error code can describe the exception that occurred. |
| Fields inherited from class java.util.EventObject |
|---|
source |
| Constructor Summary | |
|---|---|
WhiteboardObjectDeliveryFailedEvent(WhiteboardSession source,
WhiteboardObject obj,
Contact to,
int errorCode,
Date timestamp)
Creates a WhiteboardObjectDeliveryFailedEvent indicating failure of delivery of the obj WhiteboardObject to the specified to contact. |
|
| Method Summary | |
|---|---|
Contact |
getDestinationContact()
Returns a reference to the Contact that the source (failed) WhiteboardObject was sent to. |
int |
getErrorCode()
Returns an error code describing the reason for the failure of the white-board object delivery. |
WhiteboardObject |
getSourceWhiteboardObject()
Returns the WhiteboardObject that triggered this event |
Date |
getTimestamp()
A timestamp indicating the exact date when the event ocurred (in this case it is the moment when it was determined that whiteboardObject delivery has failed). |
| 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 UNKNOWN_ERROR
public static final int NETWORK_FAILURE
public static final int PROVIDER_NOT_REGISTERED
public static final int INTERNAL_ERROR
public static final int OFFLINE_MESSAGES_NOT_SUPPORTED
| Constructor Detail |
|---|
public WhiteboardObjectDeliveryFailedEvent(WhiteboardSession source,
WhiteboardObject obj,
Contact to,
int errorCode,
Date timestamp)
source - the WhiteboardSession where the failure has
occcurred.obj - the WhiteboardObject the white-board object.to - the Contact that this WhiteboardObject was sent to.errorCode - an errorCode indicating the reason for the failure.timestamp - the exact Date when it was determined that delivery
had failed.| Method Detail |
|---|
public Contact getDestinationContact()
public int getErrorCode()
public Date getTimestamp()
public WhiteboardObject getSourceWhiteboardObject()
|
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 | |||||||||