rice.pastry.messaging
Class PJavaSerializedDeserializer
java.lang.Object
rice.pastry.messaging.JavaSerializedDeserializer
rice.pastry.messaging.PJavaSerializedDeserializer
- All Implemented Interfaces:
- MessageDeserializer
- Direct Known Subclasses:
- PeriodicLeafSetProtocol.PLSPMessageDeserializer
- public abstract class PJavaSerializedDeserializer
- extends JavaSerializedDeserializer
The purpose of this class is just for programming convienience to
disambiguate between rice.p2p.commonapi and rice.pastry with the
interfaces/classes Message NodeHandle
- Version:
- $Id: pretty.settings 2305 2005-03-11 20:22:33Z jeffh $
- Author:
- Jeff Hoye
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PJavaSerializedDeserializer
public PJavaSerializedDeserializer(PastryNode pn)
- Constructor for PJavaSerializedDeserializer.
- Parameters:
pn
- DESCRIBE THE PARAMETER
deserialize
public abstract Message deserialize(InputBuffer buf,
short type,
byte priority,
NodeHandle sender)
throws java.io.IOException
- DESCRIBE THE METHOD
- Parameters:
buf
- DESCRIBE THE PARAMETERtype
- DESCRIBE THE PARAMETERpriority
- DESCRIBE THE PARAMETERsender
- DESCRIBE THE PARAMETER
- Returns:
- DESCRIBE THE RETURN VALUE
- Throws:
java.io.IOException
- DESCRIBE THE EXCEPTION
deserialize
public Message deserialize(InputBuffer buf,
short type,
byte priority,
NodeHandle sender)
throws java.io.IOException
- DESCRIBE THE METHOD
- Specified by:
deserialize
in interface MessageDeserializer
- Overrides:
deserialize
in class JavaSerializedDeserializer
- Parameters:
buf
- DESCRIBE THE PARAMETERtype
- DESCRIBE THE PARAMETERpriority
- DESCRIBE THE PARAMETERsender
- DESCRIBE THE PARAMETER
- Returns:
- DESCRIBE THE RETURN VALUE
- Throws:
java.io.IOException
- DESCRIBE THE EXCEPTION
Copyright © 2001-2005 - Rice Pastry.