B D E F G H M N P R S U 

B

bootstrapAddress(PeerAddress) - Method in class net.tomp2p.relay.RelayBuilder
Sets the bootstrap address.
bootstrapBuilder(BootstrapBuilder) - Method in class net.tomp2p.relay.RelayBuilder
Specify a bootstrap builder that will be used to bootstrap during the process of setting up relay peers and after that.
bootstrapInetAddress(InetAddress) - Method in class net.tomp2p.relay.RelayBuilder
Set a bootstrap address for setting up the relay peers.

D

decodeMessage(Buffer, InetSocketAddress, InetSocketAddress) - Static method in class net.tomp2p.relay.RelayUtils
 

E

encodeMessage(Message) - Static method in class net.tomp2p.relay.RelayUtils
 

F

find(Peer, Number160) - Static method in class net.tomp2p.relay.RelayForwarderRPC
 
flatten(List<Map<Number160, PeerStatatistic>>) - Static method in class net.tomp2p.relay.RelayUtils
 
forwardMessage(PeerConnection, Buffer) - Method in class net.tomp2p.relay.RelayRPC
Forward a message through the open peer connection to the unreachable peer.

G

getAll() - Method in class net.tomp2p.relay.RelayForwarderRPC
 
getRelayAddresses() - Method in class net.tomp2p.relay.RelayManager
Returns addresses of current relay peers
getRelayCandidates() - Method in class net.tomp2p.relay.RelayManager
Get a collection of current relay candidates.

H

handleNeigbhor(Message, Responder, PeerAddress) - Method in class net.tomp2p.relay.RelayForwarderRPC
 
handleResponse(Message, PeerConnection, boolean, Responder) - Method in class net.tomp2p.relay.RelayForwarderRPC
 
handleResponse(Message, PeerConnection, boolean, Responder) - Method in class net.tomp2p.relay.RelayRPC
 

M

maxRelays() - Method in class net.tomp2p.relay.RelayManager
 
maxRelays(int) - Method in class net.tomp2p.relay.RelayPeer
Sets the maximum number of peers.

N

net.tomp2p.relay - package net.tomp2p.relay
 

P

peer() - Method in class net.tomp2p.relay.RelayPeer
 
ports(int) - Method in class net.tomp2p.relay.RelayBuilder
Sets the ports of the bootstrap peer.

R

register(Peer) - Method in class net.tomp2p.relay.RelayForwarderRPC
 
register(PeerConnection, Peer, RelayRPC) - Static method in class net.tomp2p.relay.RelayForwarderRPC
 
RelayBuilder - Class in net.tomp2p.relay
 
RelayBuilder(RelayPeer) - Constructor for class net.tomp2p.relay.RelayBuilder
 
RelayForwarderRPC - Class in net.tomp2p.relay
The RelayForwarder is responsible for forwarding all messages that are received on a relay peer, but are intended for an unreachable peer that is connected to the relay peer.
RelayForwarderRPC(PeerConnection, Peer, RelayRPC) - Constructor for class net.tomp2p.relay.RelayForwarderRPC
 
RelayFuture - Class in net.tomp2p.relay
 
RelayFuture() - Constructor for class net.tomp2p.relay.RelayFuture
 
relayManager() - Method in class net.tomp2p.relay.RelayFuture
 
relayManager(RelayManager) - Method in class net.tomp2p.relay.RelayFuture
 
RelayManager - Class in net.tomp2p.relay
The relay manager is responsible for setting up and maintaining connections to relay peers and contains all information about the relays.
RelayManager(Peer, RelayRPC) - Constructor for class net.tomp2p.relay.RelayManager
 
RelayManager(Peer, int, RelayRPC) - Constructor for class net.tomp2p.relay.RelayManager
 
relayManager() - Method in class net.tomp2p.relay.RelayPeer
 
RelayPeer - Class in net.tomp2p.relay
 
RelayPeer(Peer) - Constructor for class net.tomp2p.relay.RelayPeer
 
relayRPC() - Method in class net.tomp2p.relay.RelayPeer
 
RelayRPC - Class in net.tomp2p.relay
 
RelayUtils - Class in net.tomp2p.relay
 
RelayUtils() - Constructor for class net.tomp2p.relay.RelayUtils
 

S

sendPeerMap(PeerAddress, List<Map<Number160, PeerStatatistic>>, FutureChannelCreator) - Method in class net.tomp2p.relay.RelayRPC
Send the peer map of an unreachable peer to a relay peer, so that the relay peer can reply to neighbor requests on behalf of the unreachable peer.
setMap(List<Map<Number160, PeerStatatistic>>) - Method in class net.tomp2p.relay.RelayForwarderRPC
 
setup(Peer) - Static method in class net.tomp2p.relay.RelayRPC
Register the RelayRPC.
setupRelay(ChannelCreator, FuturePeerConnection) - Method in class net.tomp2p.relay.RelayRPC
Set up a relay connection to a peer.
setupRelays(BootstrapBuilder) - Method in class net.tomp2p.relay.RelayManager
Sets up relay connections to other peers.
start() - Method in class net.tomp2p.relay.RelayBuilder
Start setting up the relay peers

U

unflatten(Collection<PeerAddress>, PeerAddress) - Static method in class net.tomp2p.relay.RelayUtils
 
unregister(Peer, Number160) - Static method in class net.tomp2p.relay.RelayForwarderRPC
 
B D E F G H M N P R S U 

Copyright © 2014. All rights reserved.