Rice Pastry API

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)

Rice Pastry API

Copyright © 2001-2005 - Rice Pastry.


Imprint-Dataprotection