public class RemoteGCMSender extends Object implements IGCMSender
| Constructor and Description |
|---|
RemoteGCMSender(net.tomp2p.p2p.Peer peer,
Collection<net.tomp2p.peers.PeerAddress> gcmServers) |
| Modifier and Type | Method and Description |
|---|---|
void |
gcmServers(Collection<net.tomp2p.peers.PeerAddress> gcmServers)
Update the gcm servers
|
void |
send(FutureGCM futureGCM)
Tickle the device through Google Cloud Messaging
|
public RemoteGCMSender(net.tomp2p.p2p.Peer peer,
Collection<net.tomp2p.peers.PeerAddress> gcmServers)
public void send(FutureGCM futureGCM)
IGCMSendersend in interface IGCMSenderfutureGCM - the tickle request containing also the buffered messagespublic void gcmServers(Collection<net.tomp2p.peers.PeerAddress> gcmServers)
Copyright © 2015. All rights reserved.