|
Rice Pastry API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectrice.p2p.util.MCAdapter
public class MCAdapter
| Constructor Summary | |
|---|---|
MCAdapter(MessageCallback<NodeHandle,Message> deliverAckToMe,
MRHAdapter handle)
|
|
| Method Summary | |
|---|---|
void |
ack(MessageRequestHandle<NodeHandle,RawMessage> msg)
Layer specific callback. |
void |
sendFailed(MessageRequestHandle<NodeHandle,RawMessage> msg,
java.io.IOException reason)
Notification that the message can't be sent. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public MCAdapter(MessageCallback<NodeHandle,Message> deliverAckToMe,
MRHAdapter handle)
| Method Detail |
|---|
public void ack(MessageRequestHandle<NodeHandle,RawMessage> msg)
MessageCallback
ack in interface MessageCallback<NodeHandle,RawMessage>msg - the message that is being acknowledged.
public void sendFailed(MessageRequestHandle<NodeHandle,RawMessage> msg,
java.io.IOException reason)
MessageCallback
sendFailed in interface MessageCallback<NodeHandle,RawMessage>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 | |||||||||