|
Rice Pastry API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectrice.p2p.past.PastImpl.PastDeserializer
protected class PastImpl.PastDeserializer
| Constructor Summary | |
|---|---|
protected |
PastImpl.PastDeserializer()
|
| Method Summary | |
|---|---|
Message |
deserialize(InputBuffer buf,
short type,
int priority,
NodeHandle sender)
Typical implementation: RawMessage ret = super.deserialize(); if (ret != null) return ret; Endpoint endpoint; switch(type) { case 1: return new MyMessage(buf, endpoint); } |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
protected PastImpl.PastDeserializer()
| Method Detail |
|---|
public Message deserialize(InputBuffer buf,
short type,
int priority,
NodeHandle sender)
throws java.io.IOException
MessageDeserializer
deserialize in interface MessageDeserializerbuf - accessor to the bytestype - the message type, defined in RawMessage.getType()priority - the priority of the messagesender - the sender of the Message (may be null if not specified).
java.io.IOException
|
Rice Pastry API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||