A B C D E F G H I M N P R S T U 

A

add(E) - Method in class net.tomp2p.relay.ConcurrentCacheSet
 
addAll(Collection<? extends E>) - Method in class net.tomp2p.relay.ConcurrentCacheSet
 

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.

C

clear() - Method in class net.tomp2p.relay.ConcurrentCacheSet
 
ConcurrentCacheSet<E> - Class in net.tomp2p.relay
ConcurrentCacheSet() - Constructor for class net.tomp2p.relay.ConcurrentCacheSet
 
ConcurrentCacheSet(int) - Constructor for class net.tomp2p.relay.ConcurrentCacheSet
 
ConcurrentCacheSet(int, int) - Constructor for class net.tomp2p.relay.ConcurrentCacheSet
 
ConcurrentCacheSet(int, int, boolean) - Constructor for class net.tomp2p.relay.ConcurrentCacheSet
 
contains(Object) - Method in class net.tomp2p.relay.ConcurrentCacheSet
 
containsAll(Collection<?>) - Method in class net.tomp2p.relay.ConcurrentCacheSet
 

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

failedRelayWaitTime(int) - Method in class net.tomp2p.relay.RelayBuilder
Defines how many seconds to wait at least until asking a relay that denied a relay request or a relay that failed to act as a relay again
failedRelayWaitTime() - Method in class net.tomp2p.relay.RelayBuilder
 
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

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
 

I

isEmpty() - Method in class net.tomp2p.relay.ConcurrentCacheSet
 
iterator() - Method in class net.tomp2p.relay.ConcurrentCacheSet
 

M

maxRelays(int) - Method in class net.tomp2p.relay.RelayBuilder
Sets the maximum number of peers.
maxRelays() - Method in class net.tomp2p.relay.RelayBuilder
 
maxRelays() - Method in class net.tomp2p.relay.RelayManager
 
minRelays(int) - Method in class net.tomp2p.relay.RelayBuilder
Defines how many relays have to be set up.

N

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

P

peer() - Method in class net.tomp2p.relay.RelayRPC
 
peerMapUpdateInterval(int) - Method in class net.tomp2p.relay.RelayBuilder
Defines the time interval of sending the peer map of the unreachable peer to its relays.
peerMapUpdateInterval() - Method in class net.tomp2p.relay.RelayBuilder
 
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(Peer) - 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(int) - 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, BootstrapBuilder, int, int, int, int, int) - Constructor for class net.tomp2p.relay.RelayManager
 
RelayRPC - Class in net.tomp2p.relay
 
relaySearchInterval(int) - Method in class net.tomp2p.relay.RelayBuilder
If a relay peer failed but no new possible relay peers could be found, the peer will actively search for new relay peers.
relaySearchInterval() - Method in class net.tomp2p.relay.RelayBuilder
 
RelayUtils - Class in net.tomp2p.relay
 
RelayUtils() - Constructor for class net.tomp2p.relay.RelayUtils
 
remove(Object) - Method in class net.tomp2p.relay.ConcurrentCacheSet
 
removeAll(Collection<?>) - Method in class net.tomp2p.relay.ConcurrentCacheSet
 
retainAll(Collection<?>) - Method in class net.tomp2p.relay.ConcurrentCacheSet
 
run() - Method in class net.tomp2p.relay.SearchRelaysTask
 

S

SearchRelaysTask - Class in net.tomp2p.relay
 
SearchRelaysTask(RelayManager) - Constructor for class net.tomp2p.relay.SearchRelaysTask
 
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() - Method in class net.tomp2p.relay.RelayManager
Sets up relay connections to other peers.
size() - Method in class net.tomp2p.relay.ConcurrentCacheSet
 
start() - Method in class net.tomp2p.relay.RelayBuilder
Start setting up the relay peers

T

toArray() - Method in class net.tomp2p.relay.ConcurrentCacheSet
 
toArray(T[]) - Method in class net.tomp2p.relay.ConcurrentCacheSet
 
toString() - Method in class net.tomp2p.relay.ConcurrentCacheSet
 

U

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

Copyright © 2014. All rights reserved.