package net.i2p.router.dummy; /* * free (adj.): unencumbered; not under the control of others * Written by jrandom in 2003 and released into the public domain * with no warranty of any kind, either expressed or implied. * It probably won't make your computer catch on fire, or eat * your children, but it might. Use at your own risk. * */ import java.io.Writer; import java.util.List; import java.util.Set; import net.i2p.data.Hash; import net.i2p.router.PeerManagerFacade; import net.i2p.router.PeerSelectionCriteria; /** * Manage peer references and keep them up to date so that when asked for peers, * it can provide appropriate peers according to the criteria provided. This * includes periodically queueing up outbound messages to the peers to test them. * */ public class DummyPeerManagerFacade implements PeerManagerFacade { public void shutdown() {} public void startup() {} public void restart() {} public void renderStatusHTML(Writer out) { } public List<Hash> selectPeers(PeerSelectionCriteria criteria) { return null; } public Set<Hash> getPeersByCapability(char capability) { return null; } public void setCapabilities(Hash peer, String caps) {} public void removeCapabilities(Hash peer) {} public Hash selectRandomByCapability(char capability) { return null; } }