AeroGear SimplePush Server Protocol 0.11.0

org.jboss.aerogear.simplepush.protocol.impl
Class AckMessageImpl

java.lang.Object
  extended by org.jboss.aerogear.simplepush.protocol.impl.AckMessageImpl
All Implemented Interfaces:
AckMessage, MessageType

public class AckMessageImpl
extends Object
implements AckMessage


Nested Class Summary
 
Nested classes/interfaces inherited from interface org.jboss.aerogear.simplepush.protocol.MessageType
MessageType.Type
 
Field Summary
 
Fields inherited from interface org.jboss.aerogear.simplepush.protocol.AckMessage
UPDATES_FIELD, VERSION_FIELD
 
Fields inherited from interface org.jboss.aerogear.simplepush.protocol.MessageType
MESSSAGE_TYPE_FIELD
 
Constructor Summary
AckMessageImpl(Set<Ack> acks)
           
 
Method Summary
 Set<Ack> getAcks()
          Returns the channel ids that have been acknowledged by UserAgent
 MessageType.Type getMessageType()
          Returns the Type of this message.
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

AckMessageImpl

public AckMessageImpl(Set<Ack> acks)
Method Detail

getMessageType

public MessageType.Type getMessageType()
Description copied from interface: MessageType
Returns the Type of this message.

Specified by:
getMessageType in interface MessageType
Returns:
Type the MessageType.Type of this message.

getAcks

public Set<Ack> getAcks()
Description copied from interface: AckMessage
Returns the channel ids that have been acknowledged by UserAgent

Specified by:
getAcks in interface AckMessage
Returns:
Set<Channel> the channels that have been acknowledged.

toString

public String toString()
Overrides:
toString in class Object

AeroGear SimplePush Server Protocol 0.11.0

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