CopaServer
Change of Plan Application
 All Classes Functions Pages
Public Member Functions | Static Public Attributes | List of all members
unicopa.copa.server.gcm.GoogleCloudMessagingService Class Reference

With the GoogleCloudMessagingSerive it is possible to send push messages to Android devices. More...

Collaboration diagram for unicopa.copa.server.gcm.GoogleCloudMessagingService:
Collaboration graph

Public Member Functions

 GoogleCloudMessagingService (CopaSystemContext context)
 Creates an object of GoogleCloudMessagingService. More...
 
void notify (Set< String > gcmKeys, String msg)
 Send Push-messages to Android devices. More...
 

Static Public Attributes

static final Logger LOG
 

Detailed Description

With the GoogleCloudMessagingSerive it is possible to send push messages to Android devices.

Author
Philip Wendland

Constructor & Destructor Documentation

unicopa.copa.server.gcm.GoogleCloudMessagingService.GoogleCloudMessagingService ( CopaSystemContext  context)

Creates an object of GoogleCloudMessagingService.

Note: You have to provide configuration in /gcm/googleCloudMessaging.properties for the GoogleCloudMessagingService to work.

Member Function Documentation

void unicopa.copa.server.gcm.GoogleCloudMessagingService.notify ( Set< String >  gcmKeys,
String  msg 
)

Send Push-messages to Android devices.

Parameters
gcmKeysthe keys to identify the recipients
msg

Member Data Documentation

final Logger unicopa.copa.server.gcm.GoogleCloudMessagingService.LOG
static
Initial value:
= Logger
.getLogger(GoogleCloudMessagingService.class.getName())

The documentation for this class was generated from the following file: