AeroGear SimplePush Server Protocol 0.11.0

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

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

public class HelloResponseImpl
extends Object
implements HelloResponse


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.HelloResponse
UAID_FIELD
 
Fields inherited from interface org.jboss.aerogear.simplepush.protocol.MessageType
MESSSAGE_TYPE_FIELD
 
Constructor Summary
HelloResponseImpl(String uaid)
           
 
Method Summary
 MessageType.Type getMessageType()
          Returns the Type of this message.
 String getUAID()
          A globally unique identifier for a UserAgent created by the SimplePush Server.
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

HelloResponseImpl

public HelloResponseImpl(String uaid)
Method Detail

getUAID

public String getUAID()
Description copied from interface: HelloResponse
A globally unique identifier for a UserAgent created by the SimplePush Server.

Specified by:
getUAID in interface HelloResponse
Returns:
String a globally unique id for a UserAgent, or an empty String if the UserAgent has not been assigned a uaid yet or wants to reset it, which will create a new one.

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.

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.