AeroGear SimplePush Server Protocol 0.11.0

org.jboss.aerogear.simplepush.protocol
Interface NotificationMessage

All Superinterfaces:
MessageType
All Known Implementing Classes:
NotificationMessageImpl

public interface NotificationMessage
extends MessageType

Represents the Notification message, 'notification' messageType, in the SimplePush specification protocol.

A notification message is sent from the SimplePush Server to the UserAgent, and contains the channel ids that have had their versions updated.


Nested Class Summary
 
Nested classes/interfaces inherited from interface org.jboss.aerogear.simplepush.protocol.MessageType
MessageType.Type
 
Field Summary
static String UPDATES_FIELD
          The name of the updates JSON field.
static String VERSION_FIELD
          The name of the version JSON field.
 
Fields inherited from interface org.jboss.aerogear.simplepush.protocol.MessageType
MESSSAGE_TYPE_FIELD
 
Method Summary
 Set<Ack> getAcks()
          Returns the set channel ids that have been updated for a UserAgent
 
Methods inherited from interface org.jboss.aerogear.simplepush.protocol.MessageType
getMessageType
 

Field Detail

UPDATES_FIELD

static final String UPDATES_FIELD
The name of the updates JSON field.

See Also:
Constant Field Values

VERSION_FIELD

static final String VERSION_FIELD
The name of the version JSON field.

See Also:
Constant Field Values
Method Detail

getAcks

Set<Ack> getAcks()
Returns the set channel ids that have been updated for a UserAgent

Returns:
Set<Channel> the channels that have been updated.

AeroGear SimplePush Server Protocol 0.11.0

Copyright © 2014 JBoss by Red Hat. All Rights Reserved.