Package net.i2p.router
Interface PeerManagerFacade
- All Superinterfaces:
Service
- All Known Implementing Classes:
DummyPeerManagerFacade
,PeerManagerFacadeImpl
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.
-
Method Summary
Modifier and TypeMethodDescriptionint
countPeersByCapability
(char capability) getPeersByCapability
(char capability) void
removeCapabilities
(Hash peer) selectRandomByCapability
(char capability) void
setCapabilities
(Hash peer, String caps) Methods inherited from interface net.i2p.router.Service
renderStatusHTML, restart, shutdown, startup
-
Method Details
-
getPeersByCapability
-
countPeersByCapability
int countPeersByCapability(char capability) -
setCapabilities
-
removeCapabilities
-
selectRandomByCapability
-