JavaScript is disabled on your browser.
Overview
Package
Class
Use
Tree
Deprecated
Index
Help
Prev
Next
Frames
No Frames
All Classes
A
C
F
G
H
I
N
O
P
R
S
A
AndroidRelayClient
- Class in
net.tomp2p.relay.android
When an Android device is behind a NAT, this class Holds a connection to one relay.
AndroidRelayClient(PeerAddress, Peer)
- Constructor for class net.tomp2p.relay.android.
AndroidRelayClient
AndroidRelayClientConfig
- Class in
net.tomp2p.relay.android
AndroidRelayClientConfig(String)
- Constructor for class net.tomp2p.relay.android.
AndroidRelayClientConfig
Creates an Android relay configuration.
AndroidRelayClientConfig(String, int)
- Constructor for class net.tomp2p.relay.android.
AndroidRelayClientConfig
AndroidRelayServer
- Class in
net.tomp2p.relay.android
Manages the mapping between a peer address and the registration id.
AndroidRelayServer(Peer, PeerAddress, MessageBufferConfiguration, String, IGCMSender, int)
- Constructor for class net.tomp2p.relay.android.
AndroidRelayServer
AndroidRelayServerConfig
- Class in
net.tomp2p.relay.android
AndroidRelayServerConfig(String, int, MessageBufferConfiguration)
- Constructor for class net.tomp2p.relay.android.
AndroidRelayServerConfig
Creates an Android relay server configuration that is able to send GCM messages itself
AndroidRelayServerConfig(MessageBufferConfiguration)
- Constructor for class net.tomp2p.relay.android.
AndroidRelayServerConfig
Creates an Android relay server config that is
not
able to send GCM messages itself.
C
createClient(PeerConnection, Peer)
- Method in class net.tomp2p.relay.android.
AndroidRelayClientConfig
createServer(Message, PeerConnection, Responder, Peer)
- Method in class net.tomp2p.relay.android.
AndroidRelayServerConfig
F
FutureGCM
- Class in
net.tomp2p.relay.android.gcm
FutureGCM(String, Number160, PeerAddress)
- Constructor for class net.tomp2p.relay.android.gcm.
FutureGCM
G
gcmSender
- Variable in class net.tomp2p.relay.android.
AndroidRelayServerConfig
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
gcmServers()
- Method in class net.tomp2p.relay.android.
AndroidRelayClientConfig
gcmServers(Set<PeerAddress>)
- Method in class net.tomp2p.relay.android.
AndroidRelayClientConfig
Defines well-known peers that have the ability to send messages over Google Cloud Messaging.
gcmServers(Collection<PeerAddress>)
- Method in class net.tomp2p.relay.android.gcm.
RemoteGCMSender
Update the gcm servers
H
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.
I
IGCMSender
- Interface in
net.tomp2p.relay.android.gcm
isAlive()
- Method in class net.tomp2p.relay.android.
AndroidRelayServer
N
net.tomp2p.relay.android
- package net.tomp2p.relay.android
net.tomp2p.relay.android.gcm
- package net.tomp2p.relay.android.gcm
O
onBufferCollected()
- Method in class net.tomp2p.relay.android.
AndroidRelayServer
onBufferFull()
- Method in class net.tomp2p.relay.android.
AndroidRelayServer
onMapUpdateFailed()
- Method in class net.tomp2p.relay.android.
AndroidRelayClient
onMapUpdateSuccess()
- Method in class net.tomp2p.relay.android.
AndroidRelayClient
P
peerMapUpdated(Message, Message)
- Method in class net.tomp2p.relay.android.
AndroidRelayServer
prepareMapUpdateMessage(Message)
- Method in class net.tomp2p.relay.android.
AndroidRelayClientConfig
prepareSetupMessage(Message)
- Method in class net.tomp2p.relay.android.
AndroidRelayClientConfig
R
recipient()
- Method in class net.tomp2p.relay.android.gcm.
FutureGCM
The unreachable peer receiving the GCM
registrationId()
- Method in class net.tomp2p.relay.android.
AndroidRelayClientConfig
Only used for
RelayClientConfig#ANDROID
registrationId()
- Method in class net.tomp2p.relay.android.gcm.
FutureGCM
The recipient
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, Collection<PeerAddress>)
- Constructor for class net.tomp2p.relay.android.gcm.
RemoteGCMSender
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
sendBufferRequest()
- Method in class net.tomp2p.relay.android.
AndroidRelayClient
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.
AndroidRelayClient
shutdown()
- Method in class net.tomp2p.relay.android.
AndroidRelayClient
start(Peer)
- Method in class net.tomp2p.relay.android.
AndroidRelayServerConfig
A
C
F
G
H
I
N
O
P
R
S
Overview
Package
Class
Use
Tree
Deprecated
Index
Help
Prev
Next
Frames
No Frames
All Classes
Copyright © 2015. All rights reserved.