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