Rice Pastry API

org.mpisws.p2p.transport.simpleidentity
Interface Serializer<Identifier>

All Known Implementing Classes:
PortSerializer

public interface Serializer<Identifier>


Method Summary
 Identifier deserialize(InputBuffer b, Identifier i, java.util.Map<java.lang.String,java.lang.Object> options)
           
 void serialize(Identifier i, OutputBuffer b)
           
 

Method Detail

serialize

void serialize(Identifier i,
               OutputBuffer b)
               throws java.io.IOException
Throws:
java.io.IOException

deserialize

Identifier deserialize(InputBuffer b,
                       Identifier i,
                       java.util.Map<java.lang.String,java.lang.Object> options)
                       throws java.io.IOException
Throws:
java.io.IOException

Rice Pastry API

Copyright © 2001-2005 - Rice Pastry.


Imprint-Dataprotection