Rice Pastry API

rice.p2p.past.gc
Class GCPastImpl.GCPastDeserializer

java.lang.Object
  extended by rice.p2p.past.PastImpl.PastDeserializer
      extended by rice.p2p.past.gc.GCPastImpl.GCPastDeserializer
All Implemented Interfaces:
MessageDeserializer
Enclosing class:
GCPastImpl

protected class GCPastImpl.GCPastDeserializer
extends PastImpl.PastDeserializer


Constructor Summary
protected GCPastImpl.GCPastDeserializer()
           
 
Method Summary
 Message deserialize(InputBuffer buf, short type, int priority, NodeHandle sender)
          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

GCPastImpl.GCPastDeserializer

protected GCPastImpl.GCPastDeserializer()
Method Detail

deserialize

public Message deserialize(InputBuffer buf,
                           short type,
                           int priority,
                           NodeHandle sender)
                    throws java.io.IOException
Description copied from interface: MessageDeserializer
RawMessage ret = super.deserialize(); if (ret != null) return ret; Endpoint endpoint; switch(type) { case 1: return new MyMessage(buf, endpoint); }

Specified by:
deserialize in interface MessageDeserializer
Overrides:
deserialize in class PastImpl.PastDeserializer
Throws:
java.io.IOException

Rice Pastry API

Copyright © 2001-2005 - Rice Pastry.


Imprint-Dataprotection