Rice Pastry API

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

All Known Subinterfaces:
X509Serializer
All Known Implementing Classes:
InetSocketAddressSerializer, RendezvousSNHFactory, SocketNodeHandleFactory, X509SerializerImpl

public interface Serializer<Identifier>


Method Summary
 Identifier deserialize(InputBuffer buf)
           
 void serialize(Identifier i, OutputBuffer buf)
           
 

Method Detail

serialize

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

deserialize

Identifier deserialize(InputBuffer buf)
                       throws java.io.IOException
Throws:
java.io.IOException

Rice Pastry API

Copyright © 2001-2005 - Rice Pastry.


Imprint-Dataprotection