net.i2p.router
Class DummyPeerManagerFacade

java.lang.Object
  extended bynet.i2p.router.DummyPeerManagerFacade
All Implemented Interfaces:
PeerManagerFacade, Service

class DummyPeerManagerFacade
extends java.lang.Object
implements PeerManagerFacade


Constructor Summary
(package private) DummyPeerManagerFacade()
           
 
Method Summary
 void renderStatusHTML(java.io.Writer out)
           
 void restart()
          Perform a soft restart.
 java.util.List selectPeers(PeerSelectionCriteria criteria)
          Select peers from the manager's existing routing tables according to the specified criteria.
 void shutdown()
          Instruct the service that the router is shutting down and that it should do whatever is necessary to go down gracefully.
 void startup()
          Instruct the service that it should start normal operation.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DummyPeerManagerFacade

DummyPeerManagerFacade()
Method Detail

shutdown

public void shutdown()
Description copied from interface: Service
Instruct the service that the router is shutting down and that it should do whatever is necessary to go down gracefully. It should not depend on other components at this point. This call DOES block.

Specified by:
shutdown in interface Service

startup

public void startup()
Description copied from interface: Service
Instruct the service that it should start normal operation. This call DOES block until the service is ready.

Specified by:
startup in interface Service

restart

public void restart()
Description copied from interface: Service
Perform a soft restart.

Specified by:
restart in interface Service

renderStatusHTML

public void renderStatusHTML(java.io.Writer out)
Specified by:
renderStatusHTML in interface Service

selectPeers

public java.util.List selectPeers(PeerSelectionCriteria criteria)
Description copied from interface: PeerManagerFacade
Select peers from the manager's existing routing tables according to the specified criteria. This call DOES block.

Specified by:
selectPeers in interface PeerManagerFacade
Returns:
List of Hash objects of the RouterIdentity for matching peers