Rice Pastry API

org.mpisws.p2p.transport.commonapi
Class TransportLayerNodeHandle<Identifier>

java.lang.Object
  extended by java.util.Observable
      extended by rice.p2p.commonapi.NodeHandle
          extended by org.mpisws.p2p.transport.commonapi.TransportLayerNodeHandle<Identifier>
Type Parameters:
Identifier - the underlieing layer
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
NodeHandle

public abstract class TransportLayerNodeHandle<Identifier>
extends NodeHandle

Parallel interface to the CommonAPI NodeHandle, because it is an abstract object to gain the observer pattern.

Author:
Jeff Hoye
See Also:
Serialized Form

Field Summary
 
Fields inherited from class rice.p2p.commonapi.NodeHandle
DECLARED_DEAD, DECLARED_LIVE, PROXIMITY_CHANGED
 
Constructor Summary
TransportLayerNodeHandle()
           
 
Method Summary
abstract  Identifier getAddress()
           
abstract  long getEpoch()
           
 
Methods inherited from class rice.p2p.commonapi.NodeHandle
checkLiveness, getId, isAlive, proximity, serialize
 
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, toString, wait, wait, wait
 

Constructor Detail

TransportLayerNodeHandle

public TransportLayerNodeHandle()
Method Detail

getAddress

public abstract Identifier getAddress()

getEpoch

public abstract long getEpoch()

Rice Pastry API

Copyright © 2001-2005 - Rice Pastry.


Imprint-Dataprotection