Rice Pastry API

rice.pastry.transport
Class PastryNodeHandleFactory

java.lang.Object
  extended by rice.pastry.transport.PastryNodeHandleFactory
All Implemented Interfaces:
NodeHandleFactory

public class PastryNodeHandleFactory
extends java.lang.Object
implements NodeHandleFactory


Constructor Summary
PastryNodeHandleFactory(TLPastryNode pn)
           
 
Method Summary
 NodeHandle coalesce(NodeHandle h)
          Needed for legacy java deserialization of NodeHanlde because we aren't given any other way to do this properly such as a protected constructor.
 TLNodeHandle getNodeHandle(MultiInetSocketAddress i, long epoch, Id id)
          This is kind of weird, may need to rethink this.
 NodeHandleFactory<MultiInetSocketAddress> getTLInterface()
           
 NodeHandle readNodeHandle(InputBuffer buf)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PastryNodeHandleFactory

public PastryNodeHandleFactory(TLPastryNode pn)
Method Detail

getNodeHandle

public TLNodeHandle getNodeHandle(MultiInetSocketAddress i,
                                  long epoch,
                                  Id id)
This is kind of weird, may need to rethink this.

Parameters:
i -
id -
Returns:

readNodeHandle

public NodeHandle readNodeHandle(InputBuffer buf)
                          throws java.io.IOException
Specified by:
readNodeHandle in interface NodeHandleFactory
Throws:
java.io.IOException

getTLInterface

public NodeHandleFactory<MultiInetSocketAddress> getTLInterface()

coalesce

public NodeHandle coalesce(NodeHandle h)
Description copied from interface: NodeHandleFactory
Needed for legacy java deserialization of NodeHanlde because we aren't given any other way to do this properly such as a protected constructor.

Specified by:
coalesce in interface NodeHandleFactory
Returns:

Rice Pastry API

Copyright © 2001-2005 - Rice Pastry.


Imprint-Dataprotection