A B C D E F G H I K L M N O 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
 
addClient(BaseRelayClient) - Method in class net.tomp2p.relay.RelayRPC
Add a client to the list
addCloseListener(RelayListener) - Method in class net.tomp2p.relay.BaseRelayClient
Adds a close listener for an open peer connection, so that if the connection to the relay peer drops, a new relay is found and a new relay connection is established
addListener(MessageBufferListener<T>) - Method in class net.tomp2p.relay.buffer.MessageBuffer
 
addManualRelay(PeerAddress) - Method in class net.tomp2p.relay.RelayClientConfig
Add a relay to the relays list
addMessage(T, long) - Method in class net.tomp2p.relay.buffer.MessageBuffer
Add an encoded message to the buffer
addOfflineListener(OfflineListener) - Method in class net.tomp2p.relay.BaseRelayServer
 
addRelayListener(RelayListener) - Method in class net.tomp2p.relay.DistributedRelay
 
addRelayServerConfiguration(RelayType, RelayServerConfig) - Method in class net.tomp2p.nat.PeerBuilderNAT
Add a new server configuration (e.g.

B

BaseRelayClient - Class in net.tomp2p.relay
Every firewalled peer has one or multiple relay servers.
BaseRelayClient(PeerAddress) - Constructor for class net.tomp2p.relay.BaseRelayClient
 
BaseRelayServer - Class in net.tomp2p.relay
Abstract class that provides the basic functionality to handle relay requests at the relay server.
BaseRelayServer(Peer, PeerAddress, RelayType) - Constructor for class net.tomp2p.relay.BaseRelayServer
 
bufferAgeLimit() - Method in class net.tomp2p.relay.buffer.MessageBufferConfiguration
The maximum age of the oldest object in the buffer in milliseconds
bufferAgeLimit(long) - Method in class net.tomp2p.relay.buffer.MessageBufferConfiguration
Configures the maximum age of the first message in the buffer.
bufferConfiguration() - Method in class net.tomp2p.relay.buffer.BufferedRelayServer
Get the buffer configuration.
bufferCountLimit() - Method in class net.tomp2p.relay.buffer.MessageBufferConfiguration
The maximum number of messages in the buffer.
bufferCountLimit(int) - Method in class net.tomp2p.relay.buffer.MessageBufferConfiguration
Configures the maximal number of messages in the buffer.
BufferedMessageHandler - Class in net.tomp2p.relay.buffer
 
BufferedMessageHandler(Peer) - Constructor for class net.tomp2p.relay.buffer.BufferedMessageHandler
 
BufferedRelayClient - Class in net.tomp2p.relay.buffer
Extends the basic relay connection capabilities by functions to handle the buffer at the relay peer.
BufferedRelayClient(PeerAddress, Peer) - Constructor for class net.tomp2p.relay.buffer.BufferedRelayClient
 
BufferedRelayServer - Class in net.tomp2p.relay.buffer
 
BufferedRelayServer(Peer, PeerAddress, RelayType, MessageBufferConfiguration) - Constructor for class net.tomp2p.relay.buffer.BufferedRelayServer
 
BufferedTCPRelayClient - Class in net.tomp2p.relay.tcp.buffered
Basically the same implementation as TCPRelayClient, but exending from the BufferedRelayClient such that the RelayRPC can distinguish between buffered and unbuffered connections.
BufferedTCPRelayClient(PeerConnection, Peer) - Constructor for class net.tomp2p.relay.tcp.buffered.BufferedTCPRelayClient
 
BufferedTCPRelayClientConfig - Class in net.tomp2p.relay.tcp.buffered
 
BufferedTCPRelayClientConfig() - Constructor for class net.tomp2p.relay.tcp.buffered.BufferedTCPRelayClientConfig
 
BufferedTCPRelayServer - Class in net.tomp2p.relay.tcp.buffered
The buffered TCP server acts similar to the normal TCPRelayServer, but instead of sending messages immediately to the unreachable peer, messages are buffered for a certain time.
BufferedTCPRelayServer(PeerConnection, Peer, MessageBufferConfiguration) - Constructor for class net.tomp2p.relay.tcp.buffered.BufferedTCPRelayServer
 
BufferedTCPRelayServerConfig - Class in net.tomp2p.relay.tcp.buffered
 
BufferedTCPRelayServerConfig(MessageBufferConfiguration) - Constructor for class net.tomp2p.relay.tcp.buffered.BufferedTCPRelayServerConfig
 
bufferFlushed(List<Message>) - Method in class net.tomp2p.relay.buffer.BufferedRelayServer
 
bufferFlushed(List<T>) - Method in interface net.tomp2p.relay.buffer.MessageBufferListener
Notification when the buffer at the relay peer has been flushed manually (using MessageBuffer.flushNow().
bufferFull(List<Message>) - Method in class net.tomp2p.relay.buffer.BufferedRelayServer
 
bufferFull(List<T>) - Method in interface net.tomp2p.relay.buffer.MessageBufferListener
Notification when the buffer at the relay peer is full.
bufferRequestListener(BufferRequestListener) - Method in class net.tomp2p.nat.FutureRelayNAT
 
bufferRequestListener() - Method in class net.tomp2p.nat.FutureRelayNAT
 
BufferRequestListener - Interface in net.tomp2p.relay.buffer
 
bufferSizeLimit() - Method in class net.tomp2p.relay.buffer.MessageBufferConfiguration
The maximum size of the buffer content.
bufferSizeLimit(long) - Method in class net.tomp2p.relay.buffer.MessageBufferConfiguration
Configures the maximum size of the message buffer in bytes.
build(JPanel, LayoutManager, double, double, Color, int, boolean) - Static method in class net.tomp2p.holep.testapp.PanelSettings
 

C

channelRead0(ChannelHandlerContext, Message) - Method in class net.tomp2p.holep.DuplicatesHandler
 
clear() - Method in class net.tomp2p.relay.ConcurrentCacheSet
 
clearQueue() - Method in class net.tomp2p.natpmp.NatPmpDevice
Clears the queue of messages to send.
collectBufferedMessages() - Method in class net.tomp2p.relay.buffer.BufferedRelayServer
Retrieves the messages that are ready to send.
composeMessageBuffer(List<Message>, SignatureFactory) - Static method in class net.tomp2p.relay.RelayUtils
Composes all messages of a list into a single buffer object, ready to be transmitted over the network.
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
 
connectAndSend(Peer, Message) - Static method in class net.tomp2p.relay.RelayUtils
Opens a new peer connection to the receiver and sends the message through it.
contains(Object) - Method in class net.tomp2p.relay.ConcurrentCacheSet
 
containsAll(Collection<?>) - Method in class net.tomp2p.relay.ConcurrentCacheSet
 
createClient(PeerConnection, Peer) - Method in class net.tomp2p.relay.RelayClientConfig
Creates a client object
createClient(PeerConnection, Peer) - Method in class net.tomp2p.relay.tcp.buffered.BufferedTCPRelayClientConfig
 
createClient(PeerConnection, Peer) - Method in class net.tomp2p.relay.tcp.TCPRelayClientConfig
 
createResponse(Message, Message.Type, PeerAddress) - Method in class net.tomp2p.relay.RelayServerConfig
Helper method to create a response message
createServer(Message, PeerConnection, Responder, Peer) - Method in class net.tomp2p.relay.RelayServerConfig
Creates a new relay server for the unreachable peer that send the message.
createServer(Message, PeerConnection, Responder, Peer) - Method in class net.tomp2p.relay.tcp.buffered.BufferedTCPRelayServerConfig
 
createServer(Message, PeerConnection, Responder, Peer) - Method in class net.tomp2p.relay.tcp.TCPRelayServerConfig
 

D

decodeMessage(ByteBuf, InetSocketAddress, InetSocketAddress, SignatureFactory) - Static method in class net.tomp2p.relay.RelayUtils
Decodes a message which was encoded using {RelayUtils.encodeMessage(Message, SignatureFactory)}.
decodeRelayedMessage(ByteBuf, InetSocketAddress, InetSocketAddress, SignatureFactory) - Static method in class net.tomp2p.relay.RelayUtils
Basically does the same as MessageUtils#decodeMessage(Buffer, InetSocketAddress, InetSocketAddress, SignatureFactory), but in addition checks that the relay peers of the decoded message are set correctly
decodeString(Buffer) - Static method in class net.tomp2p.relay.RelayUtils
Decodes buffer containing a String
decomposeCompositeBuffer(ByteBuf, InetSocketAddress, InetSocketAddress, SignatureFactory) - Static method in class net.tomp2p.relay.RelayUtils
Decomposes a buffer containing multiple buffers into an (ordered) list of small buffers.
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, RelayClientConfig) - Constructor for class net.tomp2p.relay.DistributedRelay
 
done(PeerAddress, PeerAddress) - Method in class net.tomp2p.nat.FutureNAT
 
done(Shutdown) - Method in class net.tomp2p.nat.FutureRelayNAT
 
done() - Method in class net.tomp2p.nat.FutureRelayNAT
 
done(Collection<BaseRelayClient>) - Method in class net.tomp2p.relay.FutureRelay
 
DuplicatesHandler - Class in net.tomp2p.holep
 
DuplicatesHandler(Dispatcher) - Constructor for class net.tomp2p.holep.DuplicatesHandler
 

E

encodeMessage(Message, SignatureFactory) - Static method in class net.tomp2p.relay.RelayUtils
Encodes a message into a buffer, such that it can be used as a message payload (piggybacked), stored, etc.
encodeString(String) - Static method in class net.tomp2p.relay.RelayUtils
Encodes any String into a buffer to send it with a message
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.relay.RelayClientConfig
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.RelayClientConfig
 
flatten(List<Map<Number160, PeerStatistic>>) - Static method in class net.tomp2p.relay.RelayUtils
 
flushNow() - Method in class net.tomp2p.relay.buffer.MessageBuffer
Flush the buffer and notify the listeners
forwardToUnreachable(Message) - Method in class net.tomp2p.relay.BaseRelayServer
Forwards a message to the unrachable peer.
forwardToUnreachable(Message) - Method in class net.tomp2p.relay.buffer.BufferedRelayServer
 
forwardToUnreachable(Message) - Method in class net.tomp2p.relay.tcp.TCPRelayServer
 
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
 
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
 
gcmSendRetries() - Method in class net.tomp2p.relay.buffer.MessageBufferConfiguration
The number of retries to send the GCM message in case the Google Server fails.
gcmSendRetries(int) - Method in class net.tomp2p.relay.buffer.MessageBufferConfiguration
The number of retries to send a message over GCM to the mobile device.
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.
getGetNatPeerAddressButton() - Method in class net.tomp2p.holep.testapp.HolePTestView
 
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
 
getMessageSize(Message, SignatureFactory) - Static method in class net.tomp2p.relay.RelayUtils
Calculates the size of the message
getOtherPeerAddress() - Method in class net.tomp2p.holep.testapp.HolePTestApp
 
getPeerMap() - Method in class net.tomp2p.relay.BaseRelayServer
Returns the current peer map from the mobile device
getPortMappingLifetime() - Method in class net.tomp2p.natpmp.MapRequestMessage
Gets the assigned port mapping lifetime.
getPunchHoleButton() - Method in class net.tomp2p.holep.testapp.HolePTestView
 
getPunchHolePort() - Static method in class net.tomp2p.holep.testapp.HolePTestView
 
getPunchHolePort_text() - Static method in class net.tomp2p.holep.testapp.HolePTestView
 
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

handleBufferResponse(Message, FutureDone<Void>) - Method in class net.tomp2p.relay.buffer.BufferedMessageHandler
Takes the message containing the buffered messages.
handleHolePunch(ChannelCreator, int, FutureResponse, Message) - Method in class net.tomp2p.holep.HolePunchInitiatorImpl
 
handleResponse(Message, PeerConnection, boolean, Responder) - Method in class net.tomp2p.holep.HolePunchRPC
 
handleResponse(Message, PeerConnection, boolean, Responder) - Method in class net.tomp2p.relay.BaseRelayServer
Receive a message at the relay server from a given peer
handleResponse(Message, Responder) - Method in class net.tomp2p.relay.BaseRelayServer
Receive a message at the relay server from a given peer
handleResponse(Message, PeerConnection, boolean, Responder) - Method in class net.tomp2p.relay.RconRPC
This method is called from the Dispatcher and handles the reverse connection at each step.
handleResponse(Message, PeerConnection, boolean, Responder) - Method in class net.tomp2p.relay.RelayRPC
Receive a message at the relay server and the relay client
HolePStaticStorage - Class in net.tomp2p.holep.testapp
 
HolePTestApp - Class in net.tomp2p.holep.testapp
 
HolePTestApp() - Constructor for class net.tomp2p.holep.testapp.HolePTestApp
 
HolePTestController - Class in net.tomp2p.holep.testapp
 
HolePTestController(String, HolePTestApp) - Constructor for class net.tomp2p.holep.testapp.HolePTestController
 
HolePTestDriver - Class in net.tomp2p.holep.testapp
 
HolePTestDriver() - Constructor for class net.tomp2p.holep.testapp.HolePTestDriver
 
HolePTestView - Class in net.tomp2p.holep.testapp
 
HolePTestView(String) - Constructor for class net.tomp2p.holep.testapp.HolePTestView
 
HolePuncher - Class in net.tomp2p.holep
This is a generic class which is supposed to handle any hole punching procedure possible on a Peer.
HolePuncher(Peer, int, int, Message) - Constructor for class net.tomp2p.holep.HolePuncher
 
HolePunchInitiatorImpl - Class in net.tomp2p.holep
 
HolePunchInitiatorImpl(Peer) - Constructor for class net.tomp2p.holep.HolePunchInitiatorImpl
 
HolePunchRPC - Class in net.tomp2p.holep
 
HolePunchRPC(Peer) - Constructor for class net.tomp2p.holep.HolePunchRPC
 
HolePunchScheduler - Class in net.tomp2p.holep
This class is used as a Thread specifically for the HolePuncher.
HolePunchScheduler(int, HolePuncher) - Constructor for class net.tomp2p.holep.HolePunchScheduler
 

I

initiateHolePunch(ChannelCreator, FutureResponse) - Method in class net.tomp2p.holep.HolePuncher
 
instance() - Static method in class net.tomp2p.holep.testapp.HolePStaticStorage
 
isAlive() - Method in class net.tomp2p.relay.BaseRelayServer
Checks whether the relayed peer is still alive.
isAlive() - Method in class net.tomp2p.relay.tcp.buffered.BufferedTCPRelayServer
 
isAlive() - Method in class net.tomp2p.relay.tcp.TCPRelayServer
 
isEmpty() - Method in class net.tomp2p.relay.ConcurrentCacheSet
 
isManualPorts() - Method in class net.tomp2p.nat.PeerBuilderNAT
 
isManualPorts() - Method in class net.tomp2p.nat.PeerNAT
 
isRelayNotRequired() - Method in class net.tomp2p.relay.FutureRelay
 
isShutdown() - Method in class net.tomp2p.natpmp.NatPmpDevice
Flag indicates if this NatPmpDevice is shutdown.
isSlow() - Method in enum net.tomp2p.relay.RelayType
Returns whether this type is 'slow' or not.
iterator() - Method in class net.tomp2p.relay.ConcurrentCacheSet
 

K

keepConnectionOpen() - Method in enum net.tomp2p.relay.RelayType
Returns whether a peer connection should be kept open or not.

L

listeners - Variable in class net.tomp2p.relay.BaseRelayClient
 

M

main(String[]) - Static method in class net.tomp2p.holep.testapp.HolePTestDriver
 
manualPorts() - Method in class net.tomp2p.nat.PeerBuilderNAT
 
manualPorts(boolean) - Method in class net.tomp2p.nat.PeerBuilderNAT
 
manualRelays(Collection<PeerAddress>) - Method in class net.tomp2p.relay.RelayClientConfig
Set the relay list where the peer should connect to
manualRelays() - Method in class net.tomp2p.relay.RelayClientConfig
 
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.relay.RelayClientConfig
Defines how many times a setup with a relay can fail before it's ignored
maxFail() - Method in class net.tomp2p.relay.RelayClientConfig
 
maxRelayCount() - Method in enum net.tomp2p.relay.RelayType
Returns the maximum allowed number of relays.
Message - Class in net.tomp2p.natpmp
The message class manages a message that is being sent to a NAT-PMP gateway.
MessageBuffer<T> - Class in net.tomp2p.relay.buffer
Buffers messages for the unreachable peers.
MessageBuffer(MessageBufferConfiguration) - Constructor for class net.tomp2p.relay.buffer.MessageBuffer
Create a new buffer using the configuration
MessageBuffer(int, long, long) - Constructor for class net.tomp2p.relay.buffer.MessageBuffer
Create a new buffer with given limits
MessageBufferConfiguration - Class in net.tomp2p.relay.buffer
Configure multiple parameters of relay nodes being able to serve unreachable Android devices.
MessageBufferConfiguration() - Constructor for class net.tomp2p.relay.buffer.MessageBufferConfiguration
 
MessageBufferListener<T> - Interface in net.tomp2p.relay.buffer
 
MessageResponseInterface - Interface in net.tomp2p.natpmp
This interface defines methods that are used for message responses.

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.
natUtils() - Method in class net.tomp2p.nat.PeerNAT
 
net.tomp2p.holep - package net.tomp2p.holep
 
net.tomp2p.holep.testapp - package net.tomp2p.holep.testapp
 
net.tomp2p.nat - package net.tomp2p.nat
 
net.tomp2p.natpmp - package net.tomp2p.natpmp
 
net.tomp2p.relay - package net.tomp2p.relay
 
net.tomp2p.relay.buffer - package net.tomp2p.relay.buffer
 
net.tomp2p.relay.tcp - package net.tomp2p.relay.tcp
 
net.tomp2p.relay.tcp.buffered - package net.tomp2p.relay.tcp.buffered
 
noResponseReceived(Message) - Method in interface net.tomp2p.natpmp.MessageResponseInterface
No response was received.
nothingTodo() - Method in class net.tomp2p.relay.FutureRelay
 
notifyCloseListeners() - Method in class net.tomp2p.relay.BaseRelayClient
Call this to notify all listeners attached by BaseRelayClient.addCloseListener(RelayListener)
notifyOfflineListeners() - Method in class net.tomp2p.relay.BaseRelayServer
 

O

OfflineListener - Interface in net.tomp2p.relay
 
onBufferCollected() - Method in class net.tomp2p.relay.buffer.BufferedRelayServer
Called when the buffer has been collected by the unreachable peer
onBufferCollected() - Method in class net.tomp2p.relay.tcp.buffered.BufferedTCPRelayServer
 
onBufferFull() - Method in class net.tomp2p.relay.buffer.BufferedRelayServer
Called when the buffer is full and has been triggered.
onBufferFull() - Method in class net.tomp2p.relay.tcp.buffered.BufferedTCPRelayServer
 
onMapUpdateFailed() - Method in class net.tomp2p.relay.BaseRelayClient
Is called when the PeerMapUpdateTask failed to send the new map.
onMapUpdateFailed() - Method in class net.tomp2p.relay.tcp.buffered.BufferedTCPRelayClient
 
onMapUpdateFailed() - Method in class net.tomp2p.relay.tcp.TCPRelayClient
 
onMapUpdateSuccess() - Method in class net.tomp2p.relay.BaseRelayClient
Is called when the PeerMapUpdateTask successfully sent the map to the relay peer.
onMapUpdateSuccess() - Method in class net.tomp2p.relay.tcp.buffered.BufferedTCPRelayClient
 
onMapUpdateSuccess() - Method in class net.tomp2p.relay.tcp.TCPRelayClient
 
onReceiveMessageBuffer(Message, FutureDone<Void>) - Method in class net.tomp2p.relay.buffer.BufferedRelayClient
 
onUnreachableOffline(PeerAddress, BaseRelayServer) - Method in interface net.tomp2p.relay.OfflineListener
Is called when the BaseRelayServer detects that the unreachable peer is now offline.
onUnreachableOffline(PeerAddress, BaseRelayServer) - Method in class net.tomp2p.relay.RelayRPC
 

P

PanelSettings - Class in net.tomp2p.holep.testapp
 
PanelSettings() - Constructor for class net.tomp2p.holep.testapp.PanelSettings
 
peer() - Method in class net.tomp2p.nat.PeerNAT
 
peer - Variable in class net.tomp2p.relay.buffer.BufferedRelayClient
 
peer() - Method in class net.tomp2p.relay.RelayRPC
 
peerAddress() - Method in class net.tomp2p.nat.FutureNAT
The peerAddress where we are reachable.
peerAdresses() - Static method in class net.tomp2p.holep.testapp.HolePStaticStorage
 
PeerBuilderNAT - Class in net.tomp2p.nat
 
PeerBuilderNAT(Peer) - Constructor for class net.tomp2p.nat.PeerBuilderNAT
 
peerFailed(PeerAddress, PeerException) - Method in class net.tomp2p.relay.BaseRelayServer
 
peerFound(PeerAddress, PeerAddress, PeerConnection, RTT) - Method in class net.tomp2p.relay.BaseRelayServer
 
peerMapUpdated(Message, Message) - Method in class net.tomp2p.relay.BaseRelayServer
Is called when the unreachable peer sent an update to the relay peer.
peerMapUpdated(Message, Message) - Method in class net.tomp2p.relay.buffer.BufferedRelayServer
 
peerMapUpdated(Message, Message) - Method in class net.tomp2p.relay.tcp.TCPRelayServer
 
peerMapUpdateInterval() - Method in class net.tomp2p.relay.RelayClientConfig
Get the peer map update interval in seconds
peerMapUpdateInterval(int) - Method in class net.tomp2p.relay.RelayClientConfig
Defines the time interval (in seconds) of sending the peer map of the unreachable peer to its relays.
PeerMapUpdateTask - Class in net.tomp2p.relay
The PeerMapUpdateTask is responsible for periodically sending the unreachable peer's PeerMap to its relays.
PeerMapUpdateTask(RelayRPC, BootstrapBuilder, DistributedRelay) - Constructor for class net.tomp2p.relay.PeerMapUpdateTask
Create a new peer map update task.
PeerNAT - Class in net.tomp2p.nat
 
PeerNAT(Peer, NATUtils, RelayRPC, boolean) - Constructor for class net.tomp2p.nat.PeerNAT
 
prepareMapUpdateMessage(Message) - Method in class net.tomp2p.relay.RelayClientConfig
Gives the opportunity to add more data to the map update message.
prepareMapUpdateMessage(Message) - Method in class net.tomp2p.relay.tcp.buffered.BufferedTCPRelayClientConfig
 
prepareMapUpdateMessage(Message) - Method in class net.tomp2p.relay.tcp.TCPRelayClientConfig
 
prepareSetupMessage(Message) - Method in class net.tomp2p.relay.RelayClientConfig
Gives the opportunity to add more data to the setup message which is sent from the unreachable peer to the relay peer.
prepareSetupMessage(Message) - Method in class net.tomp2p.relay.tcp.buffered.BufferedTCPRelayClientConfig
 
prepareSetupMessage(Message) - Method in class net.tomp2p.relay.tcp.TCPRelayClientConfig
 

R

RconRPC - Class in net.tomp2p.relay
This RPC handles two things.
RconRPC(Peer) - Constructor for class net.tomp2p.relay.RconRPC
 
relayAddress() - Method in class net.tomp2p.relay.BaseRelayClient
 
RelayClientConfig - Class in net.tomp2p.relay
Holds multiple relay types with their configuration
RelayClientConfig(RelayType, int, int, int) - Constructor for class net.tomp2p.relay.RelayClientConfig
 
relayClients() - Method in class net.tomp2p.relay.DistributedRelay
Returns connections to current relay peers
relayConfig() - Method in class net.tomp2p.relay.DistributedRelay
 
relayFailed(PeerAddress) - Method in interface net.tomp2p.relay.RelayListener
 
RelayListener - Interface in net.tomp2p.relay
 
relayPeerId() - Method in class net.tomp2p.relay.BaseRelayServer
 
relayRPC() - Method in class net.tomp2p.nat.PeerNAT
 
RelayRPC - Class in net.tomp2p.relay
 
RelayRPC(Peer, RconRPC, HolePunchRPC, Map<RelayType, RelayServerConfig>) - Constructor for class net.tomp2p.relay.RelayRPC
Register the RelayRPC.
relays() - Method in class net.tomp2p.relay.FutureRelay
 
RelayServerConfig - Class in net.tomp2p.relay
 
RelayServerConfig() - Constructor for class net.tomp2p.relay.RelayServerConfig
 
relayServerConfigurations() - Method in class net.tomp2p.nat.PeerBuilderNAT
 
relayServerConfigurations(Map<RelayType, RelayServerConfig>) - Method in class net.tomp2p.nat.PeerBuilderNAT
Set all relay server configurations
RelayType - Enum in net.tomp2p.relay
 
RelayUtils - Class in net.tomp2p.relay
 
remove(Object) - Method in class net.tomp2p.relay.ConcurrentCacheSet
 
removeAll(Collection<?>) - Method in class net.tomp2p.relay.ConcurrentCacheSet
 
removeClient(BaseRelayClient) - Method in class net.tomp2p.relay.RelayRPC
Remove a client from the list
replyHolePunch() - Method in class net.tomp2p.holep.HolePuncher
 
reporter() - Method in class net.tomp2p.nat.FutureNAT
 
reporter(PeerAddress) - 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
 
run() - Method in class net.tomp2p.holep.HolePunchScheduler
 
run() - Method in class net.tomp2p.relay.PeerMapUpdateTask
 

S

send(PeerConnection, PeerBean, ConnectionBean, Message) - Static method in class net.tomp2p.relay.RelayUtils
Send a Message from one Peer to another Peer internally.
sendBufferRequest() - Method in class net.tomp2p.relay.buffer.BufferedRelayClient
Send a request to the relay peer to obtain the buffer.
sendBufferRequest(String) - Method in interface net.tomp2p.relay.buffer.BufferRequestListener
Call this if the buffer should be obtained from a relay peer.
sendBufferRequest(String) - Method in class net.tomp2p.relay.DistributedRelay
 
sendBufferRequest() - Method in class net.tomp2p.relay.tcp.buffered.BufferedTCPRelayClient
 
sendDirectMessage() - Method in class net.tomp2p.holep.testapp.HolePTestApp
 
sendHolePMessage(int) - Method in class net.tomp2p.holep.testapp.HolePTestApp
 
sendToRelay(Message) - Method in class net.tomp2p.relay.BaseRelayClient
 
sendToRelay(Message) - Method in class net.tomp2p.relay.tcp.buffered.BufferedTCPRelayClient
 
sendToRelay(Message) - Method in class net.tomp2p.relay.tcp.TCPRelayClient
 
setPeerMap(List<Map<Number160, PeerStatistic>>, Message, Message) - Method in class net.tomp2p.relay.BaseRelayServer
Update the peerMap of the unreachable peer
setupPortforwarding(String, Ports) - 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).
setupRelays(FutureRelay) - 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.BaseRelayClient
 
shutdown() - Method in class net.tomp2p.relay.DistributedRelay
 
shutdown() - Method in class net.tomp2p.relay.tcp.buffered.BufferedTCPRelayClient
 
shutdown() - Method in class net.tomp2p.relay.tcp.TCPRelayClient
 
size() - Method in class net.tomp2p.relay.ConcurrentCacheSet
 
start() - Method in class net.tomp2p.nat.PeerBuilderNAT
 
start(Peer) - Method in class net.tomp2p.relay.RelayServerConfig
Called when the PeerNAT is started.
start(Peer) - Method in class net.tomp2p.relay.tcp.buffered.BufferedTCPRelayServerConfig
 
start(Peer) - Method in class net.tomp2p.relay.tcp.TCPRelayServerConfig
 
startMasterPeer() - Method in class net.tomp2p.holep.testapp.HolePTestApp
 
startNATPeer(String[]) - Method in class net.tomp2p.holep.testapp.HolePTestApp
 
startNormalPeer(String[]) - Method in class net.tomp2p.holep.testapp.HolePTestApp
 
startRelay(RelayClientConfig, PeerAddress) - Method in class net.tomp2p.nat.PeerNAT
 
startRelay(RelayClientConfig, BootstrapBuilder) - Method in class net.tomp2p.nat.PeerNAT
 
startRelay(RelayClientConfig, FutureDiscover) - Method in class net.tomp2p.nat.PeerNAT
 
startRelay(RelayClientConfig, FutureDiscover, FutureNAT) - Method in class net.tomp2p.nat.PeerNAT
 
startSetupPortforwarding(FutureDiscover) - Method in class net.tomp2p.nat.PeerNAT
 
startSetupPortforwarding(FutureDiscover, DiscoverBuilder) - Method in class net.tomp2p.nat.PeerNAT
Setup UPNP or NATPMP port forwarding.
startSetupRcon(PeerAddress, PeerAddress) - Method in class net.tomp2p.nat.PeerNAT
This Method creates a PeerConnection to an unreachable (behind a NAT) peer using an active relay of the unreachable peer.

T

TCPRelayClient - Class in net.tomp2p.relay.tcp
 
TCPRelayClient(PeerConnection, Peer) - Constructor for class net.tomp2p.relay.tcp.TCPRelayClient
 
TCPRelayClientConfig - Class in net.tomp2p.relay.tcp
 
TCPRelayClientConfig() - Constructor for class net.tomp2p.relay.tcp.TCPRelayClientConfig
Creates a TCP relay configuration
TCPRelayServer - Class in net.tomp2p.relay.tcp
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.
TCPRelayServer(PeerConnection, Peer) - Constructor for class net.tomp2p.relay.tcp.TCPRelayServer
 
TCPRelayServerConfig - Class in net.tomp2p.relay.tcp
 
TCPRelayServerConfig() - Constructor for class net.tomp2p.relay.tcp.TCPRelayServerConfig
 
toArray() - Method in class net.tomp2p.relay.ConcurrentCacheSet
 
toArray(T[]) - Method in class net.tomp2p.relay.ConcurrentCacheSet
 
toString() - Method in class net.tomp2p.relay.buffer.MessageBufferConfiguration
 
toString() - Method in class net.tomp2p.relay.ConcurrentCacheSet
 
toString() - Method in class net.tomp2p.relay.RelayClientConfig
 
tryConnect() - Method in class net.tomp2p.holep.HolePuncher
This methods is only called by a HolePunchScheduler.
type() - Method in class net.tomp2p.relay.RelayClientConfig
 

U

unflatten(Collection<PeerAddress>, PeerAddress) - Static method in class net.tomp2p.relay.RelayUtils
 
unreachablePeerAddress() - Method in class net.tomp2p.relay.BaseRelayServer
 
unreachablePeerId() - Method in class net.tomp2p.relay.BaseRelayServer
 
unreachablePeers() - Method in class net.tomp2p.relay.RelayRPC
 

V

valueOf(String) - Static method in enum net.tomp2p.natpmp.ResultCode
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum net.tomp2p.relay.RelayType
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.
values() - Static method in enum net.tomp2p.relay.RelayType
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 K L M N O P R S T U V W 

Copyright © 2015. All rights reserved.