net.i2p.router.transport.udp
Class IntroductionManager
java.lang.Object
net.i2p.router.transport.udp.IntroductionManager
public class IntroductionManager
- extends java.lang.Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
IntroductionManager
public IntroductionManager(RouterContext ctx,
UDPTransport transport)
reset
public void reset()
add
public void add(PeerState peer)
remove
public void remove(PeerState peer)
get
public PeerState get(long id)
pickInbound
public int pickInbound(java.util.Properties ssuOptions,
int howMany)
- Grab a bunch of peers who are willing to be introducers for us that
are locally known (duh) and have published their own SSU address (duh^2).
The picked peers have their info tacked on to the ssuOptions parameter for
use in the SSU RouterAddress.
receiveRelayIntro
public void receiveRelayIntro(RemoteHostId bob,
UDPPacketReader reader)
receiveRelayRequest
public void receiveRelayRequest(RemoteHostId alice,
UDPPacketReader reader)