Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| Rice Pastry API
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## rice.p2p.past
Class PastImpl.PastDeserializer

    java.lang.Object
      rice.p2p.past.PastImpl.PastDeserializer

All Implemented Interfaces:
  MessageDeserializer

Direct Known Subclasses:
  GCPastImpl.GCPastDeserializer

Enclosing class:
  PastImpl

    protected class PastImpl.PastDeserializer

extends java.lang.Object
implements MessageDeserializer

Constructor Summary
`protected` | `PastImpl.PastDeserializer()`

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

### PastImpl.PastDeserializer

    protected PastImpl.PastDeserializer()

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`
  Throws:
    `java.io.IOException`

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| Rice Pastry API
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2001-2005 - Rice Pastry.