Rice Pastry API

rice.pastry.socket.nat.rendezvous
Class RendezvousSPNFIdentitySerializer

java.lang.Object
  extended by rice.pastry.socket.SPNFIdentitySerializer
      extended by rice.pastry.socket.nat.rendezvous.RendezvousSPNFIdentitySerializer
All Implemented Interfaces:
IdentitySerializer<TransportLayerNodeHandle<MultiInetSocketAddress>,MultiInetSocketAddress,SourceRoute<MultiInetSocketAddress>>

public class RendezvousSPNFIdentitySerializer
extends SPNFIdentitySerializer


Field Summary
 
Fields inherited from class rice.pastry.socket.SPNFIdentitySerializer
factory, pn
 
Constructor Summary
protected RendezvousSPNFIdentitySerializer(PastryNode pn, SocketNodeHandleFactory factory)
           
 
Method Summary
protected  SocketNodeHandle buildSNH(InputBuffer buf, MultiInetSocketAddress i, long epoch, Id nid)
           
 void serialize(OutputBuffer buf, TransportLayerNodeHandle<MultiInetSocketAddress> i)
           
 
Methods inherited from class rice.pastry.socket.SPNFIdentitySerializer
addSerializerListener, deserialize, removeSerializerListener, translateDown, translateUp
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RendezvousSPNFIdentitySerializer

protected RendezvousSPNFIdentitySerializer(PastryNode pn,
                                           SocketNodeHandleFactory factory)
Method Detail

serialize

public void serialize(OutputBuffer buf,
                      TransportLayerNodeHandle<MultiInetSocketAddress> i)
               throws java.io.IOException
Specified by:
serialize in interface IdentitySerializer<TransportLayerNodeHandle<MultiInetSocketAddress>,MultiInetSocketAddress,SourceRoute<MultiInetSocketAddress>>
Overrides:
serialize in class SPNFIdentitySerializer
Throws:
java.io.IOException

buildSNH

protected SocketNodeHandle buildSNH(InputBuffer buf,
                                    MultiInetSocketAddress i,
                                    long epoch,
                                    Id nid)
                             throws java.io.IOException
Overrides:
buildSNH in class SPNFIdentitySerializer
Throws:
java.io.IOException

Rice Pastry API

Copyright © 2001-2005 - Rice Pastry.


Imprint-Dataprotection