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
 
addBufferListener(MessageBufferListener<Message>) - Method in class net.tomp2p.relay.android.AndroidForwarderRPC
 
addCloseListener(RelayListener) - Method in class net.tomp2p.relay.BaseRelayConnection
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.android.MessageBuffer
 
addManualRelay(PeerAddress) - Method in class net.tomp2p.relay.RelayConfig
Add a relay to the relays list
addMessage(T, long) - Method in class net.tomp2p.relay.android.MessageBuffer
Add an encoded message to the buffer
addRelayListener(RelayListener) - Method in class net.tomp2p.relay.DistributedRelay
 
Android(String) - Static method in class net.tomp2p.relay.RelayConfig
Creates an Android relay configuration.
Android(String, MessageBufferConfiguration) - Static method in class net.tomp2p.relay.RelayConfig
Creates an Android relay configuration having a buffer for received GCM messages.
AndroidForwarderRPC - Class in net.tomp2p.relay.android
Manages the mapping between a peer address and the registration id.
AndroidForwarderRPC(Peer, PeerAddress, MessageBufferConfiguration, String, IGCMSender, int) - Constructor for class net.tomp2p.relay.android.AndroidForwarderRPC
 
AndroidRelayConnection - Class in net.tomp2p.relay.android
When an Android device is behind a NAT, this class Holds a connection to one relay.
AndroidRelayConnection(PeerAddress, DispatchHandler, Peer, ConnectionConfiguration) - Constructor for class net.tomp2p.relay.android.AndroidRelayConnection
 

B

BaseRelayConnection - Class in net.tomp2p.relay
Every firewalled peer has one or multiple relay servers.
BaseRelayConnection(PeerAddress) - Constructor for class net.tomp2p.relay.BaseRelayConnection
 
BaseRelayForwarderRPC - Class in net.tomp2p.relay
Abstract class that provides the basic functionality to handle relay requests at the relay server.
BaseRelayForwarderRPC(Peer, PeerAddress, RelayType) - Constructor for class net.tomp2p.relay.BaseRelayForwarderRPC
 
buffer() - Method in class net.tomp2p.relay.android.gcm.FutureGCM
The buffered messages (not sent over GCM)
bufferAgeLimit() - Method in class net.tomp2p.relay.android.MessageBufferConfiguration
The maximum age of the oldest object in the buffer in milliseconds
bufferAgeLimit(long) - Method in class net.tomp2p.relay.android.MessageBufferConfiguration
Configures the maximum age of the first message in the buffer.
bufferConfiguration() - Method in class net.tomp2p.nat.PeerBuilderNAT
 
bufferConfiguration(MessageBufferConfiguration) - Method in class net.tomp2p.nat.PeerBuilderNAT
Set the android relay buffer configuration.
bufferConfiguration() - Method in class net.tomp2p.relay.RelayConfig
Only used for RelayConfig#ANDROID
bufferCountLimit() - Method in class net.tomp2p.relay.android.MessageBufferConfiguration
The maximum number of messages in the buffer.
bufferCountLimit(int) - Method in class net.tomp2p.relay.android.MessageBufferConfiguration
Configures the maximal number of messages in the buffer.
BufferedMessageHandler - Class in net.tomp2p.relay.android
 
BufferedMessageHandler(Peer, ConnectionConfiguration) - Constructor for class net.tomp2p.relay.android.BufferedMessageHandler
 
bufferFull(List<Message>) - Method in class net.tomp2p.relay.android.AndroidForwarderRPC
 
bufferFull(List<T>) - Method in interface net.tomp2p.relay.android.MessageBufferListener
Notification when the buffer at the relay peer is full.
bufferSizeLimit() - Method in class net.tomp2p.relay.android.MessageBufferConfiguration
The maximum size of the buffer content.
bufferSizeLimit(long) - Method in class net.tomp2p.relay.android.MessageBufferConfiguration
Configures the maximum size of the message buffer in bytes.

C

changeGCMServers(Collection<PeerAddress>) - Method in class net.tomp2p.relay.android.AndroidForwarderRPC
 
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.android.AndroidForwarderRPC
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, ConnectionConfiguration) - 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
 

D

decodeMessage(Buffer, InetSocketAddress, InetSocketAddress, SignatureFactory) - Static method in class net.tomp2p.relay.RelayUtils
Decodes a message which was encoded using {RelayUtils.encodeMessage(Message, SignatureFactory)}.
decodeRelayedMessage(Buffer, 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, ConnectionConfiguration, RelayConfig) - 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<BaseRelayConnection>) - Method in class net.tomp2p.relay.FutureRelay
 

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.RelayConfig
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.RelayConfig
 
flatten(List<Map<Number160, PeerStatistic>>) - Static method in class net.tomp2p.relay.RelayUtils
 
forwardToUnreachable(Message) - Method in class net.tomp2p.relay.android.AndroidForwarderRPC
 
forwardToUnreachable(Message) - Method in class net.tomp2p.relay.BaseRelayForwarderRPC
Forwards a message to the unrachable peer.
forwardToUnreachable(Message) - Method in class net.tomp2p.relay.tcp.OpenTCPForwarderRPC
 
FutureGCM - Class in net.tomp2p.relay.android.gcm
 
FutureGCM(List<Message>, String, Number160) - Constructor for class net.tomp2p.relay.android.gcm.FutureGCM
 
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
 
gcmAuthenticationKey(String) - Method in class net.tomp2p.nat.PeerBuilderNAT
Set the authentication key, which is used by relay peers to send messages to RelayConfig#ANDROID devices.
gcmAuthenticationKey() - Method in class net.tomp2p.nat.PeerBuilderNAT
 
gcmMessageHandler(GCMMessageHandler) - Method in class net.tomp2p.nat.FutureRelayNAT
 
gcmMessageHandler() - Method in class net.tomp2p.nat.FutureRelayNAT
Handles GCM messages when they arrive.
GCMMessageHandler - Interface in net.tomp2p.relay.android.gcm
 
GCMSenderRPC - Class in net.tomp2p.relay.android.gcm
This RPC is dedicated to send messages over Google Cloud Messaging.
GCMSenderRPC(Peer, String, int) - Constructor for class net.tomp2p.relay.android.gcm.GCMSenderRPC
 
gcmSendRetries() - Method in class net.tomp2p.nat.PeerBuilderNAT
Only used for RelayConfig#ANDROID and if this peer should act as a relay for android devices.
gcmSendRetries(int) - Method in class net.tomp2p.nat.PeerBuilderNAT
Only used for RelayConfig#ANDROID and if this peer should act as a relay for android devices.
gcmSendRetries() - Method in class net.tomp2p.relay.android.MessageBufferConfiguration
The number of retries to send the GCM message in case the Google Server fails.
gcmSendRetries(int) - Method in class net.tomp2p.relay.android.MessageBufferConfiguration
The number of retries to send a message over GCM to the mobile device.
gcmServers(Collection<PeerAddress>) - Method in class net.tomp2p.relay.android.gcm.RemoteGCMSender
Update the gcm servers
gcmServers() - Method in class net.tomp2p.relay.RelayConfig
Only used for RelayConfig#ANDROID
gcmServers(Set<PeerAddress>) - Method in class net.tomp2p.relay.RelayConfig
Only used for RelayConfig#ANDROID
Defines well-known peers that have the ability to send messages over Google Cloud Messaging.
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
 
getMessageSize(Message, SignatureFactory) - Static method in class net.tomp2p.relay.RelayUtils
Calculates the size of the message
getPeerMap() - Method in class net.tomp2p.relay.BaseRelayForwarderRPC
Returns the current peer map from the mobile device
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

handleBufferResponse(Message, FutureDone<Void>) - Method in class net.tomp2p.relay.android.BufferedMessageHandler
Takes the message containing the buffered messages.
handleResponse(Message, PeerConnection, boolean, Responder) - Method in class net.tomp2p.relay.android.gcm.GCMSenderRPC
This method is called from the Dispatcher and handles GCM requests REQUEST_1 = forward the GCM request to the mobile device.
handleResponse(Message, PeerConnection, boolean, Responder) - Method in class net.tomp2p.relay.BaseRelayForwarderRPC
Receive a message at the relay server from a given peer
handleResponse(Message, Responder) - Method in class net.tomp2p.relay.BaseRelayForwarderRPC
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

I

IGCMSender - Interface in net.tomp2p.relay.android.gcm
 
isAlive() - Method in class net.tomp2p.relay.android.AndroidForwarderRPC
 
isAlive() - Method in class net.tomp2p.relay.BaseRelayForwarderRPC
Checks whether the relayed peer is still alive.
isAlive() - Method in class net.tomp2p.relay.tcp.OpenTCPForwarderRPC
 
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.BaseRelayConnection
 

M

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.RelayConfig
Set the relay list where the peer should connect to
manualRelays() - Method in class net.tomp2p.relay.RelayConfig
 
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.RelayConfig
Defines how many times a setup with a relay can fail before it's ignored
maxFail() - Method in class net.tomp2p.relay.RelayConfig
 
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.android
Buffers messages for the unreachable peers.
MessageBuffer(MessageBufferConfiguration) - Constructor for class net.tomp2p.relay.android.MessageBuffer
Create a new buffer using the configuration
MessageBuffer(int, long, long) - Constructor for class net.tomp2p.relay.android.MessageBuffer
Create a new buffer with given limits
MessageBufferConfiguration - Class in net.tomp2p.relay.android
Configure multiple parameters of relay nodes being able to serve unreachable Android devices.
MessageBufferConfiguration() - Constructor for class net.tomp2p.relay.android.MessageBufferConfiguration
 
MessageBufferListener<T> - Interface in net.tomp2p.relay.android
 
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.nat - package net.tomp2p.nat
 
net.tomp2p.natpmp - package net.tomp2p.natpmp
 
net.tomp2p.relay - package net.tomp2p.relay
 
net.tomp2p.relay.android - package net.tomp2p.relay.android
 
net.tomp2p.relay.android.gcm - package net.tomp2p.relay.android.gcm
 
net.tomp2p.relay.tcp - package net.tomp2p.relay.tcp
 
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.BaseRelayConnection
Call this to notify all listeners attached by BaseRelayConnection.addCloseListener(RelayListener)

O

onGCMMessageArrival(String) - Method in interface net.tomp2p.relay.android.gcm.GCMMessageHandler
Call this when a GCM message arrives
onGCMMessageArrival(String) - Method in class net.tomp2p.relay.DistributedRelay
 
onMapUpdateFailed() - Method in class net.tomp2p.relay.android.AndroidRelayConnection
 
onMapUpdateFailed() - Method in class net.tomp2p.relay.BaseRelayConnection
Is called when the PeerMapUpdateTask failed to send the new map.
onMapUpdateFailed() - Method in class net.tomp2p.relay.tcp.OpenTCPRelayConnection
 
onMapUpdateSuccess() - Method in class net.tomp2p.relay.android.AndroidRelayConnection
 
onMapUpdateSuccess() - Method in class net.tomp2p.relay.BaseRelayConnection
Is called when the PeerMapUpdateTask successfully sent the map to the relay peer.
onMapUpdateSuccess() - Method in class net.tomp2p.relay.tcp.OpenTCPRelayConnection
 
OpenTCP() - Static method in class net.tomp2p.relay.RelayConfig
Creates a TCP relay configuration
OpenTCPForwarderRPC - 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.
OpenTCPForwarderRPC(PeerConnection, Peer, ConnectionConfiguration) - Constructor for class net.tomp2p.relay.tcp.OpenTCPForwarderRPC
 
OpenTCPRelayConnection - Class in net.tomp2p.relay.tcp
 
OpenTCPRelayConnection(PeerConnection, Peer, ConnectionConfiguration) - Constructor for class net.tomp2p.relay.tcp.OpenTCPRelayConnection
 

P

peer() - Method in class net.tomp2p.nat.PeerNAT
 
peer() - Method in class net.tomp2p.relay.RelayRPC
 
peerAddress() - Method in class net.tomp2p.nat.FutureNAT
The peerAddress where we are reachable.
PeerBuilderNAT - Class in net.tomp2p.nat
 
PeerBuilderNAT(Peer) - Constructor for class net.tomp2p.nat.PeerBuilderNAT
 
peerFailed(PeerAddress, PeerException) - Method in class net.tomp2p.relay.BaseRelayForwarderRPC
 
peerFound(PeerAddress, PeerAddress, PeerConnection) - Method in class net.tomp2p.relay.BaseRelayForwarderRPC
 
peerMapUpdated() - Method in class net.tomp2p.relay.android.AndroidForwarderRPC
 
peerMapUpdated() - Method in class net.tomp2p.relay.BaseRelayForwarderRPC
Is called when the unreachable peer sent an update to the relay peer
peerMapUpdated() - Method in class net.tomp2p.relay.tcp.OpenTCPForwarderRPC
 
peerMapUpdateInterval() - Method in class net.tomp2p.relay.RelayConfig
Get the peer map update interval
peerMapUpdateInterval(int) - Method in class net.tomp2p.relay.RelayConfig
Defines the time interval 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, ConnectionConfiguration) - Constructor for class net.tomp2p.nat.PeerNAT
 

R

RconRPC - Class in net.tomp2p.relay
This RPC handles two things.
RconRPC(Peer) - Constructor for class net.tomp2p.relay.RconRPC
 
registrationId() - Method in class net.tomp2p.relay.android.gcm.FutureGCM
The recipient
registrationId() - Method in class net.tomp2p.relay.RelayConfig
Only used for RelayConfig#ANDROID
relayAddress() - Method in class net.tomp2p.relay.BaseRelayConnection
 
relayConfig() - Method in class net.tomp2p.relay.DistributedRelay
 
RelayConfig - Class in net.tomp2p.relay
Holds multiple relay types with their configuration
relayFailed(PeerAddress) - Method in interface net.tomp2p.relay.RelayListener
 
RelayListener - Interface in net.tomp2p.relay
 
relayPeerId() - Method in class net.tomp2p.relay.BaseRelayForwarderRPC
 
relayRPC() - Method in class net.tomp2p.nat.PeerNAT
 
RelayRPC - Class in net.tomp2p.relay
 
RelayRPC(Peer, RconRPC, IGCMSender, MessageBufferConfiguration, ConnectionConfiguration) - Constructor for class net.tomp2p.relay.RelayRPC
Register the RelayRPC.
relays() - Method in class net.tomp2p.relay.DistributedRelay
Returns connections to current relay peers
relays() - Method in class net.tomp2p.relay.FutureRelay
 
RelayType - Enum in net.tomp2p.relay
 
RelayUtils - Class in net.tomp2p.relay
 
RemoteGCMSender - Class in net.tomp2p.relay.android.gcm
Send GCM messages to other well-known peers (direct messages) which then send it to the Google Cloud Messaging servers.
RemoteGCMSender(Peer, DispatchHandler, ConnectionConfiguration, Collection<PeerAddress>) - Constructor for class net.tomp2p.relay.android.gcm.RemoteGCMSender
 
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
 
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.relay.PeerMapUpdateTask
 

S

send(FutureGCM) - Method in class net.tomp2p.relay.android.gcm.GCMSenderRPC
 
send(FutureGCM) - Method in interface net.tomp2p.relay.android.gcm.IGCMSender
Tickle the device through Google Cloud Messaging
send(FutureGCM) - Method in class net.tomp2p.relay.android.gcm.RemoteGCMSender
 
send(PeerConnection, PeerBean, ConnectionBean, ConnectionConfiguration, 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.android.AndroidRelayConnection
Get the buffer from the relay.
senderId() - Method in class net.tomp2p.relay.android.gcm.FutureGCM
The relay that sent the GCM request (where the messages are buffered)
sendToRelay(Message) - Method in class net.tomp2p.relay.android.AndroidRelayConnection
 
sendToRelay(Message) - Method in class net.tomp2p.relay.BaseRelayConnection
 
sendToRelay(Message) - Method in class net.tomp2p.relay.tcp.OpenTCPRelayConnection
 
setPeerMap(List<Map<Number160, PeerStatistic>>) - Method in class net.tomp2p.relay.BaseRelayForwarderRPC
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.android.AndroidRelayConnection
 
shutdown() - Method in class net.tomp2p.relay.BaseRelayConnection
 
shutdown() - Method in class net.tomp2p.relay.DistributedRelay
 
shutdown() - Method in class net.tomp2p.relay.tcp.OpenTCPRelayConnection
 
size() - Method in class net.tomp2p.relay.ConcurrentCacheSet
 
start() - Method in class net.tomp2p.nat.PeerBuilderNAT
 
startRelay(RelayConfig, PeerAddress) - Method in class net.tomp2p.nat.PeerNAT
 
startRelay(RelayConfig, BootstrapBuilder) - Method in class net.tomp2p.nat.PeerNAT
 
startRelay(RelayConfig, FutureDiscover) - Method in class net.tomp2p.nat.PeerNAT
 
startRelay(RelayConfig, FutureDiscover, FutureNAT) - Method in class net.tomp2p.nat.PeerNAT
 
startSetupPortforwarding(FutureDiscover) - 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

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
 
toString() - Method in class net.tomp2p.relay.RelayConfig
 
type() - Method in class net.tomp2p.relay.RelayConfig
 

U

unflatten(Collection<PeerAddress>, PeerAddress) - Static method in class net.tomp2p.relay.RelayUtils
 
unreachablePeerAddress() - Method in class net.tomp2p.relay.BaseRelayForwarderRPC
 
unreachablePeerId() - Method in class net.tomp2p.relay.BaseRelayForwarderRPC
 
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 © 2014. All rights reserved.