Rice Pastry API

org.mpisws.p2p.transport.rendezvous
Interface ContactDeserializer<Identifier,HighIdentifier>


public interface ContactDeserializer<Identifier,HighIdentifier>


Method Summary
 Identifier convert(HighIdentifier high)
           
 HighIdentifier deserialize(InputBuffer sib)
           
 java.util.Map<java.lang.String,java.lang.Object> getOptions(HighIdentifier high)
          Return the options that all the layers would make on this identifier.
 java.nio.ByteBuffer serialize(HighIdentifier i)
           
 void serialize(HighIdentifier i, OutputBuffer buf)
           
 

Method Detail

serialize

void serialize(HighIdentifier i,
               OutputBuffer buf)
               throws java.io.IOException
Throws:
java.io.IOException

serialize

java.nio.ByteBuffer serialize(HighIdentifier i)
                              throws java.io.IOException
Throws:
java.io.IOException

deserialize

HighIdentifier deserialize(InputBuffer sib)
                           throws java.io.IOException
Throws:
java.io.IOException

convert

Identifier convert(HighIdentifier high)

getOptions

java.util.Map<java.lang.String,java.lang.Object> getOptions(HighIdentifier high)
Return the options that all the layers would make on this identifier.

Parameters:
high -
Returns:

Rice Pastry API

Copyright © 2001-2005 - Rice Pastry.


Imprint-Dataprotection