dermi.core.pastry
Class Node

java.lang.Object
  extended by java.util.Observable
      extended by rice.pastry.PastryNode
          extended by rice.pastry.dist.DistPastryNode
              extended by rice.pastry.socket.SocketPastryNode
                  extended by dermi.core.pastry.Node
All Implemented Interfaces:
rice.p2p.commonapi.Node, rice.pastry.messaging.MessageReceiver

public abstract class Node
extends rice.pastry.socket.SocketPastryNode
implements Node

Specific Pastry Node implementation

Version:
1.2
Author:
Carles Pairot

Field Summary
 
Fields inherited from class rice.pastry.dist.DistPastryNode
leafSetMaintFreq, leafSetRoutineMaintenance, routeSetMaintFreq, routeSetRoutineMaintenance, timer
 
Fields inherited from class rice.pastry.PastryNode
apps, localhandle, myNodeId, nodeHandleSet
 
Constructor Summary
protected Node(Id id)
          Constructor, with NodeId.
 
Method Summary
 
Methods inherited from class rice.pastry.socket.SocketPastryNode
destroy, doneNode, getNodeHandlePool, getSocketSourceRouteManager, setSocketElements, toString
 
Methods inherited from class rice.pastry.dist.DistPastryNode
addNetworkListener, broadcastReceivedListeners, broadcastSentListeners, getNetworkListeners, getTimer, initiateJoin, nodeIsReady, process, scheduleMsg, scheduleMsg, scheduleMsgAtFixedRate, scheduleMsgExpBackoff
 
Methods inherited from class rice.pastry.PastryNode
addLeafSetObserver, addRouteSetObserver, deleteLeafSetObserver, deleteRouteSetObserver, getEnvironment, getId, getIdFactory, getLeafSet, getLocalHandle, getLocalNodeHandle, getLocalNodeI, getMessageDispatch, getNodeId, getRoutingTable, isClosest, isReady, nodeIsReady, receiveMessage, registerApp, registerApplication, registerApplication, registerReceiver, setElements, setMessageDispatch, setReady, setReady
 
Methods inherited from class java.util.Observable
addObserver, clearChanged, countObservers, deleteObserver, deleteObservers, hasChanged, notifyObservers, notifyObservers, setChanged
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Node

protected Node(Id id)
Constructor, with NodeId. Need to set the node's ID before this node is inserted as localHandle.localNode.