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

A

add(E) - Method in class net.tomp2p.relay.ConcurrentCacheSet
 
addAll(Collection<? extends E>) - Method in class net.tomp2p.relay.ConcurrentCacheSet
 
addRelayListener(RelayListener) - Method in class net.tomp2p.relay.DistributedRelay
 
all() - Method in class net.tomp2p.relay.RelayForwarderRPC
 

B

bootstrapBuilder(BootstrapBuilder) - Method in class net.tomp2p.nat.PeerNAT
Specify a bootstrap builder that will be used to bootstrap during the process of setting up relay peers and after that.
bootstrapBuilder(PeerAddress) - Method in class net.tomp2p.nat.PeerNAT
 
bootstrapBuilder() - Method in class net.tomp2p.nat.PeerNAT
 

C

clear() - Method in class net.tomp2p.relay.ConcurrentCacheSet
 
clearQueue() - Method in class net.tomp2p.natpmp.NatPmpDevice
Clears the queue of messages to send.
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
 
discoverPeer(PeerAddress) - Method in class net.tomp2p.nat.FutureNAT
 
discoverPeer() - Method in class net.tomp2p.nat.FutureNAT
 
DistributedRelay - 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.
DistributedRelay(Peer, RelayRPC, int) - Constructor for class net.tomp2p.relay.DistributedRelay
 
distributedRelay(DistributedRelay) - Method in class net.tomp2p.relay.FutureRelay
 
distributedRelay() - Method in class net.tomp2p.relay.FutureRelay
 
done(PeerAddress, PeerAddress) - Method in class net.tomp2p.nat.FutureNAT
 
done(Shutdown) - Method in class net.tomp2p.nat.FutureRelayNAT
 
done(Collection<PeerConnection>) - Method in class net.tomp2p.relay.FutureRelay
 

E

encodeMessage(Message) - Static method in class net.tomp2p.relay.RelayUtils
 
enqueueMessage(Message) - Method in class net.tomp2p.natpmp.NatPmpDevice
Enqueues a message for sending.
exceptionGenerated(Message, NatPmpException) - Method in interface net.tomp2p.natpmp.MessageResponseInterface
An exception was generated during the message sending process.
ExternalAddressRequestMessage - Class in net.tomp2p.natpmp
This class manages an External Address message.
ExternalAddressRequestMessage(MessageResponseInterface) - Constructor for class net.tomp2p.natpmp.ExternalAddressRequestMessage

F

failedRelayWaitTime(int) - Method in class net.tomp2p.nat.PeerNAT
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.nat.PeerNAT
 
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.
futureBootstrap0(FutureBootstrap) - Method in class net.tomp2p.nat.FutureRelayNAT
 
futureBootstrap0() - Method in class net.tomp2p.nat.FutureRelayNAT
 
futureBootstrap1(FutureBootstrap) - Method in class net.tomp2p.nat.FutureRelayNAT
 
futureBootstrap1() - Method in class net.tomp2p.nat.FutureRelayNAT
 
FutureNAT - Class in net.tomp2p.nat
 
FutureNAT() - Constructor for class net.tomp2p.nat.FutureNAT
 
futureRelay(FutureRelay) - Method in class net.tomp2p.nat.FutureRelayNAT
 
futureRelay() - Method in class net.tomp2p.nat.FutureRelayNAT
 
FutureRelay - Class in net.tomp2p.relay
 
FutureRelay() - Constructor for class net.tomp2p.relay.FutureRelay
 
FutureRelay(int) - Constructor for class net.tomp2p.relay.FutureRelay
 
FutureRelayNAT - Class in net.tomp2p.nat
 
FutureRelayNAT() - Constructor for class net.tomp2p.nat.FutureRelayNAT
 

G

Gateway - Class in net.tomp2p.natpmp
 
Gateway() - Constructor for class net.tomp2p.natpmp.Gateway
 
getExternalAddress() - Method in class net.tomp2p.natpmp.ExternalAddressRequestMessage
Gets the NAT-PMP gateway's external address.
getExternalPort() - Method in class net.tomp2p.natpmp.MapRequestMessage
Gets the external port that was assigned.
getInternalPort() - Method in class net.tomp2p.natpmp.MapRequestMessage
Gets the internal port on which mapped data will arrive.
getIP() - Static method in class net.tomp2p.natpmp.Gateway
 
getPortMappingLifetime() - Method in class net.tomp2p.natpmp.MapRequestMessage
Gets the assigned port mapping lifetime.
getRequestedExternalPort() - Method in class net.tomp2p.natpmp.MapRequestMessage
Get sthe external port that was requested.
getRequestedPortMappingLifetime() - Method in class net.tomp2p.natpmp.MapRequestMessage
Gets the requested port mapping lifetime.
getResponseException() - Method in class net.tomp2p.natpmp.Message
Gets the excpetion associated with the response.
getResultCode() - Method in class net.tomp2p.natpmp.Message
Gets the result code.
getSecondsSinceEpoch() - Method in class net.tomp2p.natpmp.Message
Gets the seconds since epoch as received from the NAT-PMP gateway.

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
 
isRelayNotRequired() - Method in class net.tomp2p.relay.FutureRelay
 
isShutdown() - Method in class net.tomp2p.natpmp.NatPmpDevice
Flag indicates if this NatPmpDevice is shutdown.
iterator() - Method in class net.tomp2p.relay.ConcurrentCacheSet
 

M

mapPMP(int, int, int, int) - Method in class net.tomp2p.nat.NATUtils
Maps with the PMP protocol (http://en.wikipedia.org/wiki/NAT_Port_Mapping_Protocol).
MapRequestMessage - Class in net.tomp2p.natpmp
This class manages an External Address message.
MapRequestMessage(boolean, int, int, int, MessageResponseInterface) - Constructor for class net.tomp2p.natpmp.MapRequestMessage
Constructs a new MapRequestMessage.
mapUPNP(String, int, int, int, int) - Method in class net.tomp2p.nat.NATUtils
Maps with UPNP protocol (http://en.wikipedia.org/wiki/Internet_Gateway_Device_Protocol).
maxFail(int) - Method in class net.tomp2p.nat.PeerNAT
 
maxFail() - Method in class net.tomp2p.nat.PeerNAT
 
Message - Class in net.tomp2p.natpmp
The message class manages a message that is being sent to a NAT-PMP gateway.
MessageResponseInterface - Interface in net.tomp2p.natpmp
This interface defines methods that are used for message responses.
minRelays(int) - Method in class net.tomp2p.nat.PeerNAT
Defines how many relays have to be set up.
minRelays() - Method in class net.tomp2p.nat.PeerNAT
 

N

NatPmpDevice - Class in net.tomp2p.natpmp
This class manages a NAT-PMP device.
NatPmpDevice(InetAddress) - Constructor for class net.tomp2p.natpmp.NatPmpDevice
Constructs a new NatPmpDevice.
NatPmpException - Exception in net.tomp2p.natpmp
This class is used for exceptions specific to jNAT-PMPlib.
NATUtils - Class in net.tomp2p.nat
This class is used to do automatic port forwarding.
NATUtils() - Constructor for class net.tomp2p.nat.NATUtils
Constructor.
net.tomp2p.nat - package net.tomp2p.nat
 
net.tomp2p.natpmp - package net.tomp2p.natpmp
 
net.tomp2p.relay - package net.tomp2p.relay
 
noResponseReceived(Message) - Method in interface net.tomp2p.natpmp.MessageResponseInterface
No response was received.
nothingTodo() - Method in class net.tomp2p.relay.FutureRelay
 
nrRelays() - Method in class net.tomp2p.relay.FutureRelay
 

P

peer() - Method in class net.tomp2p.relay.RelayRPC
 
peerAddress() - Method in class net.tomp2p.nat.FutureNAT
The peerAddress where we are reachable.
peerMapUpdateInterval(int) - Method in class net.tomp2p.nat.PeerNAT
Defines the time interval of sending the peer map of the unreachable peer to its relays.
peerMapUpdateInterval() - Method in class net.tomp2p.nat.PeerNAT
 
PeerNAT - Class in net.tomp2p.nat
 
PeerNAT(Peer) - Constructor for class net.tomp2p.nat.PeerNAT
 

R

register(Peer) - Method in class net.tomp2p.relay.RelayForwarderRPC
 
register(PeerConnection, Peer, RelayRPC) - Static method in class net.tomp2p.relay.RelayForwarderRPC
 
relayAddresses() - Method in class net.tomp2p.relay.DistributedRelay
Returns addresses of current relay peers
relayFailed(DistributedRelay, PeerConnection) - Method in interface net.tomp2p.relay.RelayListener
 
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
 
RelayListener - Interface in net.tomp2p.relay
 
relayRPC() - Method in class net.tomp2p.nat.PeerNAT
 
RelayRPC - Class in net.tomp2p.relay
 
RelayRPC(Peer) - Constructor for class net.tomp2p.relay.RelayRPC
Register the RelayRPC.
relays() - Method in class net.tomp2p.nat.PeerNAT
 
relays(Collection<PeerAddress>) - Method in class net.tomp2p.nat.PeerNAT
 
relays() - Method in class net.tomp2p.relay.FutureRelay
 
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
 
reporter() - Method in class net.tomp2p.nat.FutureNAT
 
responseReceived(Message) - Method in interface net.tomp2p.natpmp.MessageResponseInterface
A response was received.
ResultCode - Enum in net.tomp2p.natpmp
Enumerates the result codes from NAT-PMP messages.
retainAll(Collection<?>) - Method in class net.tomp2p.relay.ConcurrentCacheSet
 

S

sendPeerMap(PeerAddress, List<Map<Number160, PeerStatatistic>>, PeerConnection) - 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
 
setupPortforwarding(String) - Method in class net.tomp2p.nat.PeerNAT
The Dynamic and/or Private Ports are those from 49152 through 65535 (http://www.iana.org/assignments/port-numbers).
setupRelay(ChannelCreator, FuturePeerConnection) - Method in class net.tomp2p.relay.RelayRPC
Set up a relay connection to a peer.
setupRelays(FutureRelay, Collection<PeerAddress>, int, int) - Method in class net.tomp2p.relay.DistributedRelay
Sets up relay connections to other peers.
shutdown() - Method in class net.tomp2p.nat.FutureRelayNAT
 
shutdown() - Method in class net.tomp2p.nat.NATUtils
Since shutdown is also called from the shutdown hook, it might get called twice.
shutdown() - Method in class net.tomp2p.natpmp.NatPmpDevice
Shuts down this NatPmpDevice.
shutdown() - Method in class net.tomp2p.relay.DistributedRelay
 
size() - Method in class net.tomp2p.relay.ConcurrentCacheSet
 
startRelay() - Method in class net.tomp2p.nat.PeerNAT
 
startRelay(FutureNAT) - Method in class net.tomp2p.nat.PeerNAT
 
startRelayMaintenance(FutureRelay) - Method in class net.tomp2p.nat.PeerNAT
 
startSetupPortforwarding(FutureDiscover) - Method in class net.tomp2p.nat.PeerNAT
Setup UPNP or NATPMP port forwarding.
startSetupRelay(FutureNAT) - Method in class net.tomp2p.nat.PeerNAT
 
startSetupRelay() - Method in class net.tomp2p.nat.PeerNAT
 

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
 

V

valueOf(String) - Static method in enum net.tomp2p.natpmp.ResultCode
Returns the enum constant of this type with the specified name.
values() - Static method in enum net.tomp2p.natpmp.ResultCode
Returns an array containing the constants of this enum type, in the order they are declared.

W

waitUntilQueueEmpty() - Method in class net.tomp2p.natpmp.NatPmpDevice
Synchronously waits until the queue is empty before returning.
A B C D E F G H I M N P R S T U V W 

Copyright © 2014. All rights reserved.