AeroGear SimplePush Server Protocol 0.11.0

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

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

public class NotificationMessageImpl
extends Object
implements NotificationMessage


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.NotificationMessage
UPDATES_FIELD, VERSION_FIELD
 
Fields inherited from interface org.jboss.aerogear.simplepush.protocol.MessageType
MESSSAGE_TYPE_FIELD
 
Constructor Summary
NotificationMessageImpl(Ack ack)
           
NotificationMessageImpl(Set<Ack> acks)
           
 
Method Summary
 Set<Ack> getAcks()
          Returns the set channel ids that have been updated for a 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

NotificationMessageImpl

public NotificationMessageImpl(Ack ack)

NotificationMessageImpl

public NotificationMessageImpl(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: NotificationMessage
Returns the set channel ids that have been updated for a UserAgent

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

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.