AeroGear SimplePush Server Protocol 0.11.0

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.


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 channel ids that have been acknowledged by 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 channel ids that have been acknowledged by UserAgent

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

AeroGear SimplePush Server Protocol 0.11.0

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