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.
|
Method Summary |
Set<Ack> |
getAcks()
Returns the set channel ids that have been updated for a UserAgent |
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
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.
Copyright © 2014 JBoss by Red Hat. All Rights Reserved.