rice.pastry
Class PendingLocalNodesList
java.lang.Object
|
+--rice.pastry.PendingLocalNodesList
- public class PendingLocalNodesList
- extends java.lang.Object
Class which stores a list of LocalNodes waiting to have their
local pastry node to be set non-null.
- Version:
- $Id: PendingLocalNodesList.java,v 1.3 2002/09/11 04:33:04 druschel Exp $
- Author:
- Alan Mislove
Method Summary |
void |
addPending(java.io.ObjectInputStream in,
rice.pastry.LocalNodeI client)
Adds a pending LocalNode to the list of pending LocalNodes. |
void |
setPending(java.io.ObjectInputStream in,
rice.pastry.PastryNode node)
Sets all of the pending local nodes read in by the given input
stream. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PendingLocalNodesList
public PendingLocalNodesList()
addPending
public void addPending(java.io.ObjectInputStream in,
rice.pastry.LocalNodeI client)
- Adds a pending LocalNode to the list of pending LocalNodes.
- Parameters:
in
- The input stream reading the LocalNodeclient
- The LocalNodeI itself
setPending
public void setPending(java.io.ObjectInputStream in,
rice.pastry.PastryNode node)
- Sets all of the pending local nodes read in by the given input
stream.
- Parameters:
in
- The input stream reading the LocalNodesnode
- The local pastry node.
Copyright © 2001 - Rice Pastry.