|
Rice Pastry API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
MessageType - E - public interface MessageCallback<Identifier,MessageType>
The callback when a Message is sent from a transport layer.
| Method Summary | |
|---|---|
void |
ack(MessageRequestHandle<Identifier,MessageType> msg)
Layer specific callback. |
void |
sendFailed(MessageRequestHandle<Identifier,MessageType> msg,
java.io.IOException reason)
Notification that the message can't be sent. |
| Method Detail |
|---|
void ack(MessageRequestHandle<Identifier,MessageType> msg)
msg - the message that is being acknowledged.
void sendFailed(MessageRequestHandle<Identifier,MessageType> msg,
java.io.IOException 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 | |||||||||