Rice Pastry API

org.mpisws.p2p.transport.identity
Interface IdentitySerializer<Identifier>


public interface IdentitySerializer<Identifier>


Method Summary
 Identifier deserialize(java.nio.ByteBuffer m)
           
 byte[] serialize(Identifier i)
           
 

Method Detail

serialize

byte[] serialize(Identifier i)
                 throws java.io.IOException
Throws:
java.io.IOException

deserialize

Identifier deserialize(java.nio.ByteBuffer m)
                       throws java.io.IOException
Throws:
java.io.IOException

Rice Pastry API

Copyright © 2001-2005 - Rice Pastry.


Imprint-Dataprotection