Rice Pastry API

rice.pastry.messaging
Class PJavaSerializedDeserializer

java.lang.Object
  extended byrice.pastry.messaging.JavaSerializedDeserializer
      extended byrice.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

Field Summary
 
Fields inherited from class rice.pastry.messaging.JavaSerializedDeserializer
pn
 
Constructor Summary
PJavaSerializedDeserializer(PastryNode pn)
          Constructor for PJavaSerializedDeserializer.
 
Method Summary
abstract  Message deserialize(InputBuffer buf, short type, byte priority, NodeHandle sender)
          DESCRIBE THE METHOD
 Message deserialize(InputBuffer buf, short type, byte priority, NodeHandle sender)
          DESCRIBE THE METHOD
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PJavaSerializedDeserializer

public PJavaSerializedDeserializer(PastryNode pn)
Constructor for PJavaSerializedDeserializer.

Parameters:
pn - DESCRIBE THE PARAMETER
Method Detail

deserialize

public abstract Message deserialize(InputBuffer buf,
                                    short type,
                                    byte priority,
                                    NodeHandle sender)
                             throws java.io.IOException
DESCRIBE THE METHOD

Parameters:
buf - DESCRIBE THE PARAMETER
type - DESCRIBE THE PARAMETER
priority - DESCRIBE THE PARAMETER
sender - 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 PARAMETER
type - DESCRIBE THE PARAMETER
priority - DESCRIBE THE PARAMETER
sender - DESCRIBE THE PARAMETER
Returns:
DESCRIBE THE RETURN VALUE
Throws:
java.io.IOException - DESCRIBE THE EXCEPTION

Rice Pastry API

Copyright © 2001-2005 - Rice Pastry.


Imprint-Dataprotection