org.jboss.aerogear.simplepush.protocol
Interface AckMessage
- All Superinterfaces:
- MessageType
- All Known Implementing Classes:
- AckMessageImpl
public interface AckMessage
- extends MessageType
Represents the acknowledgement message, 'ack' message type, in the
SimplePush specification protocol.
An ack message is sent from the UserAgent to the SimplePush Server. This will be done after the SimplePush Server
has sent one or more notifications to the UserAgent. The 'ack' message contains the channel ids that the UserAgent
has processed and is hence acknowledging.
|
Method Summary |
Set<Ack> |
getAcks()
Returns the channel ids that have been acknowledged by 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 channel ids that have been acknowledged by UserAgent
- Returns:
Set<Channel> the channels that have been acknowledged.
Copyright © 2014 JBoss by Red Hat. All Rights Reserved.