${header}

meteor.dht.can
Interface CANService

All Superinterfaces:
DHTService, net.jxta.platform.Module, net.jxta.service.Service
All Known Implementing Classes:
CANServiceImpl

public interface CANService
extends DHTService

The interface defining the LookUp Service

Author:
Vincent Matossian December 2003

Field Summary
static java.lang.String refModuleClassID
          The module class identifier of this service that may be used as a handler name when filtering messages
 
Fields inherited from interface net.jxta.platform.Module
START_AGAIN_PROGRESS, START_AGAIN_STALLED, START_OK
 
Method Summary
 void addListener(DHTListener c)
          Add a listener
 int getDimension()
          Returns the dimension of the cartesian space
 boolean inMyZone(QueryMessage qm)
          Finds the zone to which the newly joining peer should go
 void removeListener(DHTListener c)
          Remove a listener
 void setDimension(int d)
          Sets the dimension of the Cartesian space
 
Methods inherited from interface meteor.dht.DHTService
bootstrap, get, getNodeID, getTopologySize, join, lookup, put, setTopologySize
 
Methods inherited from interface net.jxta.service.Service
getImplAdvertisement, getInterface
 
Methods inherited from interface net.jxta.platform.Module
init, startApp, stopApp
 

Field Detail

refModuleClassID

public static final java.lang.String refModuleClassID
The module class identifier of this service that may be used as a handler name when filtering messages

See Also:
Constant Field Values
Method Detail

addListener

public void addListener(DHTListener c)
Add a listener


removeListener

public void removeListener(DHTListener c)
Remove a listener


setDimension

public void setDimension(int d)
Sets the dimension of the Cartesian space


getDimension

public int getDimension()
Returns the dimension of the cartesian space


inMyZone

public boolean inMyZone(QueryMessage qm)
Finds the zone to which the newly joining peer should go


${header}