org.jboss.aerogear.simplepush.protocol.impl
Class HelloResponseImpl
java.lang.Object
org.jboss.aerogear.simplepush.protocol.impl.HelloResponseImpl
- All Implemented Interfaces:
- HelloResponse, MessageType
public class HelloResponseImpl
- extends Object
- implements HelloResponse
HelloResponseImpl
public HelloResponseImpl(String uaid)
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
Copyright © 2014 JBoss by Red Hat. All Rights Reserved.