- 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.