org.mpisws.p2p.transport.identity
Interface IdentitySerializer<UpperIdentifier,MiddleIdentifier,LowerIdentifier>
- All Known Implementing Classes:
- RendezvousSPNFIdentitySerializer, SPNFIdentitySerializer
public interface IdentitySerializer<UpperIdentifier,MiddleIdentifier,LowerIdentifier>
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)
Copyright © 2001-2005 - Rice Pastry.