|
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 | |||||||||
public interface TransformLayer
An instance of the TransformLayer, when registered with OperationSetInstantMessageTransform would be passed all message events. The class looks a lot like a MessageListener with the major difference being that all the methods are defined with a return value. The events we return would contain all message details after their transformation from by the layer implementation. All methods return null in case the TransformLayer implementation determines that the message event should not be determined to the upper layers.
Important Notice: As of May 5 2009, this operation set is still a work in progress and may change significantly in the following months. Any work based on this interface is therefore likely to require frequent updates to keep compatibility.
| Method Summary | |
|---|---|
MessageDeliveredEvent |
messageDelivered(MessageDeliveredEvent evt)
Called when the underlying implementation has received an indication that a message, sent earlier has been successfully received by the destination. |
MessageDeliveryFailedEvent |
messageDeliveryFailed(MessageDeliveryFailedEvent evt)
Called to indicated that delivery of a message sent earlier has failed. |
MessageDeliveredEvent |
messageDeliveryPending(MessageDeliveredEvent evt)
Called when the underlying implementation has just been asked by other bundles to send an outgoing message. |
MessageReceivedEvent |
messageReceived(MessageReceivedEvent evt)
Called when a new incoming Message has been received. |
| Method Detail |
|---|
MessageReceivedEvent messageReceived(MessageReceivedEvent evt)
evt - the MessageReceivedEvent containing the newly
received message, its sender and other details.
MessageDeliveredEvent messageDeliveryPending(MessageDeliveredEvent evt)
evt - the MessageDeliveredEvent containing the id of the message
that has caused the event.
MessageDeliveredEvent messageDelivered(MessageDeliveredEvent evt)
evt - the MessageDeliveredEvent containing the id of the message
that has caused the event.
MessageDeliveryFailedEvent messageDeliveryFailed(MessageDeliveryFailedEvent evt)
evt - the MessageFailedEvent containing the ID of the
message whose delivery has failed.
|
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 | |||||||||