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

## org.mpisws.p2p.transport.identity
Interface IdentitySerializer<UpperIdentifier,MiddleIdentifier,LowerIdentifier>

All Known Implementing Classes:
  RendezvousSPNFIdentitySerializer, SPNFIdentitySerializer

    public interface IdentitySerializer<UpperIdentifier,MiddleIdentifier,LowerIdentifier>

Method Summary
`void` | `addSerializerListener(SerializerListener<UpperIdentifier> listener)`
`UpperIdentifier` | `deserialize(InputBuffer buf, LowerIdentifier l)`
`void` | `removeSerializerListener(SerializerListener<UpperIdentifier> listener)`
`void` | `serialize(OutputBuffer buf, UpperIdentifier i)`
`MiddleIdentifier` | `translateDown(UpperIdentifier i)`
`MiddleIdentifier` | `translateUp(LowerIdentifier i)`

Method Detail

### serialize

    void serialize(OutputBuffer buf,
                   UpperIdentifier i)
                   throws java.io.IOException

  Throws:
    `java.io.IOException`

### deserialize

    UpperIdentifier deserialize(InputBuffer buf,
                                LowerIdentifier l)
                                throws java.io.IOException

  Throws:
    `java.io.IOException`

### translateDown

    MiddleIdentifier translateDown(UpperIdentifier i)

### translateUp

    MiddleIdentifier translateUp(LowerIdentifier i)

### addSerializerListener

    void addSerializerListener(SerializerListener<UpperIdentifier> listener)

### removeSerializerListener

    void removeSerializerListener(SerializerListener<UpperIdentifier> listener)

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.