|
Rice Pastry API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface DeliveryNotification
Notified when the message is sent/failed. Implemented by the user, can be included as a parameter in endpont.route()
| Method Summary | |
|---|---|
void |
sendFailed(MessageReceipt msg,
java.lang.Exception reason)
Notification that the message can't be sent. |
void |
sent(MessageReceipt msg)
Layer specific callback. |
| Method Detail |
|---|
void sent(MessageReceipt msg)
msg - the message that is being acknowledged.
void sendFailed(MessageReceipt msg,
java.lang.Exception reason)
msg - the message that can't be sent.reason - the reason it can't be sent (layer specific)
|
Rice Pastry API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||